toblum / McLighting

The ESP8266 based multi-client lighting gadget
MIT License
1.05k stars 289 forks source link

Can't add second McLightning device in Home Assistant #300

Closed hristo-atanasov closed 5 years ago

hristo-atanasov commented 5 years ago

light:

When I add the second device, the first one works, but the second one doesn't. It appears, but cant be turned on.

debsahu commented 5 years ago

Both can't have the same name, change the hostname in definitions.h

hristo-atanasov commented 5 years ago

They don't seem to have same names, do they? :\

hristo-atanasov commented 5 years ago

The first is 'LeftLedStrip0' and the second is 'RightLedStrip0'

aidbish commented 5 years ago

Install a mqtt app like MQTT.fx, Connect to your MQTT broker and subscribe to home/# you should be able to see if the second light is connecting to your broker when the device is powered on

hristo-atanasov commented 5 years ago

It was my mistake. It is working now. I didn't realize there was a newer version with 0.84.x support.

debsahu commented 5 years ago

Reopen if you still got issues