Holiday Function?
vining
Posts: 4,368
Does any one have a Holiday function to determine if the current day is a holiday and what is?
0
Comments
My wife always complains that the only holidays I know are Christmas, New Years and the 4th of July of course but I had to think for a second to remember what the 4th July actuall was. Now I know why, they make no logical sense!
http://www.assa.org.au/edm.html
Or you can take the easy route and just use a lookup table:
List of Easter Sunday Dates 2000-2099
In come countries, the first day of a month is determined by whether the moon can be seen. If there's cloud, it shifts to the next day...
http://en.wikipedia.org/wiki/Islamic_calendar
Original I only wanted holidays that I could make distict door chimes for; the Turkey gobble for thanksgiving, jingle sleigh bells for Christmas starting on the 20th and a Wereworlf howling for Halloween but then I figured why not display all of them when they occur under the current date and time on the main page. Then I could create a seperate look up table for personal days like birthdays and annaversaries if I choose.
In an earlier thread you said you wanted to trigger door chimes off of the Panasonic Door Phones. Did you figure out a way to make that happen?
In this particular job I have addtional wires at the door phone so I'm likely going to install a 2 pole relay cuz I can't find a decent 2 pole push button that matches the one that comes with the Channel Vison Door phone. On the door button push I pull in the double pole relay of which one side would go to AMX and the other side just does what the door button did. I haven't gotten around to this yet so I still working with the "Spy" motion detectors that I installed in the porch ceilings above the steps leading to the door. These trigger the cameras and the door chime but the one at the front door tend to give false alarms on occasion so I only allow it to initiate chime between 0600 - 2200 on holidays until I get a chance to do the relay thing.
If anyone has a link to decent 2 pole push buttons I would really prefer that over any thing else but if not I think a 2 pole relay would be the next best thing. Spy motion are pretty neat and only a 1" diameter flush mount detector but I don't like the occasional false trigger although I've never had an issue with the side door so maybe I should try and replace the one in front.