Hello everyone. I have one of these https://tasmota.github.io/docs/devices/MagicHome-with-ESP8285/
and I am trying to use with home assistant. At first i thought everything was okay, but then was messing with the white value and all the sudden i could not communicate anymore. I had to reflash tasmota. I was able to reproduce several times. I am using the following in my config. Any ideas? Everything seems to work fine if i am using the tasmota web interface.
- platform: mqtt
name: "yyyyyyyy"
command_topic: "cmnd/yyyyyyyy/POWER"
state_topic: "tele/yyyyyyyy/STATE"
state_value_template: "{{value_json.POWER}}"
availability_topic: "tele/yyyyyyyy/LWT"
brightness_command_topic: "cmnd/yyyyyyyy/Dimmer"
brightness_state_topic: "tele/yyyyyyyy/STATE"
brightness_scale: 100
on_command_type: "brightness"
brightness_value_template: "{{value_json.Dimmer}}"
white_value_state_topic: "tele/yyyyyyyy/STATE"
white_value_command_topic: "cmnd/yyyyyyyy/White"
white_value_scale: 100
white_value_template: "{{ value_json.Channel[3] }}"
rgb_command_topic: "cmnd/yyyyyyyy/Color2"
rgb_state_topic: "tele/yyyyyyyy/STATE"
rgb_value_template: "{{value_json.Color.split(',')[0:3]|join(',')}}"
effect_command_topic: "cmnd/yyyyyyyy/Scheme"
effect_state_topic: "tele/yyyyyyyy/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