Slicer Discord
Plug-In Motion Sensing Night Light – 3D printable model from Thingiverse Thingiverse

Plug-In Motion Sensing Night Light

14 Downloads
5 Likes
0 Makes
Go to Model
Create your own IoT controlled, motion sensing nightlight.

I used a short strip of 5V warm white LEDs and two AM312 PIR motion sensors connected to a sonoff SV. All powered by an Apple USB Plug.

You'll need either a USB cable with a short bend radius from the USB connection to the wire, or a 90 degree USB cable, to make sure the USB cable can bend downwards into the body of the device.

Set up the sonoff SV so that the wifi circut and relay use the same power suppy (connect jumper to pins near input terminal.

I used ESP home to create a sketch with one "output" with the platform "gpio" on pin GPIO12 named "relay", then a "light" with the platform "binary" using the output "relay". This will cause the relay to be discovered as a light in homeassistant instead of a switch. Also, the sketch has two binary sensors (platform = gpio) for pins 05 and 04, to create the motion sensor entities.

I used node-red to trigger the light to turn on when motion is detected and my home
Source
Thingiverse
What you need to print this: Beginner Low confidence
Single piece
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
PLA, TPU
Software
Cura, PrusaSlicer, or similar
No ratings yet
No comments yet – be the first!

Similar Models

6 Suggestions
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection