ESPHome-Devices

Teckin SR46

Teckin SR46

Amazon Link

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

PinFunction
GPIO1UART Tx
GPIO3UART Rx

Basic Configuration

esphome:
name: dimmable_light
platform: ESP8266
board: esp8285
ota:
safe_mode: True
password: OTA_PASSWORD
api:
password: "PASSWORD"
wifi:
ssid: WIFI_SSID
password: "WIFI_PASSWORD"
# use_address: X.X.X.X
mqtt:
broker: X.X.X.X
username: device_pub
password: "MQTT_PASSWORD"
uart:
tx_pin: GPIO1
rx_pin: GPIO3
baud_rate: 9600
logger:
baud_rate: 0
tuya:
light:
- platform: "tuya"
name: "dimmer"
switch_datapoint: 20
dimmer_datapoint: 22
min_value: 1
max_value: 1024
Edit this page on GitHub