This device is outside now. (Pi Zero W, v2 noir camera, ds18b20, and a 433mhz transmitter) It's running Raspbian Stretch on a 32Gb SD card. Pikrellcam is the software that controls the camera. I used instructions from here https://www.samkear.com/hardware/contro ... spberry-pi
to set up the 433mhz transmitter. The receiver is not needed after you get the codes from the etekcity remote.
There are a couple IR led lights in the field of view-
Camera sees this at night-
To the human eye, it's near pitch dark. When my better half takes the dogs out first thing, I'd like the yard to be lit up with visible light for a few minutes, automatically. Yes, I could buy a motion sensing light but what fun would that be? The Pi was there anyway. Pikrellcam has "on_motion_begin" ability in it's .conf to run a script when it starts recording. It's set to run a very simple bash script that turns on a visible light (light is in the back window, plug is inside the house) and then shuts it off again in 5 minutes.
Code: Select all
It is reliable. Range is impressive for something so cheap....Device is outside, outlet is inside...signal has to pass through several walls.
I purposely set it off a number of times while the script was "sleeping" from an initial run to see if there would be multiple instances running and there are not. It shuts off after 5 minutes, no matter how many times the camera begins recording since the initial run.
I am thankful for the folks who did the work with rfoutlet and wiringpi that made it easy and fun to put this together.