Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We decided to use a SONOFF S20 attached to a door sensor.

Parts

PartImageURL
Sonoff S20

image2020-10-14_15-51-13.pngImage Modified


Gikfun MC-38 Wired Door Window Sensor for Arduino EK1656C

Image Modified




Wiring

Connect Door sensor to GPIO3(TX on Sonoff S20 board) and GND.

...

Via the console, set Switchmode to 2 (inverted follow 0 = on, 1 = off )

> Switchmode 2


Future

May use a SONOFF basic and hide the controller in the box behind the plug so that no wires are visible.