homebridge-switch_accessory
v1.0.3
Published
MQTT Switch accessory plugin for HomeBridge with On/Off Status
Downloads
4
Maintainers
Readme
homebridge-switch_accessory
Switch status via MQTT in Homebridge
Installation
sudo npm install -g homebridge-switch_accessory
Sample HomeBridge Configuration
{
"bridge": {
"name": "HomeBridge",
"username": "CC:12:3B:D3:CE:11",
"port": 51826,
"pin": "321-45-223"
},
"description": "",
"accessories": [
{
"accessory": "switch_accessory",
"name": "Main Switch 1",
"url": "mqtt://localhost",
"topics": {
"getOn": "getPowerOn",
"setOn": "setPowerOn"
},
"username": "username",
"password": "password"
}
],
"platforms": []
}