Raspberry-Pi: Motion light switch
My latest little side project has been utilizing a Raspberry-Pi to turn on lights via motion detection. Here’s a quick run down of how I got this working. What you’ll need: – Raspberry Pi w/ Raspbian – Webcam – Hue lights – Motion (https://github.com/Motion-Project/motion) First things first, head over to the motion github page to get that installed on your Pi. This will do all the heavy lifting (why re-invent the wheel here?) as far as motion detection goes. Motion will let you specify a script to execute if it recognizes motion in a specific area of the screen or...