Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.

Deleting a device from accessories cachedAccessries file

ilcato edited this page May 4, 2020 · 2 revisions

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.