What Are Some Options for Programmable Home Automation?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
pdxuser
Messages
2
Reaction score
0
I want to switch either a standard AC socket or a USB outlet on and off on a programmed cycle. But although there are many consumer-ready timers available to do this at set times of day, programmable to the minute, I want to be able to randomize the cycles and have it programmable to the second, or even the millisecond.

I think either a device that I can program with a computer or something I could trigger remotely with a programmable app would work. Maybe there's an open source home automation system that would let me do this?

Any ideas on what might work for me, half-baked or not, would be greatly appreciated.
 
Engineering news on Phys.org
Like you said, you can easily buy these from the store...
But if you are hell bent on designing your own, I would use some sort of programmable digital device on a breadboard.
Use something like VHDL to program it (like a if, when, else state machine).
Obviously your output will be either on or off.
The digitial circuit will trigger it, but you then need your output switch to be heavy duty enough to handle the switching load of your output.
I'm sure there are many ways...but this is just one that popped into my head from senior design in school.
 
psparky said:
Like you said, you can easily buy these from the store...

Can you find anything that can actually be programmed for random intervals (like any amount of time between 30 and 90 minutes) as well as programmable to at least the second (so something could blink on and off for one second)? This is a level of programming that I haven't found in consumer devices.
 
You could use one of these:
http://www.powerswitchtail.com/Pages/default.aspx
with one of these:
http://www.arduino.cc/

You would get the device you want and learn something in the process.

You can also hook this:
https://scratch.mit.edu/

up to the Arduino with this:
http://s4a.cat/

If you say "I want a programmable <insert concept or action here>" There is probably a widget out there to get the job done.

BoB
 
Last edited by a moderator: