# Warning: Set device name with HOOP broken - Athom has changed CLI authentication code+secret

**URL:** <https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145>\
**Category:** Devices\
**Tags:** app, homey-pro\
**Created:** [May 25, 2023, 7:26pm UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145 "2023-05-25T19:26:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [May 25, 2023, 7:26pm UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/1 "2023-05-25T19:26:14Z")

</div>

**Edit: My first assumption here that the update to 8.1.4 was the reason is wrong. The reason for the broken function is explained below in the threat.**

This is a warning to user who use this feature of the HOOP App with a Homey version before v8.1.4:

I use the HOOP app to change device names dynamically very often.

It worked perfectly, but since I installed Homey version 8.1.4. the device names no longer change.

A test of the Set card results in the following error:

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/b/2ba0f36875ae346358f0cfde61cbc34789597587.png)

To be clear: This is not a criticism of the HOOP app!

Because I did not change anything else it seems to be a problem in combination with v8.1.4.

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 25, 2023, 10:08pm UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/2 "2023-05-25T22:08:34Z")

</div>

Perhaps this has something todo with it:

> [@Https://api.athom.com/oauth2/token failed, reason: read ECONNRESET](https://community.homey.app/t/https-api-athom-com-oauth2-token-failed-reason-read-econnreset/81123):
>
> Is there anyone who can help me. When I try to log in to my Homey Pro in NodeJS everything looks normal, but when I enter NodeJS again I see the following error message: request to [https://api.athom.com/oauth2/token](https://api.athom.com/oauth2/token) failed, reason: read ECONNRESET. I had the same error last week, then I deleted and reinstalled the Homey SDK. This doesn’t help now. The screen in the web browser when logging in says that everything is fine, but the token that is returned seems to be rejected.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 26, 2023, 12:41am UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/3 "2023-05-26T00:41:30Z")

</div>

I’m sorry, but it also happens with my Homey on firmware v8.1.3 ?  
I think you got your conclusions a bit too quick 😊

> [@H.O.O.P. (Hope) - Homey Object Oriented Programming](https://community.homey.app/t/h-o-o-p-hope-homey-object-oriented-programming/43709/166):
>
> I just installed HOOP and I can’t enter a AVD’s name, there’s no dropdown list (when it should appear that is), and the same error pops up.
> 
> ![Screenshot from 2023-05-25 22-48-35](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/e/6e114507be5826bee9de8e8b9408247bd80328d9.png)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 26, 2023, 5:25am UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/4 "2023-05-26T05:25:56Z")

</div>

Yeah, athom has changed there CLI authentication code and secret, so it aint working at the moment 😉

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [May 26, 2023, 5:37am UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/5 "2023-05-26T05:37:49Z")

</div>

> [@Arie\_J\_Godschalk](#):
>
> athom has changed there CLI authentication code and secret

There was a reason for that:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/5/5589742b8ae8e7e3ee8ff30e7ca204cf2676c254.png)

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [May 26, 2023, 5:48am UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/6 "2023-05-26T05:48:51Z")

</div>

> [@robertklep](#):
>
> There was a reason for that:

Yeah i know, but that wasn’t hoop, since Arhom knew very well i was using the CLI authentication (during login once), and rejected that from the store. But they specificly said i was allowed publish the app somewhere else (like the HCS).  
Also, i only used CLI during setup, after that, hoop only uses the athom-api.

---

<div class="post-metadata">

**Author:** ![Joka](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joka](https://community.homey.app/u/Joka)\
**Post date:** [May 26, 2023, 6:23am UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/7 "2023-05-26T06:23:18Z")

</div>

> [@Peter\_Kawa](#):
>
> I’m sorry, but it also happens with my Homey on firmware v8.1.3 ?

I have changed the title and my first statement so that no one is misled.

But good to know that the update is not the reason.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 26, 2023, 1:03pm UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/8 "2023-05-26T13:03:57Z")

</div>

> [@robertklep](#):
>
> There was a reason for that:

Yeah, and Athom concluded this should’ve been the main reason

> [@Homey Community App Store](https://community.homey.app/t/homey-community-app-store/29865/292):
>
> To clarify Athom pointed to the HCS as the cause. There has not been any changes to the hcs app recently. So I cannot comment on if the hcs was really the cause.
> 
> If it indeed was the hcs app then I am sorry, however, I have asked multiple times for (api) keys the hcs could use. This all could have been prevented easily. If only they put their money where their mouth was.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [May 26, 2023, 3:41pm UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/9 "2023-05-26T15:41:41Z")

</div>

I wasn’t implying that HOOP was the reason, apologies if it looked like I was 😅

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [May 26, 2023, 11:59pm UTC](https://community.homey.app/t/warning-set-device-name-with-hoop-broken-athom-has-changed-cli-authentication-code-secret/81145/10 "2023-05-26T23:59:28Z")

</div>

Hi Robert, you weren’t indeed, but while Athom already made clear what was causing the issue according to them, I just wanted to point that out 😬
