Logo

Teckin RF-SR40-US Wall Outlet

US
Teckin RF-SR40-US

Available from:
Amazon.com





Flashed with:
Tuya-Convert

GPIO #Component
GPIO00 None
GPIO01 None
GPIO02 None
GPIO03 None
GPIO04 Led2i
GPIO05 Led1i
GPIO09 None
GPIO10 None
GPIO12 Relay1
GPIO13 Button1
GPIO14 None
GPIO15 None
GPIO16 None
FLAG None

Template

{"NAME":"RF-SR40-US","GPIO":[0,0,0,0,57,56,0,0,21,17,0,0,0],"FLAG":0,"BASE":18}
Reference ID: RF-SR40-US

You will also have to add the following commands in the console to make this work properly.

Backlog SerialLog 0; PowerOnState 0; SetOption63 1; LEDState 1
Rule1 ON System#Boot DO Power3 On ENDON    # Turn the USB port on
Rule1 1

Alternative template

{"NAME":"RF-SR40-US","GPIO":[158,0,0,17,56,18,0,0,22,21,57,23,0],"FLAG":0,"BASE":18}

The model purchased from Amazon 2020-03 has this GPIO Mapping

GPIO0: Green Center LED inverted
GPIO3: Top Button
GPIO4: Amber Top LED inverted
GPIO5: Bottom Button
GPIO12: Bottom Outlet Relay
GPIO13: Top Outlet Relay
GPIO14: Amber Bottom LED inverted
GPIO15: USB Relay