Package: wnpp
Severity: wishlist
Owner: Steffen Vogel <p...@steffenvogel.de>

  Package name    : sun
  Version         : 0.1
  Upstream Author : Steffen Vogel <p...@steffenvogel.de>
  URL             : 
http://www.steffenvogel.de/2012/12/23/cron-jobs-fur-sonnenauf-untergang/
  License         : GPL
  Programming Lang: ANSI C
  Description     : sun calculates the sun's rise/set times, the solar noon and 
the daylight time duration

I wrote this tool to easily schedule the switching of my lighting for home 
automation.
Its a stand alone binary following the unix paradigm. Its designed to be used 
in conjunjtion with cron, at
date etc.

For me this tool is extremly useful as you might note with these examples:

Schedule a BIOS wakeup 10 minutes before the sunrise in Berlin:
  nvram-wakeup -s $(date -d "-10min $(sun rise -q Berlin)" +%s)

Shutdown the system 10 minutes after sunset:
  shutdown $(date -d +10min $(src/sun set --lat=50.55 --lon=-6.2) +%H:%M)

Enable my lighting at cilil twiglight:
  echo ~/bin/enable-lightning | at $(sun set -q Frankfurt -t civil)

The sourcecode is hostet at github:
https://github.com/stv0g/sun

Debian packaging is already completed. I'm currently providing the package in 
my own apt repository:
http://packages.0l.de/debian/pool/main/s/sun/

Its based on the solar calculations:
http://lexikon.astronomie.info/zeitgleichung/neu.html
from Arnold Barmettler <barmett...@astronomie.info>

Merry X-Mas

Steffen

PS: Please excuse my mistakes i've propably made. Thats my first ITP and Debian 
package overall...


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to