https://blakadder.github.io/templates/treatlife-DS01.html
I got Tuya convert and flash with Tasmota firmware but since I converted other switches and plugs to esphome so does anyone have Treadlife Dimmer configuration for esphome?
https://blakadder.github.io/templates/treatlife-DS01.html
I got Tuya convert and flash with Tasmota firmware but since I converted other switches and plugs to esphome so does anyone have Treadlife Dimmer configuration for esphome?
Did you ever have any luck?
I have not tested but I have a few of these and I was going to try using the Tuya Dimmer Component.
In case someone runs across this before the ESPHome reference, the config from here (Tuya Dimmer — ESPHome) is working for me on a Treatlife DS01 Dimmer with swapping the dimmer and min_value datapoints and setting the min and max values.
logger:
baud_rate: 0
level: DEBUG
uart:
rx_pin: GPIO3
tx_pin: GPIO1
baud_rate: 9600
tuya:
light:
- platform: "tuya"
name: "${pretty_name} Dimmer"
dimmer_datapoint: 2
min_value_datapoint: 3
switch_datapoint: 1
min_value: 100
max_value: 1000