ilcato / homebridge-Fibaro-HC2

Homebridge plugin for Fibaro Home Center 2 (and Home Center Lite ...)
Apache License 2.0
66 stars 27 forks source link

Duplicated items in HomeKit #34

Closed tkaudioservices closed 7 years ago

tkaudioservices commented 7 years ago

I have duplicated items in my home kit, is there a file/database in the file structure where I would find these so I can delete the duplicates?

ilcato commented 7 years ago

remove the accessories folder and restart homebridge

tkaudioservices commented 7 years ago

Perfect, I found that I needed to also delete the persist folder. Now that it has reloaded though, he hasn't reloaded all the items. Is there a way to force home bridge to do another search?

ilcato commented 7 years ago

If you delete persist folder you need to delete accessory on iOS and re associate homebridge

tkaudioservices commented 7 years ago

yeh yeh, that's exactly what I have done, however some items that did appear before, no longer appear. I guess the same concept would also be, when new devices are added to Fibaro, would Raspberry Pi need to be rebooted in order for the new devices to show up in HomeKit?

ilcato commented 7 years ago

yes

tkaudioservices commented 7 years ago

So what would cause some devices to be missing?

ilcato commented 7 years ago

strange. what kind of devices are no more visible?

tkaudioservices commented 7 years ago

The Fibaro RGB controller

ilcato commented 7 years ago

Is it still present in home center?

tkaudioservices commented 7 years ago

Yes, plus I can control in the Home Center no problem

tkaudioservices commented 7 years ago

I am wondering if HomeKit isn't loading correctly because of an error. When I run home kit from terminal I get this error.

Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: d281603f-5c58-4530-970b-58899583e2cf at Bridge.Accessory.addBridgedAccessory (/usr/lib/node_modules/hap-nodejs/lib/Accessory.js:222:13) at Server._configCachedPlatformAccessories (/usr/lib/node_modules/homebridge/lib/server.js:345:18) at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:80:8) at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10) at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3)

Thanks you for your help

ilcato commented 7 years ago

you have two or more accessories with the same name in the same room.

tkaudioservices commented 7 years ago

naming the devices correctly solved all the problems. Thank you.

In the config.json, what is the difference between rooms and none?

ilcato commented 7 years ago

If you set the parameter to room homebridge will create a single homekit accessories for each room containing all the devices in the room.