Hi,
I'm new to Arduino and am about to start my first project. I'm trying to create a library for Arduino that can start scheduled tasks at preset times and dates that is compatible with a crestron home automation system that has similar schedules already set. I'll take care of getting those schedules into the arduino. here's my needs so far.
- schedule function to run based on a specific Date and time such as:
- Every day at 2:00 PM
- Every day at 1:00 AM in all months except Jan, Feb, Mar.
- Once on May 26th, 2011 at 11:33 PM
- 1 hour after sunset
- Every day at sunrise minus 1 hour
Notice the astronomical time needs in some of the examples. I guess I will need to calculate this based on longitude and latitude.
Does anyone know of a library that will help with this? I found Arduino Playground - Time but I'm not sure if this will do everything or if there is something better.
Thx,