Skip to content

Smart Plugs

Glenn Morrison edited this page Oct 22, 2019 · 5 revisions

Smart Plugs

Flashed these with Tuya Convert "2.0" and installed Tasmota 6.6.0. After flashing I used the following template in Configuration | Configure Other to configure them:

{"NAME":"AWP04L","GPIO":[57,0,0,131,157,134,0,0,21,17,132,56,0],"FLAG":0,"BASE":18}

and the following needs to be entered in the Console to get the LEDs working properly:

rule1 on power1#state=0 do backlog ledpower1 0; ledpower2 1 endon on power1#state=1 do backlog ledpower1 1; ledpower2 0 endon

Next, I upgraded Tasmota in the Firmware Upgrade section

and click here...

and finally, in the Console enter setoption19 1 for Home Assistant mqtt discovery to pick up the new sensor.

A special THANKS to Will aka Tollbringer and Travis aka DigiblurDIY for their help in setting this up.

Clone this wiki locally