The place where random ideas get written down and lost in time.

2020-11-12 - Remote plug + motion

Category DEV

For the daily Xmas lights, what I’d like is to have:

  • Person detection, likely using an existing PIR.
  • Light detection, to turn it on when it gets dark.
  • Server/wifi control so that I could rifle it from the phone.

One option is to take the existing timer plug and control it from an ESP32. Doesn't even have to be a cam one, using a PIR in max range could work.

I'd like to have a second ESP+PIR across the room for more coverage. Whenever any of these detect motion, light would stay on for e.g. 15 minutes. The second ESP can send an ESP-NOW data packet to the first one.

A local button toggle would be ideal.

The other option would be to use a dedicated wifi plug like the sonoff. I do want something absolutely local that does not use any cloud.


 Generated on 2025-01-09 by Rig4j 0.1-Exp-f2c0035