Bug#706861: ITP: calcelestial -- calcelestial calculates positions, rise & set times of celestial bodies.
Package: wnpp
Severity: wishlist
Owner: Steffen Vogel <post@steffenvogel.de>
Package name : calcelestial
Version : 0.3
Upstream Author : Steffen Vogel <post@steffenvogel.de>
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 [1]
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 [2].
My package is already available at Debian mentors [3].
Im looking for a sponsor.
Regards
Steffen
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696593
[2] https://github.com/stv0g/calcelestial
[3] http://mentors.debian.net/package/calcelestial
Reply to: