SphtKr / homebridge-zway

Homebridge plugin for (better) HomeKit support of RaZBerry and Z-Way Server
ISC License
85 stars 38 forks source link

homebridge-zway crashes silently if two zwave devices has the same name #112

Open larrun opened 6 years ago

larrun commented 6 years ago

I had two zwave devices in separate rooms that has the same name "Tak" (roof in swedish) as they both were roof lights. Homebridge then crashed silently the second time it was: Initializing plattform accessory 'Tak'

RazBerry had no issue with the names being the same. Changing the names to "Tak1" and "Tak2" resolved the problem.

BR /Lasse

Irrelon commented 6 years ago

I can also confirm this issue. It carries some problems because you will have lots of devices named "Light" for instance, each with their own room. Any idea how this can be fixed? Happy to help with a PR if I can be pointed in the correct direction!