homebridge-mqtt-phicomm-dc1-powerstrip
Version:
A Homebridge plugin to create a power strip for Phicomm DC1 through MQTT.
19 lines • 419 B
JSON
{
"name":"Phicomm DC1",
"mqtt":{
"host":"192.168.1.1",
"port":1883,
"username":"username",
"password":"password"
},
"topics":{
"setOn":"DC1/{devicename}/cmnd/power{id}",
"getOn":"DC1/{devicename}/stat/power{id}",
"retrieve":{
"notify":"DC1/{devicename}/cmnd/power{id}"
}
},
"onValue":"on",
"offValue":"off",
"accessory":"mqttPhicommDC1"
}