-
heliocron
A command line application written in Rust capable of delaying execution of other programs for time periods relative to sunrise and sunset.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Fortunately, cleverer people than me worked out all the maths for it, and I only had to convert it to rust and wrap it in a CLI. Here's the heavy duty maths in the code, which is based and checked against the calculations here.
Wow. I just made a DMX based LED system with the intent of adjusting the warmth of the light over the course of the day to simulate dawn and dusk. (literally "just" https://gitlab.com/rrichardson/daylight-rpi) I searched crates.io and google for a "sun based" timer for Rust. I couldn't find anything. So I just hacked a basic (static) scheduler together. I am not sure what good keywords are for such a project, but it's not easy to find, apparently.