homebridge-mqtt-pressure
Version:
Plugin to HomeBridge optimized for work with Itead Sonoff and Electrodragon Relay Board hardware with firmware Sonoff-Tasmota via MQTT. Also works with other accessories sending the pressure as a number (payload ex. 1000).
38 lines (27 loc) • 799 B
JSON
{
"bridge": {
"name": "Homebridge",
"username": "C00:00:00:00:00:00",
"port": 51826,
"pin": "111-11-111"
},
"description": "This is an example minimal configuration file. You can use this as a template for creating your own configuration file.",
"platforms": [],
"accessories": [
{
"accessory": "mqtt-pressure",
"name": "NAME OF THIS ACCESSORY",
"url": "mqtt://MQTT-ADDRESS",
"username": "MQTT USER NAME",
"password": "MQTT PASSWORD",
"topic": "tele/sonoff/SENSOR",
"activityTopic": "tele/sonoff/LWT",
"activityParameter": "Online",
"startCmd": "cmnd/sonoff/TelePeriod",
"startParameter": "60",
"manufacturer": "ITEAD",
"model": "Sonoff TH",
"serialNumberMAC": "MAC OR SERIAL NUMBER"
}
]
}