grover / homebridge-automation-switches

A flexible automation switch for Homebridge: https://github.com/nfarina/homebridge
MIT License
114 stars 12 forks source link

Error automation switch cannot add bridged accessory uuid already used - more than one switch #12

Closed BAngel87 closed 5 years ago

BAngel87 commented 6 years ago

Hello,

I try to add different automations switches. My config loocks like the following:

"switches" : [ { "period" : "1800", "name" : "Schlafzimmerlicht", "type" : "automation", "autoOff" : "false" }, { "type": "switch", "name": "VS_Frühmorgen", "stored": true, "default": false }, { "type": "switch", "name": "VS_Morgen", "stored": true, "default": false }, { "type": "switch", "name": "VS_Morgen", "stored": true, "default": false }, { "type": "switch", "name": "VS_Mittag", "stored": true, "default": false }, { "type": "switch", "name": "VS_Sonnenuntergang", "stored": true, "default": false }, { "type": "switch", "name": "VS_Abend", "stored": true, "default": false }, { "type": "switch", "name": "VS_Nacht", "stored": true, "default": false }, { "type": "switch", "name": "VS_Filmlicht", "stored": true, "default": false }, { "type": "switch", "name": "VS_Sonnentag", "stored": true, "default": false } ], "platform" : "AutomationSwitches", "name" : "device" },

Sadly then Homebridge isn't starting anymore and I get the Error:

"Cannot add bridged Accessory with the same UUID as another brdiged Accessory"

Is there a mistake in my config jason creating more than one switch?

Thanks for your support,...

grover commented 5 years ago

You had two switches with the same name in the configuration :( (VS_Morgen)