End Goal -
morning, RGB and White channel go to max all day.
night, white fades to off after sunset, RGB fades to dim red
My current configuration is
MagicHome RGBW ZJ-WFMN-A V1.1 (This one has IR headers that I added for a remote)
Tasmota 8.3.1(tasmota template)
{“NAME”:“MagicHome V1.1”,“GPIO”:[0,255,56,255,147,38,0,0,37,39,40,41,0],“FLAG”:0,“BASE”:34}
Home Assistant configs below are for 2 of exactly the same device trying different configs. I can see the color and brightness sliders and wheel, any change always turns off the white channel and it never goes back on.
I can also turn on channels by console commands
color 255,255,255,255,255
will turn max of all RGB and the white channel.
All the guides to this are very old - Is there a better way?
- platform: mqtt
name: "garden"
command_topic: "cmnd/garden/POWER"
state_topic: "tele/garden/STATE"
state_value_template: "{{value_json.POWER}}"
availability_topic: "tele/garden/LWT"
brightness_command_topic: "cmnd/garden/Dimmer"
brightness_state_topic: "tele/garden/STATE"
brightness_scale: 255
on_command_type: "brightness"
brightness_value_template: "{{value_json.Dimmer}}"
white_value_state_topic: "tele/garden/STATE"
white_value_command_topic: "cmnd/garden/White"
white_value_scale: 255
white_value_template: "{{ value_json.Channel[3] }}"
rgb_command_topic: "cmnd/garden/Color2"
rgb_state_topic: "tele/garden/STATE"
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
effect_command_topic: "cmnd/garden/Scheme"
effect_state_topic: "tele/garden/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
- platform: mqtt
name: "plantbox"
command_topic: "plantbox/power"
state_topic: "plantbox/powerState"
brightness_command_topic: "plantbox/brightness"
brightness_state_topic: "plantbox/brightnessState"
rgb_command_topic: "plantbox/color"
rgb_state_topic: "plantbox/colorState"
white_value_command_topic: "plantbox/white"
white_value_state_topic: "plantbox/whiteState"
white_value_scale: 255
brightness_scale: 255
color_temp_command_topic: "plantbox/color_temp"
color_temp_state_topic: "plantbox/color_tempState"
effect_command_topic: "plantbox/effect"
effect_state_topic: "plantbox/effectState"
effect_list:
- 0
- 1
- 2
- 3
- 4
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
qos: 1
retain: true