Closed dsylex closed 1 month ago
This is not bug of the plugin. Cache is maintained by Homebridge not by plugins. The only solution I know is the following:
This is not bug of the plugin. Cache is maintained by Homebridge not by plugins. The only solution I know is the following:
- Uninstall Homebridge
- Remove all related files including configuration files and dirs.
- Install Homebridge
- Install plugins
- Configure plugins as you do with new plugins at first time use (DO NOT RESTORE any configuration from backup because backup contains the same corrupted configuration as the cache!)
I have no issues with other plugins (30-40+) or accessories (200+) so I assumed it was this plugin. Prior to going nuclear as you've advised I digged around in the cache and it seems to be working now.
For future reference, the steps I did to fix the issues:
For no apparent reason it seems as though the plugin is creating more instances of the same accessories.
Thank You for telling me a more useful solution. I will check this issue. Can you help me how to check cached accessories? I am not familiar with HB cache. By me this plugin works without any issues and no one else has told me a similar issue yet.
Thank You for telling me a more useful solution. I will check this issue. Can you help me how to check cached accessories? I am not familiar with HB cache. By me this plugin works without any issues and no one else has told me a similar issue yet.
Sure, no problem :) I left my solution here for future reference if someone else encounters the same issue and maybe something you'd like to look into.
Most simple way to check cached accessories is via the GUI:
3dot menu -> Settings -> Remove Single Cached Accessory
and look for anything related to "homebridge-gree-ac")
P.S.: I'm really happy that this solution worked, tbh as this seems to be the best implementation of Gree AC control plugin so far (I've tried all of them in both HB and HA), so kudos. :)
@dsylex Hi, I have the same issue when I've changed "temperatureSensor": "disabled",
to separate
value, changing it back resolves the error.
But not quite. I could control units from the Homebridge accessories web UI, but not from the Apple Home app. Apple Home app shows me that units are "updating".
I used your solution and under 3dot menu -> Settings -> Remove Single Cached Accessory
apart from units entry duplicated "temperature sensor entries", I've removed them and restarted the plugin and it started working
@dsylex @DanielKupiniak Hi, this issue is fixed in version v2.1.2
Describe The Bug: Devices do not persist through restart. They do add fine but stop working after HB or child bridge restart.
To Reproduce: Add devices to GUI or JSON config.
Remarks:
70% of storage is unused on device and HB has R/W access to it.
Logs:
Plugin Config:
Environment: