# \[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:** 65

<div class="post-metadata">

**Author:** ![Chris\_nl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/chris_nl/32/27194_2.png) [@Chris\_nl](https://community.homey.app/u/Chris_nl)\
**Post date:** [August 7, 2024, 1:27pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1286 "2024-08-07T13:27:58Z")

</div>

Yeah it’s the login screen from Switchbot, I know you don’t control that, but maybe there would be ways around it, for example, if they have multiple authentication servers etc.

Sent Switchbot a message as well, no response yet.

Just to be 100% sure (and have tried both), login is the e-mail and password that you use on the iOS Switchbot app right?

**UPDATE** Got it resolved, your comment about case sensitivity triggered me to just try different versions of the username, and one of them did work. Although in the Switchbot app my email doesn’t have any caps. So apparently the email is the app is changed to lowercase, even though the account in the database has uppercase letters?! 🤪

Hope this helps other users with the same issues too, @NGH

@Adrian_Rockall thanks for your help 👍

---

<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:** [August 7, 2024, 2:04pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1287 "2024-08-07T14:04:19Z")

</div>

You are not the first to be caught by that and I’m sure you won’t be the last 😊

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ben/32/12538_2.png) [@Ben](https://community.homey.app/u/Ben)\
**Post date:** [August 7, 2024, 2:28pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1288 "2024-08-07T14:28:48Z")

</div>

Hi Adrian can you tell where i can find this i searched everywhere

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [August 7, 2024, 2:53pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1289 "2024-08-07T14:53:16Z")

</div>

Aaaah allright thanks. However, I saw that Athom has added a lot of new product classes. Maybe that give some new possibilities.

---

<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:** [August 7, 2024, 3:43pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1290 "2024-08-07T15:43:44Z")

</div>

It’s describe at the top of this topic.

---

<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:** [August 7, 2024, 3:51pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1291 "2024-08-07T15:51:09Z")

</div>

The class has no affect on the the controls as they are all defined by the capabilities. The app uses the `windowcoverings_set` capability which has the controls you see.  
The available controls are shown in the developer documents [Capabilities | Homey Apps SDK](https://apps.developer.homey.app/the-basics/devices/capabilities#ui-components).

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [August 7, 2024, 4:58pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1292 "2024-08-07T16:58:04Z")

</div>

Aaaah I get it. Thanks. In that case, I will make feature request to Athom. I think it will be a lot more intuitive as a curtain can be controlled as a curtain.

Cheers!

---

<div class="post-metadata">

**Author:** ![Bernd\_Gaykema](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bernd_gaykema/32/112153_2.png) [@Bernd\_Gaykema](https://community.homey.app/u/Bernd_Gaykema)\
**Post date:** [August 11, 2024, 10:23am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1293 "2024-08-11T10:23:14Z")

</div>

Hi Adrian,  
I have the ESP32-board (your 2nd advice) up and running with your latest bin-file loaded (method 2). Latest = downloaded on August 9.

It is working very good if it works …  
It seems that the ESP32 crashes within a day after a reboot (power off - on). The curtains closes at night but never opens in the morning until I reset the board.

I did an OTA with you latest bin file but no improvements.

Is there someting I can do to overcome this problem?  
I was thinking of adding a clock-switch for the power supply (5V-1A) which reboot the ESP32 board every 6 hours…

Your help is highly appreciated.

---

<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:** [August 11, 2024, 10:51am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1294 "2024-08-11T10:51:25Z")

</div>

One of the the libraries is consuming memory, but I can’t see why.  
The latest firmware should automatically reboot the ESP32 when the memory gets low, which only takes a few seconds, so it shouldn’t be noticeable.

---

<div class="post-metadata">

**Author:** ![Bernd\_Gaykema](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bernd_gaykema/32/112153_2.png) [@Bernd\_Gaykema](https://community.homey.app/u/Bernd_Gaykema)\
**Post date:** [August 11, 2024, 12:44pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1295 "2024-08-11T12:44:25Z")

</div>

I know, you wrote that earlier. In my case it doesn’t solve this. I have 2 other ESP32 dev modules loaded with your firmware and will fire them up. See what happens if one module crashes and the other(s) are still working. Keep you posted.

---

<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:** [August 11, 2024, 4:44pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1296 "2024-08-11T16:44:13Z")

</div>

Oops, it seems I forgot to publish my last update. The one you have resets if a memory allocation fails, but that can be outside of my code (in a library), which stops the system running my loop.  
My latest version checks if the largest free memory block is less than 20000 and then resets, which should mean it resets before a failure can occur.  
The new binary is in GitHub now.

---

<div class="post-metadata">

**Author:** ![Bernd\_Gaykema](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bernd_gaykema/32/112153_2.png) [@Bernd\_Gaykema](https://community.homey.app/u/Bernd_Gaykema)\
**Post date:** [August 12, 2024, 1:41pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1297 "2024-08-12T13:41:16Z")

</div>

I OTA the ESP32 and it looks that the problem has disappeared. Flashed last night and I can still move the curtains 18 hours later…  
Thanks a lot !

---

<div class="post-metadata">

**Author:** ![Bernd\_Gaykema](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bernd_gaykema/32/112153_2.png) [@Bernd\_Gaykema](https://community.homey.app/u/Bernd_Gaykema)\
**Post date:** [August 12, 2024, 6:12pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1298 "2024-08-12T18:12:46Z")

</div>

Well, I was too early with my statement. 22 hours after flashen the updated bin file the ESP32 DEVKITV1 stopped again.  
When I try to open the webpage for that device it doesn’t open.

A 2nd ESP32-device is still visible for the webbrowser but the list of devices is empty.

Is there a way I can dump a log file for you to dig into?

---

<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:** [August 12, 2024, 6:17pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1299 "2024-08-12T18:17:59Z")

</div>

The only way to get a log is to connect it to a computer with a terminal program running so you can capture the serial port output. But you need the connection to permanently monitor the output as it doesn’t store it anywhere.

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ben/32/12538_2.png) [@Ben](https://community.homey.app/u/Ben)\
**Post date:** [August 14, 2024, 10:42am UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1300 "2024-08-14T10:42:58Z")

</div>

Hi there. I installed the new firmware from switchbot and now the curtains working again. No error code 190

---

<div class="post-metadata">

**Author:** ![Bernd\_Gaykema](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bernd_gaykema/32/112153_2.png) [@Bernd\_Gaykema](https://community.homey.app/u/Bernd_Gaykema)\
**Post date:** [August 14, 2024, 2:40pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1301 "2024-08-14T14:40:26Z")

</div>

I sent you a log file, generated by the SwitchBot app. The curtain “Werkkamer” was not going open. I did reset Homey Pro, netwerk router, restart the app: no result. You can see that Homey was in contact with the curtain but was not capable of opening the curtain.  
Then I reset the ESP32 (version 2.1, which was still reachable by it’s IP-address and showed many SwitchBot devives) and BINGO, it worked.

There is still something wrong with your firmware for the ESP32 hub, I think.

Maybe not related: I also see more failed commands for 433 MHz stuff. This one-way KAKU stuff used to work rather reliable but since two week or so isn’t anymore.

---

<div class="post-metadata">

**Author:** ![NGH](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ngh/32/33100_2.png) [@NGH](https://community.homey.app/u/NGH)\
**Post date:** [August 14, 2024, 2:46pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1302 "2024-08-14T14:46:14Z")

</div>

Hey Chris and @all

Unforunately, neither upper nor lower case changed anything.

BUT: I deleted my account (you have to wait one day so it gets deleted) since I didn’t have many devices there anyways.

Now I recreated one through the window Homey opens to log in after clicking on the “plus” and selecting switchbot and a device.  
At the bottom of this window, you can register a new account. Activated it and THEN, it worked although I had to reregister my devices then, of course.

Apparently, registering an account at switchbot website is NOT the same as registering an account through the Homey page. The switchbot app doesn’t care, but Homey-addon does!

Seems like they use different servers that are not neccessarily synced or whatever.

---

<div class="post-metadata">

**Author:** ![Etienne\_Cointet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/etienne_cointet/32/21061_2.png) [@Etienne\_Cointet](https://community.homey.app/u/Etienne_Cointet)\
**Post date:** [August 16, 2024, 8:56pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1303 "2024-08-16T20:56:10Z")

</div>

Hi! The app doesn’t work with google authentication anymore. Since the new 1.1.58 version.

Invalid\_grant

I tried to repair and get the message attached.

 ![IMG_3829](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/1/b13c15a5d75a4d20c9a8774cf06e4e55ad56c90a.jpeg)

Thanks for helping !

---

<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:** [August 16, 2024, 9:03pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1304 "2024-08-16T21:03:45Z")

</div>

This is a known issue with the SwitchBot authentication system. I have reported it to SwitchBot several times but had no response.  
The only solution is to create a new account with a username and password and transfer your devices to that.  
Please complain to SwitchBot about it as maybe they will listen if enough user report it.

---

<div class="post-metadata">

**Author:** ![Etienne\_Cointet](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/etienne_cointet/32/21061_2.png) [@Etienne\_Cointet](https://community.homey.app/u/Etienne_Cointet)\
**Post date:** [August 16, 2024, 9:18pm UTC](https://community.homey.app/t/app-cloud-pro-switchbot-release-2-0-87-test-2-0-96/42296/1305 "2024-08-16T21:18:00Z")

</div>

Thanks for the quick reply @Adrian_Rockall !  
I did create a new account, re-paired my bot, and now it works 🙂

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

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