I have a few Generic GU10 RGBW bulbs. I have flashed them with tasmota and applies the correct template. I can control all 4 sliders in the tasmota GUI. I have applied the following parameters
SetOption15 1
Setoption37 128
Setoption59 1
setoption17 1
When i configured in HA using MQTT and light platform I am unable to control the light it always say unavailable. I then changed the command to power 2 and it gave me control of the White leds. but zero control of the RGB
I then set Setoption19 1 and i can view and control the bulbs in HA, but there is a seperate entity for RBG and for W.
this is what state reads in console
edit: I have managed to fix this
i setoption37 0 and it created 1 light in HA. Therefore it works on auto discovery
19:44:44 MQT: stat/gu1/RESULT = {"Version":"8.3.1(tasmota)","BuildDateTime":"2020-05-18T15:39:35","Module or Template":"Generic","RestartReason":"Power On","Uptime":"0T02:42:53","Hostname":"gu1-8155","IPAddress":"192.168.1.120","RSSI":"92","Signal (dBm)":"-54","WiFi LinkCount":1,"WiFi Downtime":"0T00:00:03","MqttCount":1,"LoadAvg":99}
The yaml
light:
- platform: mqtt
name: "RGBCCT Light"
command_topic: "cmnd/gu1/POWER"
state_topic: "tele/gu1/STATE"
state_value_template: "{{value_json.POWER}}"
availability_topic: "tele/gu1/LWT"
brightness_command_topic: "cmnd/gu1/Dimmer"
brightness_state_topic: "tele/gu1/STATE"
brightness_scale: 100
on_command_type: "brightness"
brightness_value_template: "{{value_json.Dimmer}}"
color_temp_command_topic: "cmnd/gu1/CT"
color_temp_state_topic: "tele/gu1/STATE"
color_temp_value_template: "{{value_json.CT}}"
rgb_command_topic: "cmnd/gu1/Color2"
rgb_state_topic: "tele/gu1/STATE"
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
effect_command_topic: "cmnd/gu1/Scheme"
effect_state_topic: "tele/gu1/STATE"
effect_value_template: "{{value_json.Scheme}}"
effect_list:
- 0
- 1
- 2
- 3
- 4
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
qos: 1