Solunar calendar module for MagicMirror. It displays the current days moon phase, rating (for fishing/hunting), and optimal major and minor times.
Supports multiple APIs (no API key required):
metNo: MET Norway Sunrise APIsolunarOrg: Solunar APIauto(default): trymetNofirst, then fall back tosolunarOrg
metNo data is mapped to Solunar-style output. Day rating is estimated from moon phase proximity to new/full moon.
Goto modules directory in your MagicMirror install and:
$ git clone https://github.com/poolis/MMM-Solunar
Add block to config.js:
...
{
module: "MMM-Solunar",
header: "Solunar info",
config: {
updateInterval: 60 * 60 * 1000, // 1 hour
latitude: 40.7128, // Default: New York City
longitude: -74.0060,// Default: New York City
tz: -4, // Default: Eastern Daylight Time (EDT)
apiProvider: "auto" // "auto", "metNo", or "solunarOrg"
}
}
...
Use apiProvider to select which backend API the module calls:
auto: TrymetNofirst and automatically fall back tosolunarOrgif request fails.metNo: Callsapi.met.noand converts moon events into major/minor windows.solunarOrg: Uses the original solunar.org response directly.
