AdyRock / com.switchbot

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

invalid_grant #112

Closed jasonyzs closed 6 months ago

jasonyzs commented 6 months ago

Not sure what changed and resulted in this. Could be a reboot, or an update of Homey FW.

I can no longer control any devices. When trying to troubleshoot, I see the error "invalid_grant".

My guess, perhaps it lost the token/authorization with SwitchBot cloud. If so, how can I trigger the app to login/re-connect to SwitchBot?

Or what is wrong?

AdyRock commented 6 months ago

Select the repair option on one of the SwitchBot devices in Homey. You can then reenter your credentials. The token is valid for 1 year and then you need to log in again.

jasonyzs commented 6 months ago

perfect! thank you. Never thought to look in a device for the option. Was trying everything within the App Management page. That solved it!