I do not own shares, nor do I get commission
You may want to take at shelly.cloud.
I own several Shelly 1: on/off via the wallswitch and via Domoticz.
Note: MQTT may be necessary...
For those interested (this is a Domoticz forum, isn't it...): I have just released an early version of a Python plugin for the EMS-ESP.
It can currently be found as a pull request on Proddy's Github.
The base problem lies with Tasmota. Due to the way it handles things, little changes in colors/channels may occur. This is reflected in the return MQTT-message issued by the H801. Tasmota says of this behaviour "it's a feature, not a bug"... :?
Thanks. It may well have to do with conversion from % (0-100) to hex (00-FF) and back. Changing your lines: color["r"] = int(colors[0] * 255 / 100) to color["r"] = int((colors[0] + 1) * 255 / 100)
(for all 5 color channels) reduces the problem but doesn't entirely eliminate it.
I've created python plugin for domoticz which allows to control H801 with Tasmota firmware via MQTT https://github.com/stas-demydiuk/domoticz-h801-tasmota-plugin
Feedback is appreciated
Hi Stas, I'm using your plugin as 5x dimmer, but I'm noticing some strange behaviour. Domoticz V4.10303 ...