Open arachnetech opened 5 years ago
Same problem here...
This drove me crazy for weeks. I set up a completely new Homebridge environment on a virtual machine with homebridge-mi-aqara and tried to get it working with that, and failed. I then moved it back to my main Homebridge (running on a Raspberry Pi) so that I could at least use the sensors - and it suddenly started working again.
Still a complete mystery to me...
Here is my fix:
Thanks. If it breaks again, I’ll try that!
I've been using this plugin for some time, generally without problems - and it's been invaluable. Unfortunately, recently it stopped being able to control devices (light switches, and the gateway light). This wasn't as the result of any update to homebridge-mi-aquara - it just stopped working.
It still shows the state of light switches and sensors perfectly - I just can't control anything through Homekit/Homebridge.
I've tried restarting Homebridge and the Gateway multiple times in different orders which has always solved this issue when it's occurred previously, but nothing has helped. I've checked that developer mode is enabled and even changed my developer mode password in the Xiaomi Home App, but that hasn't helped. I tried deleting my
cachedAccessories
file and no accessories were detected. Restoring my oldcachedAccessories
file I'm back to being able to view the state of switches and read sensors, but I again can't control anything.Do you have any suggestions on how I can diagnose this so that I can get it working again? I'd really prefer not to have to recreate my entire Homekit configuration/environment again.