Closed GreenTentacle closed 6 years ago
Yes, it looks like this is a bug, I tack unique bridges based only on IP address, when I should do it on a unique ip/port combo. I'll also turn off node-milight-promise's fullSync feature when I do this so bridges are controlled fully independently.
Merged @lundberg patch for this in the latest version. Resolved.
When I had my config file as this, controlling something like "Bedroom Lamp" actually controlled "Disco Light"-- so device #1 on the second bridge actually controlled device #1 on the first bridge. ("Bedroom Lamp" also controlled itself correctly) The bridge is run by https://github.com/sidoh/esp8266_milight_hub and I've created 2 virtual UDP bridges.
It looks like if I used the same hostname, but 2 different ports, the plugin treated them as the same. My workaround was to give one bridge
milight-hub
as it's hostname and let it resolve off local DNS, and the othermilight-hub.local
and have it resolve via Bonjour (both to the same address, if everything goes right).Thanks !!