Open KBlobner opened 6 years ago
They both have the same topic so will act together.
"statusGet": "stat/sonoff/RESULT"
for each device the "sonoff" needs to be a unique name i.e. sonoff-1 and or sonoff-2, so replace all the sonoff in the first section with sonoff-1 and the 2nd section replace all the sonoff with sonoff-2. Also make sure that you change the sonoff to sonoff-1 or sonoff-2 on each device. If you using the WEB GUI select Configure MQTT and change "Topic = %topic% (sonoff)" to match you config.json
How does the config.json file look like with more then one son off device?
I thought something like this:
"accessories": [{ "accessory": "mqtt-switch-tasmota", "switchType": "outlet",
Both devices show up but i can not switch them one by one, just both at the same time
Edit:
I am using mosquitto and homebridge on a Mac mini