OpenWonderLabs / SwitchBotAPI

SwitchBot Open API Documents
856 stars 70 forks source link

API Connection Issue #309

Open GittyUpSam opened 4 months ago

GittyUpSam commented 4 months ago

Current Situation

I am using Homey Pro to control my SwitchBot devices. I have two SwitchBot switches that are frequently / permanently having "Failed to connect device" errors. Within Homey, it thinks it successfully connected to the Bot, but the Bot does not take any action. I tried resetting Cloud Services. I have not tried fully deleting and re-adding the device.

IMG_4466

Logs

I can't find the Wiki page on how to do this. See screenshot.

Configuration

Homey Pro
iOS current

Environment

Additional Context

No response

AdyRock commented 3 months ago

Could you ensure the Bot is within range of a hub. One way to do this is to use the SwitchBot mobile app but make sure you turn of the Bluetooth on the phone first as the app will try to connect locally via Bluetooth first. If you can still control it with the SwitchBot phone app, then it is probably connected via a hub. If the connection fails then try putting the hub closer to the Bot and wait for a minute to allow the connection to stabilise, then try to control it again. I have had a few Homey users reporting that a device works OK with the SwitchBot phone app but not with Homey as they didn't know the app uses the phones BLE first.