# \[APP\]\[Cloud & Pro\] SwitchBot (Release 2.0.87, Test 2.0.96)

**URL:** <https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296>\
**Category:** Apps\
**Tags:** app\
**Created:** [February 2, 2021, 7:31pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296 "2021-02-02T19:31:36Z")\
**Posts on this page:** 20\
**Page:** 35

<div class="post-metadata">

**Author:** ![B3rt](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/b3rt/32/9435_2.png) [@B3rt](https://community.homey.app/u/B3rt)\
**Post date:** [January 29, 2023, 4:54pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/683 "2023-01-29T16:54:12Z")

</div>

@Adrian_Rockall  
Did you read my message?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [January 29, 2023, 5:20pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/684 "2023-01-29T17:20:34Z")

</div>

I have read your message but not had any time to investigate.  
Do you know what might have changed since it was last working?  
Homey BLE is quite slow as it is only allowed to poll every 30 seconds and the hub can only make one request about every 20 seconds, so if you have 2 devices that’s every 40 seconds, etc.  
However, I don’t know why commands should suddenly stop working.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [February 1, 2023, 4:44pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/685 "2023-02-01T16:44:27Z")

</div>

Good news, SwitchBot have confirmed the next refresh of the login token will last one year instead of one month. Still not perfect but much better.

---

<div class="post-metadata">

**Author:** ![MarcoV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcov/32/12410_2.png) [@MarcoV](https://community.homey.app/u/MarcoV)\
**Post date:** [February 3, 2023, 3:35pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/686 "2023-02-03T15:35:58Z")

</div>

Goodday  
Since a couple off days switchbot is not working anymore , and give a error oauth id error.

Seems like the api key is not presebt anymore , just create a new api key ,but the key field in homey settings is not their any more.

Any idea ?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [February 3, 2023, 5:52pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/687 "2023-02-03T17:52:18Z")

</div>

Try using the repair option on one of your devices. In the web app that’s available on the right click menu for a device and in the Homey phone app you get it from the cog in the top right corner of the device and then the Maintenance item.

---

<div class="post-metadata">

**Author:** ![MarcoV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcov/32/12410_2.png) [@MarcoV](https://community.homey.app/u/MarcoV)\
**Post date:** [February 3, 2023, 6:42pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/688 "2023-02-03T18:42:25Z")

</div>

Completly uninstalled , newly installation and then the app is asking for username , pww. After providing those it works again. Strange

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [February 3, 2023, 8:16pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/689 "2023-02-03T20:16:24Z")

</div>

I think Switchbot are disabling the old method of authentication. I didn’t force users to change over when I added the new method last year, so I guess I’ll be seeing more issues like this coming up. However, using the repair option should have performed the same process that you went through but without the uninstall / reinstall steps.

---

<div class="post-metadata">

**Author:** ![MarcoV](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcov/32/12410_2.png) [@MarcoV](https://community.homey.app/u/MarcoV)\
**Post date:** [February 3, 2023, 8:31pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/690 "2023-02-03T20:31:59Z")

</div>

I agree the new methode is better than the old one.  
But i cant find the api key input field in homey apps

Did i missed something ?

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [February 3, 2023, 8:37pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/691 "2023-02-03T20:37:35Z")

</div>

You haven’t missed anything, I removed the field when the new method was added as the old method was depreciated. I just didn’t force users to update when the app update.

---

<div class="post-metadata">

**Author:** ![Guillaume\_MONJEAN](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/guillaume_monjean/32/16492_2.png) [@Guillaume\_MONJEAN](https://community.homey.app/u/Guillaume_MONJEAN)\
**Post date:** [February 8, 2023, 1:13pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/692 "2023-02-08T13:13:39Z")

</div>

Hello, I have always the same error when I log in with my username and password. On the switchbot connection applet, I am well connected with my account but when I return to homey, I have the error: invalid response code 190.  
I do not know what to do?  
thank you  
Guillaume MONJEAN

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [February 8, 2023, 1:35pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/693 "2023-02-08T13:35:47Z")

</div>

Could you send me the log from the Configure App screen so I can see what is making the error message.

---

<div class="post-metadata">

**Author:** ![Guillaume\_MONJEAN](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/guillaume_monjean/32/16492_2.png) [@Guillaume\_MONJEAN](https://community.homey.app/u/Guillaume_MONJEAN)\
**Post date:** [February 8, 2023, 7:00pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/694 "2023-02-08T19:00:59Z")

</div>

good evening, I just sent the log. THANKS

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [February 8, 2023, 8:45pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/695 "2023-02-08T20:45:41Z")

</div>

Sorry, nothing helpful in that one. Could you change the log setting to Full Information, then restart the app and send the log again after a few minutes.

---

<div class="post-metadata">

**Author:** ![Guillaume\_MONJEAN](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/guillaume_monjean/32/16492_2.png) [@Guillaume\_MONJEAN](https://community.homey.app/u/Guillaume_MONJEAN)\
**Post date:** [February 12, 2023, 10:02am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/696 "2023-02-12T10:02:28Z")

</div>

hello, I have just carried out the requested manipulations and sent the log. THANKS.  
Guillaume

Envoyé de mon mobile

-------- Message d’origine --------

---

<div class="post-metadata">

**Author:** ![RobinS](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@RobinS](https://community.homey.app/u/RobinS)\
**Post date:** [February 14, 2023, 7:26pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/697 "2023-02-14T19:26:08Z")

</div>

Hello,

Since 2 days, the app is saying. Missing token.  
What can i do to fix this? Is it needed to add the devices as a new one?

Thanks,

Robin

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [February 14, 2023, 7:29pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/698 "2023-02-14T19:29:14Z")

</div>

No, only the token has expired.

- Go to a device
- Repair device
- Log in to Switchbot with your credentials

Done

---

<div class="post-metadata">

**Author:** ![RobinS](https://avatars.discourse-cdn.com/v4/letter/r/d26b3c/32.png) [@RobinS](https://community.homey.app/u/RobinS)\
**Post date:** [February 14, 2023, 7:37pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/699 "2023-02-14T19:37:46Z")

</div>

Thanks!! @Undertaker

---

<div class="post-metadata">

**Author:** ![Hycken](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hycken/32/33966_2.png) [@Hycken](https://community.homey.app/u/Hycken)\
**Post date:** [February 17, 2023, 12:02pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/700 "2023-02-17T12:02:03Z")

</div>

So were can I find the the API TOKEN field.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/7/c74b117ee3bef974e7ac77c13b4cc9a7c7de4849.jpeg)

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [February 17, 2023, 12:13pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/701 "2023-02-17T12:13:45Z")

</div>

It is not used in the new version as Switchbot now required OAUTH2 login. So, when you add a device you will be directed to a Switchbot web page where you enter your username and password. If that is validated by Switchbot, the required keys are passed back to the app.

---

<div class="post-metadata">

**Author:** ![Hycken](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hycken/32/33966_2.png) [@Hycken](https://community.homey.app/u/Hycken)\
**Post date:** [February 17, 2023, 1:19pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/702 "2023-02-17T13:19:37Z")

</div>

Got it, thx

[Previous page](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296.md?page=34)

[Next page](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296.md?page=36)
