UNPKG

homebridge-mqtt-switch-tasmota

Version:

Plugin to HomeBridge optimized for work with Itead Sonoff and Electrodragon Relay Board hardware with firmware Sonoff-Tasmota via MQTT.

44 lines (34 loc) 994 B
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" }, "description": "This is an example configuration file. You can use this as a template for creating your own configuration file.", "platforms": [], "accessories": [ { "accessory": "mqtt-switch-tasmota", "switchType": "outlet", "name": "NAME OF THIS ACCESSORY", "url": "mqtt://MQTT–BROKER-ADDRESS", "username": "MQTT USER NAME", "password": "MQTT PASSWORD", "topics": { "statusGet": "stat/sonoff/RESULT", "statusSet": "cmnd/sonoff/power", "stateGet": "tele/sonoff/STATE" }, "onValue": "ON", "offValue": "OFF", "activityTopic": "tele/sonoff/LWT", "activityParameter": "Online", "startCmd": "cmnd/sonoff/TelePeriod", "startParameter": "60", "manufacturer": "ITEAD", "model": "Sonoff", "serialNumberMAC": "MAC OR SERIAL NUMBER" } ] }