Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessory duplicated #30

Open
kiondi opened this issue Aug 28, 2017 · 1 comment
Open

Accessory duplicated #30

kiondi opened this issue Aug 28, 2017 · 1 comment

Comments

@kiondi
Copy link

kiondi commented Aug 28, 2017

Hi
I did some test, if you rename, in the config.json, an accessory already configured, the accessory is duplicated on homebridge..
How can I do this to avoid this?
thank you for your appreciated work.
image

@rsg98
Copy link
Owner

rsg98 commented Aug 29, 2017

You will need to remove the accessories/cachedAccessories file to clear out the duplicates (it current keys on the name, so sees a name change as a different accessory). Make sure you stop homebridge before deleting this file, as it gets written when you stop it.

Will fix this in the new version (#29) so that it keys off the pin number instead of the name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants