
Allows control from the App, existing switches and the button connected to the device (toggle).
status memory in case of power failure.
Sensor Gpio 5 -- D1
Relay Gpio 4 -- D2
Button Gpio 0 -- D3
stsLed Gpio 2 -- D4

AC line detector:https://learn.edwinrobotics.com/230v110 ... 266-thing/
