Reliable Polling with an Analog Clock


(I got a hair cut from Alexa) #1

Clock from Target, $4
Magnets from the refrigerator, $0
GoControl Door Window Sensor on clearance at Home Depot, $8
Reliable Polling, Priceless.

Put the magnets on the second hand for minute polls.
Put the magnets on the minute hand for hour polls.
Put the magnets on the hour hand for once a day polls.
If the hands are not magnetic, put a magnet on each side of the hand.
The clock will show open for about 40-50 minutes and closed for 10-20 minutes
…depending on how you position things and magnet strength on the minute hand.
…Once positioned its very consistent.
You can trigger on the open, or the close…or both!
Use state or atomic state variables to keep track if you need to.
Use Date() if you really want to know what time it is.
Don’t include the Clock door sensor in your alarm system unless…
Place the clock horizontally if its plastic and the magnets are heavy.
Turn the door Sensor so the magnets pass over the reed
…and don’t get stuck on the sensor battery.
If it’s too hard to make work…
…Get a bigger better clock with a sturdy second hand and a heavy duty movement.
Write your own version of cron in groovy.

And finally…
Throw the analog clock away and use a Repeat Cycle Timer
…with the contact connection inside the sensor.


Scheduler and Polling quits after some minutes, hours, or days
(Eric) #2

cool!

waitaminit…

ooo you got me.

Still the silliest part is replacing cron with an internet uplinked and downlinked mechanical device . It just ain’t making sense.


(I got a hair cut from Alexa) #3

Hehe …well Eric, this actually works. It just closes and opens a door switch…which you can use to trigger other events. Thing is, it triggers it on a regular basis - nice for polling. Though I haven’t written a cron to use the ticks from the clock. I suppose it would be possible. I should have waited to post this on April 1st though…then more folks would think it was fake…when in actuality it really works. I have a backwards sense of humor that way. With the schedule-poll-reschedule thing breaking after a few hours or days, it’s kind of nice to have something that just keeps ticking.


(Sean Kendall Schneyer) #4

This is insanely genius really.


(Jake) #5

Maybe Samsung could do with one of these? Might be able to sort out their scheduling issues!


(I got a hair cut from Alexa) #6

I think it’s kind of funny, there’s been reports that throughout last night a lot more schedules worked, but there’s been no official word why. Maybe they did get a clock and a magnet. Ha!


(Zpriddy) #7

This may actually work to fix the scheduling issues! :slight_smile:

This is awesome!


(I got a hair cut from Alexa) #8

Ha…nice zpriddy. I’m hoping my project is obsolete soon so I can put the magnets back on the fridge and the sensor back on the door.