Ok… is not simple to explain what I wanna do…
so, I have take some photo
I have a RGBWW controller that work with tasmota firmware (10 € on aliexpress :D)
I have connect 2 led strip, one RGB and una Cold White (about 6400k)
I have configured the controller as Generic because MagicHome settings was wrong with this device
and here you can see what I wanna do, normally for rgbw controller you have rgb pallette and a separate white control
I don’t want the white bar because I want that the center of pallette send to controller the command: color 000000ff instead to ffffff00
all the pallette must be converted because that I want is that the brightness of light must be managed by white strip
for example, I don’t want 55FF5500 for a light green, I want 00FF0055, the result is very most beautiful
directly on tasmota console you can turn on all 4 channel as you can see in photo
this is my actual configuration of HA
- platform: mqtt
name: "RGBW Camera"
command_topic: "cmnd/rgbw_cam/POWER"
state_topic: "tele/rgbw_cam/STATE"
state_value_template: "{{value_json.POWER}}"
availability_topic: "tele/rgbw_cam/LWT"
brightness_command_topic: "cmnd/rgbw_cam/Dimmer"
brightness_state_topic: "tele/rgbw_cam/STATE"
brightness_scale: 100
on_command_type: "brightness"
brightness_value_template: "{{value_json.Dimmer}}"
# white_value_state_topic: "tele/rgbw_cam/STATE"
# white_value_command_topic: "cmnd/rgbw_cam/White"
# white_value_scale: 100
# white_value_template: "{{ value_json.Channel[3] }}"
rgb_command_topic: "cmnd/rgbw_cam/Color2"
rgb_state_topic: "tele/rgbw_cam/STATE"
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
effect_command_topic: "cmnd/rgbw_cam/Scheme"
effect_state_topic: "tele/rgbw_cam/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
retain: false
This can be a very nice project
thx to all for the help