joba-1 / Tasmoticz

Domoticz MQTT autodiscovery plugin for Tasmota devices
MIT License
24 stars 18 forks source link

Athom device incorrectly handled #26

Open 5bomen opened 2 years ago

5bomen commented 2 years ago

Hi, I bought a Tasmota pre-flashed bulb from Athom (https://www.athom.tech/blank-1/color-bulb). The plugin nicely detects its existence but creates a switch device instead of a dimmer device that allows managing the color and intensity.

This is how the bulb reports on MQTT: 13:36:38 MQT: cmnd/RGBLamp_01/POWER = 13:36:38 MQT: tele/RGBLamp_01/INFO1 = {"Module":"LB01-7W-E27-TAS","Version":"9.1.0(tasmota)","FallbackTopic":"cmnd/RGBLamp_01_fb/","GroupTopic":"cmnd/tasmotas/"} 13:36:38 MQT: tele/RGBLamp_01/INFO2 = {"WebServerMode":"Admin","Hostname":"RGBLamp_01-1341","IPAddress":"192.168.5.150"} 13:36:38 MQT: tele/RGBLamp_01/INFO3 = {"RestartReason":"External System"}

joba-1 commented 2 years ago

Sorry for answering so late - have overlooked this issue. I only have switches and sensors, so I cannot develop for other types of devices because I need to be able to test. But I surely will support anyone trying to add the feature with a pull request.