AdyRock / com.switchbot

GNU General Public License v3.0
11 stars 6 forks source link

No support for Thermometer and Hygrometer Plus #121

Closed ronaldotto closed 4 months ago

ronaldotto commented 4 months ago

I think the device is to new?

When adding the Thermometer and Hygrometer Plus to homey, i can select temperature and humidity BLE and HUB.

afbeelding

With BLE, nothing is detected With hub, i get the following error: afbeelding

AdyRock commented 4 months ago

How do you log into your SwitchBot account?

ronaldotto commented 4 months ago

I use e-mail and password. After inspecting some logs, it does seem to be an authentication issue. In the Homey app there is no way to re-authenticate (as far as i could see) Removing and re-installing gave me the option to authenticate. Deleting all devices from the Homey, but that were only a few.

AdyRock commented 4 months ago

Each SwitchBot device has a repair option. Running that will reauthenticate for all the devices. Sorry it's a bit late now, but ready for next time. FYI, the token expires after 1 year, so you will need to do it again.

ronaldotto commented 4 months ago

Thanks!. This thread might help others. So that is why i put invalid_grant in the subject. Since no support for a device was not the problem, but authentication was.