astral icon indicating copy to clipboard operation
astral copied to clipboard

Feature request: Calculate Moon rise and set times

Open rct opened this issue 3 years ago • 2 comments

It would be helpful if Astral could be used to calculate moon rise and set times in addition to phase of the moon.

I'm hoping this would be somewhat in scope for Astral since it is already calculating moon phase.

Support for moon rise and set would be useful in projects like Home Assistant that use Astral.

  • https://community.home-assistant.io/t/moon-rise-set/50896

rct avatar May 21 '21 20:05 rct

@sffjunkie any chance this might get added? There is a PR that supports that: https://github.com/sffjunkie/astral/pull/51

Misiu avatar Apr 08 '22 13:04 Misiu

@Misiu & @rct I'm now working on moon rise and set times (as well as changes for python 3.9, 3.10). I've got a bit of timezone funkiness to sort out but it should be out soon.

sffjunkie avatar May 26 '22 20:05 sffjunkie

how is it going with the 'timezones funkiness'? :) I am also looking forward to have this feature in Astral :)

galandilias avatar Sep 26 '22 06:09 galandilias

I've just released v3.0 which includes moon rise and set times as well a azimuth & elevation/zenith

sffjunkie avatar Oct 09 '22 15:10 sffjunkie