devices.esphome.io
Martin Jerry STD01
Martin Jerry STD01
Device Type: dimmerElectrical Standard: usBoard: esp8266
Martin Jerry STD01 3-Way Switch
Notes
This TuyaMCU requires a baud rate of 115200.
You only need to disassemble the "master" device - the one with five wires. The other unit doesn't have any smarts in it. When you disassemble the device, mind the thumbwheel at the bottom of the switch.
The black and red wires on the harness are ground and 3.3V respectively.
You will need to soldier wires onto GPIO0, TX, RX, and the Tuya MCU's reset pin.
Finally, the device won't function properly if the harness isn't plugged in - the ESP and the Tuya MCU refuse to talk to each other. I have not figured out why; I reconnected it, hooked it up to AC, and powered it up and insured it works.
GPIO Pinout
| Pin | Function |
|---|---|
| GPIO1 | Tuya Tx |
| GPIO3 | Tuya Rx |
Basic Configuration
substitutions: device_name: familyroom_light_1 #change friendly_name: Family Room Light #change icon: "mdi:light-switch"
esphome: name: ${device_name}
esp8266: board: esp01_1m # 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: rx_pin: GPIO3 tx_pin: GPIO1 baud_rate: 115200
tuya:
sensor:
- platform: uptime name: ${friendly_name} Uptime
binary_sensor: - platform: status name: ${friendly_name} Status
light: - platform: "tuya" name: ${friendly_name} dimmer_datapoint: 2 switch_datapoint: 1 min_value: 20 max_value: 255