Iam letting the arduino act as a web server (wifly library)
I made a small routine that checks for ?COMMAND and then perform different actions depending on the commands I send to my arduino over HTTP. ex. http://10.0.0.50/?RESTART
other commands i use: ?SHOWMEM ?TEMP ?LIGHTON ?LIGHTOFF ?STROBExx (stobing a bright diod for xx sec) ?SCREAM (making ultra sonic noise)
But for sun raise and down I will import the total list of 366 days data into the Flash (about 7.5K data) as a backup if I loose the connection.
Why do it simple when you can add some extra fun to it
( I could just let my linux server wget the time everyday instead)
If you need to find the sun up and down data for your location: http://www.timeanddate.com