Sun and Moon

Data Source

Calculates position of Sun and Moon.
  • Sun and Moon Position
    Sun and Moon Position

Build Status Coverage Status

Sun and Moon Datasource Plugin for Grafana

SunAndMoon is a Datasource Plugin for Grafana that calculates the position of Sun and Moon as well as the Moon illumination using SunCalc.

Additionally it provides annotations for sunrise, sunset, twilight, moonrise, moonset and others.



All values are location dependent, the reference location needs to be configured in the datasource settings.

SunAndMoon Configuration


This projected is licensed under the terms of the MIT license.

Sign up Now


  • Grafana 7.0.0