Open boejoyd opened 6 years ago
{ "accessory": "mqtt-switch-tasmota", "name": "Switch1", "url": "mqtt://127.0.0.1", "topics": { "statusGet": "stat/sonoff/POWER1", "statusSet": "cmnd/sonoff/POWER1" } }, { "accessory": "mqtt-switch-tasmota", "name": "Switch2", "url": "mqtt://127.0.0.1", "topics": { "statusGet": "stat/sonoff/POWER2", "statusSet": "cmnd/sonoff/POWER2" } }
That’s helpful. Thank you!
On Mon, Feb 19, 2018 at 10:04 PM Terry notifications@github.com wrote:
{ "accessory": "mqtt-switch-tasmota", "name": "Switch1", "url": "mqtt://127.0.0.1", "topics": { "statusGet": "stat/sonoff/POWER1", "statusSet": "cmnd/sonoff/POWER1" } }, { "accessory": "mqtt-switch-tasmota", "name": "Switch2", "url": "mqtt://127.0.0.1", "topics": { "statusGet": "stat/sonoff/POWER2", "statusSet": "cmnd/sonoff/POWER2" } }
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MacWyznawca/homebridge-mqtt-switch-tasmota/issues/25#issuecomment-366702147, or mute the thread https://github.com/notifications/unsubscribe-auth/AIw6wKNw6nlrKeO0WweYiKyxJI43VWvjks5tWX9cgaJpZM4Rlgrk .
-- Sent from Iphone Mobile
hi, i have the same issue, kinda. the home bridge config.json part is solved above, but as i am new to the home bridge mqtt tasmota thing, i have one further question. when using more then one Sonoff Switch/Device do i have to configure something in the devices and my server? i'm sure i have to but i don't what changes have to be made.
thanks =)
Repeat the {"accessory": .. block for each device. Remember to put commas between them. Check your json file with an online json validator.
Hi, is my config module correct??
My config.json : { "accessory": "mqtt-switch-tasmota", "name": "New Port",
"url": "mqtt://192.168.0.22",
"topics": {
"statusGet": "stat/sonoff/POWER1",
"statusSet": "cmnd/sonoff/POWER1"
}
}
@MacWyznawca Has anyone done this kind of setup?