-
Notifications
You must be signed in to change notification settings - Fork 196
Closed
Labels
Description
Has anyone managed to get this to work via homebridge? I am trying to use the homebridge-mqttswitch plugin but i'm not sure of the correct syntax to use in the config.json, with the following setup, all I ever get is the OFF command sent, never the ON command
{
"bridge": {
"name": "Homebridge-02",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [
],
"accessories": [
{
"accessory": "mqttswitch",
"name": "BigLamp",
"url": "mqtt://127.0.0.1",
"username": "",
"password": "",
"caption": "Big Lamp",
"topics": {
"statusGet": "stat/sonoff/power",
"statusSet": "cmnd/sonoff/power",
"onValue": "ON",
"offValue": "OFF"
}
}
]
}