Avatto 3 Gang Switch (TS02-3)
Available from:
Aliexpress.com
Install method:
USB to Serial
GPIO # | Component |
---|---|
GPIO00 | None |
GPIO01 | None |
GPIO02 | LedLinki |
GPIO03 | Button 1 |
GPIO04 | Relay 2 |
GPIO05 | None |
GPIO09 | None |
GPIO10 | None |
GPIO12 | Led_i 2 |
GPIO13 | Relay 1 |
GPIO14 | Led_i 1 |
GPIO15 | None |
GPIO16 | Button 2 |
GPIO17 | None |
Configuration
{"NAME":"AVATTO 2 Gang","GPIO":[0,0,576,32,225,0,0,0,321,224,320,0,33,0],"FLAG":0,"BASE":18}
Configuration (old format, will be converted to new template when applied)
{"NAME":"AVATTO 3 Gang","GPIO":[0,57,158,19,23,18,0,0,56,21,58,22,17],"FLAG":0,"BASE":18}
This one came with new firmware, so tuya-convert didn’t work. But it’s quite easy to disassemble – the top PCB holds on 2-sided duct foram and pin header. The pins on top PCB have VCC 3.3V(lowest) and GND(one above VCC), those can be used to power it up directly from RPi. And you can also flash it with RPi following this guide: https://siytek.com/how-to-flash-esp-devices-with-tasmota-using-raspberry-pi/