I managed to integrate Xiaomi Philips Ceiling light into HA but after some time the log shows me the below error. I went and retrived the access token again and it appeared to be different than before, I modified the config and the light worked again in HA. Now the same error appeared again which led me to believe my Philips light changes its access token.
Is there anyone else who faced with the same issue?
Could you please help me to find what can be the problem?
Thanks in advance!
2018-03-23 23:07:03 ERROR (SyncWorker_4) [miio.device] Got error when receiving: timed out
2018-03-23 23:07:03 WARNING (SyncWorker_4) [miio.device] Retrying with incremented id, retries left: 3
2018-03-23 23:07:03 ERROR (MainThread) [homeassistant.components.light.xiaomi_miio] Got exception while fetching the state: Got checksum error which indicates use of an invalid token. Please check your token!
Had the same thing happen to me today. Set up my Xiaomi Philips ZhiRui lights today (4 of them) and they worked really well until suddenly at the end of the day, I started getting it throwing exceptions for all 4 of them having invalid tokens. No idea why - don’t believe I changed anything. Will have to do more troubleshooting!
If you flick the light switch 5 times quickly it also resets the bulb so if you have kids who like to play with the light switches it’s a fun game of cat and mouse daily token updates.