/homebridge-sonoff-tasmota-mqtt-hsb

A homebridge plugin for RGB LED devices running the Sonoff-Tasmota firmware, such as the MagicHome LED strip controller.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

homebridge-sonoff-tasmota-mqtt-hsb

A homebridge plugin for RGB LED devices running the Sonoff-Tasmota firmware, such as the MagicHome LED strip controller.

This plugin uses the HsbColor mqtt command to interface with each device, so it should support all of these devices.

Project based off homebridge-mqttlightbulb by ameeuw.

Installation

Follow the instruction in homebridge for the homebridge server installation. The plugin is published through NPM and should be installed "globally" by typing:

npm install -g homebridge-sonoff-tasmota-mqtt-hsb

Configuration

Remember to configure the plugin in config.json in your home directory inside the .homebridge directory. Configuration example:

"accessories": [
  {
    "accessory": "sonoff-tasmota-mqtt-hsb",
    "name": "MagicHome LED strip controller",
    "url": "mqtt://0.0.0.0",
    "username": "<username>",
    "password": "<password>",
    "caption": "<label>",
    "topics": {
      "getOn": "stat/sonoff/Power",
      "setOn": "cmnd/sonoff/Power",
      "setHsb": "cmnd/sonoff/HSBColor",
      "getHsb": "stat/sonoff/HSBColor"
    }
  }
],