TreatLife/Esmlfe DS03 Fan Dimmer Combo Beken 🅱️
Single gang Decora fan controller & light dimmer combo. This fan/dimmer combo can be flashed with ESPHome via the Tuya-CloudCutter process all over-the-air with no soldering. See here for the Complete How To Guide
Purchase via Amazon
GPIO Layout
GPIO | Component | Description |
---|---|---|
P10 | Secondary MCU RX | |
P11 | Secondary MCU TX |
ESPHome YAML
esphome:
name: treatlife-fan
friendly_name: treatlife-fan
name_add_mac_suffix: false
bk72xx:
## Uncomment the board type you need below (check your kickstart version/name installed on the device if you are unsure)
# board: generic-bk7231t-qfn32-tuya
# board: generic-bk7231n-qfn32-tuya
logger:
baud_rate: 0
## Uncomment to add local time and avoid the "LOCAL_TIME_QUERY is not handled because time is not configured" log error
#time:
# - platform: homeassistant
# id: homeassistant_time
tuya:
# time_id: homeassistant_time
web_server:
api:
ota:
platform: esphome
captive_portal:
mdns:
uart:
rx_pin: P10
tx_pin: P11
baud_rate: 115200
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# domain: !secret wifi_mydomain
ap:
ssid: ${name}AP
password: "ESPNotHome"
button:
- platform: restart
name: Restart
debug:
update_interval: 30s
text_sensor:
- platform: debug
reset_reason:
name: Reset Reason
- platform: libretiny
version:
name: LibreTiny Version
sensor:
- platform: uptime
name: Uptime
light:
- platform: "tuya"
name: Light
dimmer_datapoint: 10
switch_datapoint: 9
# change the dimmer_datapoint to 6 and switch_datapoint to 101 if these do not work - check the esphome logs and press the buttons on the switch faceplate to confirm
min_value: 100
max_value: 1000
fan:
- platform: "tuya"
name: Speed
switch_datapoint: 1
speed_datapoint: 3
speed_count: 4