-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get planet positions as sensors #15
Comments
Excellent idea! We definitely already calculate direction and altitude, so that would indeed be relatively easy to expose. Rise, median, and set times would take a little more computation to follow the curves and estimate when those happen. There's a utility in skyfield to do this (https://rhodesmill.org/skyfield/almanac.html#risings-and-settings) so that would be easy enough to code up as well. I'd be interested in supporting this or reviewing a PR if anyone wants to contribute it. |
Please consider making an “down sized” integration which creates a sensor with basic information about the moons position (azimuth, elevation etc.) and phase. Or the possibility to select in the integration interface which planet to select (ex. just the moon). - Maybe this will then make the CPU load lower ? |
HA has an integration that does this already. Also AstroWeather (https://github.com/mawinkler/astroweather) will provide you with a huge amount of data, not just the moon phase. |
Since this integration is already calculating the positions of the planets, it would be nice to have it provide sensors for the:
of each planet, dwarf planet, the sun, and the moon.
An example would be something like this: https://www.timeanddate.com/astronomy/night/usa/new-york
The text was updated successfully, but these errors were encountered: