Posts: 1
Joined: Sat Oct 20, 2018 10:04 pm

Using Pi to Command a "Light Flipper"

Sat Oct 20, 2018 10:13 pm


I'm looking to use my Model 2 Pi as an interface between a terminal connected to my home WiFi and a mechanism to "flick" a light switch on and off. I'm really asking for the ideas about a "doohickey" that can plug into the Pi (preferably through USB) and can be activated via a shell script. I imagine this component will be motorized with a rubber attachment, allowing for rotation in both directions, however, I'm at a loss as to what this device would actually be. I've worked with Pis a-plently and I'm confident I can ssh into the Pi to run the script, but I look to this fine community for possible directions for this project.

Many thanks!

Posts: 2083
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Using Pi to Command a "Light Flipper"

Sat Oct 20, 2018 10:43 pm

You are looking for a servo controlled light switcher of all things :o

I actually saw a YouTube video a couple of days ago with one of these shown - I thought it was Mick Makes but cannot find it on his site hunting for servo quickly for you. Have a trawl though these if you want https://www.mickmake.com/?s=Servo but I think it may have just been in passing :D :lol: :D

You may find https://hackaday.com/2017/01/17/servo-c ... -switches/ of interest though.
Need Pi spray - these things are breeding in my house...

Posts: 1034
Joined: Thu Apr 13, 2017 3:55 pm
Location: Oxford UK

Re: Using Pi to Command a "Light Flipper"

Sun Oct 21, 2018 1:15 am

for electronic solutions check out sonoff and shelly devices.. no mechanical switching beyond inside the relay coil tho.

Return to “Advanced users”