Bug#706861: ITP: calcelestial -- calcelestial calculates positions, rise & set times of celestial bodies.
Owner: Steffen Vogel <email@example.com>
Package name : calcelestial
Version : 0.3
Upstream Author : Steffen Vogel <firstname.lastname@example.org>
URL : http://github.com/stv0g/calcelestial
License : GPL
Programming Lang: C
Description : calcelestial calculates positions, rise & set times of celestial bodies.
I wrote this tool to easily schedule the switching of my lighting for home automation.
Its the successor of my previous tool called sun which was limited to rise/set times of the sun 
calcelestial is a lot more powerful tool as its supports more planets and the calculation of position.
Its a little tool following the unix paradigm. Its designed to be used in conjunjtion with cron, at
date etc. Calculations are done with the libnova library to minimize code duplication.
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 "-10 min $(calcelestial -p sun -m rise -q Berlin)" +%s)
Shutdown the system 10 minutes after sunset:
shutdown $(date -d +10 min $(calcelestial -p sun -m set --lat=50.55 --lon=-6.2) +%H:%M)
Enable my lighting at cilil twiglight:
echo ~/bin/enable-lightning | at $(calcelestial -p sun -m set -q Frankfurt -H civil)
The sourcecode is hosted at github .
My package is already available at Debian mentors .
Im looking for a sponsor.