matt-downs / homebridge-sonoff-tasmota-mqtt-hsb

A homebridge plugin for RGB LED devices running the Sonoff-Tasmota firmware, such as the MagicHome LED strip controller.
https://www.npmjs.com/package/homebridge-sonoff-tasmota-mqtt-hsb
Apache License 2.0
5 stars 2 forks source link

PlugIn Crashes the Tasmota Configuration #6

Open GerSant opened 5 years ago

GerSant commented 5 years ago

Hi, i have the Sunix RGBWWCW module flashed with Tasmota 6.5.0 (i do tests with 6.3.0 as well) i configure the modules with their respectives PWM/GPIO bindigs, from the web page of the module all works great.

When i configure the plugin using this parameters:

{
  "accessory": "sonoff-tasmota-mqtt-hsb",
  "name": "MagicHome LED Controller",
  "url": "mqtt://192.168.0.253",
  "caption": "sunix-a3ef",
  "topics": {
    "setOn": "cmnd/sunix-a3ef/POWER",
    "setHsb": "cmnd/sunix-a3ef/HSBColor",
    "status": "stat/sunix-a3ef/RESULT"
  }
}

When the accesory appears in the Home app and i touch to power on, the accesory shows the status change (with brightness 100%) but the module don't respond, after that the Web Page of Tasmota stops respondig to commands, restart the module don't fix it, only restoring the config.

matt-downs commented 5 years ago

Sorry @GerSant, didn't mean to ignore this issue! Unfortunately when I went to upgrade my hardware to the latest firmware OTA I ended up bricking the device. 😢

Haven't had a chance to re-flash the firmware via the serial port yet, but I'm hopping to do it this weekend.

GerSant commented 5 years ago

The problem was the GPIO-PWM assignments, you should use the following configuration for the correct assignment

Regards