devices.esphome.io
Teckin SR46
Teckin SR46
Device Type: dimmerElectrical Standard: usBoard: esp8266
General Notes
This plug use tuya so you can use tuya-convert to flash ESPHome. The UART ports is connected to GPIO1 and GPIO3. The on/off switch is on datapoint 20 and the dimmer is on datapoint 22.
GPIO Pinout
| Pin | Function |
|---|---|
| GPIO1 | UART Tx |
| GPIO3 | UART Rx |
Basic Configuration
esphome: name: dimmable_light
ESP8266: board: esp8285 # OTA flashingota: - platform: esphome
wifi: # Your Wifi network details # Enable fallback hotspot in case wifi connection fails ap:
# Enabling the logging componentlogger: baud_rate: 0
# Enable Home Assistant APIapi:
# Enable the captive portalcaptive_portal:
uart: tx_pin: GPIO1 rx_pin: GPIO3 baud_rate: 9600
tuya:
light: - platform: "tuya" name: "dimmer" switch_datapoint: 20 dimmer_datapoint: 22 min_value: 1 max_value: 1024