SmartPlug with POW (AISIRER, AVATAR) - seurat-atreides/Sonoff-Tasmota GitHub Wiki
I got few named Smart Plugs on Amazon with same internal parts.
https://www.amazon.de/dp/B07DGH8Y8S
AISIRERhttps://www.amazon.de/dp/B07D73S72W
AVATARDevice:
- solid design with 16A Relais
- 8 MB memory chip
- 2 LEDs
- POW function (unfortunately did not test yet, need help)
- very small size, easy to disassemble
- no need to disassemble PCBs
- test mode works with 5 or 3.3 V (relais also works)
Disassemble
- take off the lead with 2 screws
- put small cross screwdriver inside 220V plug connector, there are 2 screws
- free the antenna from plastic (no need to disconnect)
- pull of PCB from the case
Important build flags.
- in Platformio for tasmota flag change from 1MB to 8MB is needed, otherwise flash fails.
build_flags = ${esp82xx_defaults.build_flags} -Wl,-Teagle.flash.8m.ld
- in Arduino IDE:
board selected - "Node MCU 1.0", standard Found how some of PINS are linked to main PCB and are easy to connect for flashing
[PCB board] https://drive.google.com/open?id=1ggvDwS6b83ZdMiPbk4BkTA-crqfShJYv
Flashing:
I've decided to use 5V - there is a painted pad on the PCB, clean it and attach 5V (see image)
- Connect GPIO0 to GND
- Connect RX, TX
- Connect 5V and GND
- Connect USB to PC, start flashing
Tasmota WEB config (Generic)
- GPIO0 - Led1i
- GPIO2 - Led2i
- GPIO13 - Button1
- GPIO15- Relais1
[webconfig] https://drive.google.com/open?id=12ysKDN6wBvdHVVC33qB3a9rpg5mzKCC7
IMPORTANT: need your help to configure properly POW module, contact me at [email protected]
Update from my side
I managed to flash two Aisirer plugs using pre build sonoff binaries, since my plugs had only 1M flash. I used 3.3V connected directly to the ESP board. I had some trouble with WLAN connectivity which caused the relais to pulse, so I switched to 2.3.0 core, which seems default again since a few releases. This runs quite well. Configure as BlitzWolf SHP(45) Module and also the power measurement is working.