Ecobee errors: Anyone else seeing this?

I started seeing these errors in my log starting just after midnight US EDT. Anyone else seeing this?

2018-10-23 08:08:03.136 [ERROR] [inding.ecobee.internal.EcobeeBinding] - Error retrieving tokens: invalid_grant
2018-10-23 08:08:03.137 [WARN ] [inding.ecobee.internal.EcobeeBinding] - Periodic poll skipped for 'DEFAULT_USER'.
2018-10-23 08:11:03.325 [ERROR] [inding.ecobee.internal.EcobeeBinding] - Error retrieving tokens: invalid_grant
2018-10-23 08:11:03.326 [WARN ] [inding.ecobee.internal.EcobeeBinding] - Periodic poll skipped for 'DEFAULT_USER'.
2018-10-23 08:14:03.546 [ERROR] [inding.ecobee.internal.EcobeeBinding] - Error retrieving tokens: invalid_grant
2018-10-23 08:14:03.546 [WARN ] [inding.ecobee.internal.EcobeeBinding] - Periodic poll skipped for 'DEFAULT_USER'.
2018-10-23 08:17:03.737 [ERROR] [inding.ecobee.internal.EcobeeBinding] - Error retrieving tokens: invalid_grant
2018-10-23 08:17:03.737 [WARN ] [inding.ecobee.internal.EcobeeBinding] - Periodic poll skipped for 'DEFAULT_USER'.

I guess this is a known issue. Somehow, it just randomly stops working…

Indeed, this seems to happen to me a few times per year.

I resolve it by deleting my java preferences store. I imagine the location is somewhat config-dependent, but on my raspbian install it is at:
~pi/.java/.userPrefs

I just delete that whole directory and it is recreated when openhab is restarted. Then I get the PIN in the logs and have to re-authorize the application with ecobee, and it immediately starts working once this is done. (Well, aside from any polling delays.)

1 Like