alexryd / homebridge-shelly-ng

Homebridge plugin for the next generation of Shelly devices
GNU General Public License v3.0
121 stars 44 forks source link

Multiple Shelly 1PM - same name Switch 1 for all #47

Closed alexwala closed 1 year ago

alexwala commented 1 year ago

Having 2 Shelly 1PM. Configured with different names in config. Both discovered and naming works fine in HomeKit.

But under accessories in Homebridge i get 2 switches with the same name : Switch 1

Also in node-red i get 2 devices "Switch 1 - Switch" - so i can only control one of them.

temp fix: set on type to 'switch', the other to 'outlet'

is it possible to get the device name instead as with homebridge-shelly, e.g. 'Shelly Plug S C3F17D' or the id e.g. 'shellyplus1pm-4719da1774bd' maybe as prefix ?

alexwala commented 1 year ago

I think can be adapted in node-red-contrib-homebridge-automation