[APP][Cloud & Pro] SwitchBot (Release 2.0.14, Test 2.0.17)

I’m still getting a lot of these:

  • 2025-02-21T06:51:38.632Z
    !!! Curtains getHubDeviceValues: 190: Too Many Requests (1668) API calls

Is there a limitation for how many requests you can do a day? Or does that have nothing to do with it.

The limit should be 10000 per day, and the app should ensure that’s not exceeded, but I have also been getting the same error.
I have reported this to my contact so hopefully they will be looking into it.
However, the limit is per account, so if you have another system also accessing it, that can use up the quota.

The number in brackets shows how many API calls have been made today by the Homey app.

1 Like

I cannot pair device :frowning: It just hangs on login screen but Switchbot app registers a new login.
Probably related to previously mentioned rate limiting issue?

If you have a Homey Pro, can you open the app settings page and check the Information Log to see if it shows any errors?
Also try using the web app as sometimes Homey does get stuck for some reason (general issue not related to this app)

Error: No OAuth2 Client Found
This is the last message I saw
But it appeared when I cancelled pairing after 15m

Ok, so that’s not unexpected.
Have you tried the web app to see if you get any further in that?

Yes, both ways
Thanks for your input. Will try to debug it more. Very strange that despite an error it still “spins” loader.

Maybe try rebooting Homey.

Is it possible to make this also for the meter pro CO2?

Got the same error “no new device found” and an empty device ID field. Version is experimental 2.0.18. Same problem with the official App Store version.

  "deviceName": "Meter Pro (CO2-Monitor) ED",
  "deviceType": "MeterPro(CO2)",
  "enableCloudService": true,
  "hubDeviceId": ""

I have a problem with installing a switchbot bot in to homey.

I have installed the latest version of the switchbot app on Homey.

I have a hub mini
2x curtain 3 (that will connect to homey)
1x switchbot bot that would not connect to homey.

I can control the bot true the hub (tested it with wifi and Bluetooth of on my phone)
But when i look in the hub and call the hub devices i see this with the hub.

deviceId": “D2C7C6464A7F”,
“deviceName”: “Bot 7F”,
“deviceType”: “Bot”,
“enableCloudService”: false,
“hubDeviceId”: “”

How do i get it to work)

Thank you! :slight_smile:
Now the CO2 Meter can be connected.
:bright_button::heart_eyes:

Hi,

I just bought the Switchbot hub mini and thought I’ve read somewhere that it can be added as device in the Homey Pro.
But when I want to add it, I see a list of several Switchbot products, but not the mini. I see two other hubs (BLE and Hub) But that does not work.

If there is no way to add this I may want to return this device and buy something with can be added tot Home Pro early 2023

Anyone?

I don’t think you can add the hub itself, but you can add devices attached to it.

If you want to add it as an IR blaster, you can add an IR appliance in the hub which will then be visible to Homey.

Andy

Support

Having an issue with this app? Contact the developer here.

As @Andy_Henderson said, the hub mini itself has nothing to add, but any remotes that have been configured in the SwitchBot mobile app can be added as remote devices in Homey and any SwitchBot devices connected to the hub can be added.

What in particular did you expect from the hub, so I can better understand?

Thanks for all replies. I really understand what you say, it is the same as for example adding a bulb to Philips Hue, but I was confused because when I try to add a switchbot hub device other hubs also stood in de list. I tried to add other things but that did not work But suprisingly an update of the switchbot app was added yesterday evening and now it works ok. I added a remote light and now I can create flows for my candles

regards,
Peter

I can see the confusion, but the (hub) part means the device connection is via a hub. The other option is (BLE) where the device connection is directly to Homey via the BLE protocol.

thanks! :+1:

Hi @Adrian_Rockall , I have been using your ESP32 BLE Hub solution for several months now. I am just controlling one device (Curtains 3), which works really well.

I do run into one issue: every 2 to 3 weeks the ESP32 BLE hub stops controlling the curtains.
I think it is the Bluetooth part of your hub software that has crashed, because when this situation occurs:

  • The device is still available in the Homey app;
  • The SwitchBot app for Homey, is still running and working normally;
  • The logs in the SwitchBot app for Homey do not report any errors;
  • I am able to access the web interface of the ESP32 BLE hub.

So all seems to be working except the Bluetooth functionality of the hub.

I can temporarily solve the issue by restarting the ESP32, after it works fine again for 2-3 weeks.

On your SwitchBot BLE Hub GitHub page you indicate that your software is using v2.0.0 of the NimBLE-Arduino library. I noticed that the creator of that library has issues several updates to this library on its GitHub page with many fixes, also for crashes.

Could bugs in the version of this BLE library used in your hub software be the cause of this behavior? If so would it be possible for you to update the hub software with the latest NimBLE-Arduino library? Or maybe you have other ideas on what you be the cause of this issue.

I will look into it this evening.