Available from:
Amazon.de
| GPIO # | Component |
|---|---|
| GPIO00 | User |
| GPIO01 | User |
| GPIO02 | User |
| GPIO03 | User |
| GPIO04 | User |
| GPIO05 | User |
| GPIO09 | None |
| GPIO10 | None |
| GPIO12 | User |
| GPIO13 | User |
| GPIO14 | User |
| GPIO15 | User |
| GPIO16 | User |
| FLAG | Analog |
{"NAME":"AOFO-4AC-4USB","GPIO":[255,255,255,255,255,255,0,0,255,255,255,255,255],"FLAG":1,"BASE":54}
Backlog TuyaMCU 11,38; TuyaMCU 12,1; TuyaMCU 13,2; TuyaMCU 14,3; TuyaMCU 15,4 ; TuyaMCU 16,7
dpID 38 Controls all switches and USB
dpID 1dpID 2dpID 3dpID 4 Control AC
dpID 7 Controls USB
dpID 9 , dpID 10, dpID 11,dpID 12 and dpID 15 set timer in seconds for AC 1-4 and USB
My device contained an incompatible CB2S module. Swapped it for a pin compatible ESP-02s.
Button1/Power1 (switch all) does not completely work with configuration above - it will be updated correctly when the actual button on the device is pressed, but can´t be controlled from Tasmota, so I added following rule:
rule1 on Power1#State do backlog power2 %value%; power3 %value%; power4 %value%; power5 %value%; power6 %value%; endon
enable rule1: rule1 1
This way everything works as expected. Using backlog there will be some delay between the sockets on switching on/off - to reduce this, ‘backlog0’ can be used instead.
Renamed web buttons:
backlog webbutton1 ALL; webbutton2 S1; webbutton3 S2; webbutton4 S3; webbutton5 S4; webbutton6 USB;