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.

30 lines (23 loc) 632 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", "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" } } ] }