Allows calculation of sunrise, sunset, and moonphase
Calculates Sunrise and Sunset, along with the Civil, Nautical, and Astronomical times for Sunrise/Sunset. It can also tell you the moon phase for a given time.

Author: Peter Buelow

Maintainer: Peter Buelow

Read the documentation


This library is compatible with the esp8266, esp32, samd, sam, particle-photon, particle-electron, particle-p1, spark-core architectures so you should be able to use it on the following Arduino boards:


To use this library, open the Library Manager in the Arduino IDE and install it from there.