Deleting a device from accessories cachedAccessries file - ilcato/homebridge-Fibaro-HC2 GitHub Wiki
In order to fix problems sometimes it is necessary to remove a device from the accessories cache managed by homebridge.
This is a way to do it:
-
Install jq (https://stedolan.github.io/jq/)
-
Use the following statement within the accessories directory:
jq 'del(.[] | select(.displayName == "DEVICE_NAME") )' cachedAccessories > cachedAccessories
replacing DEVICE_NAME with the device name to delete.