Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!
Now you can add a picture of the current moon phase on your Magic Mirror.
Based on the simplicity of mmm-weatherchart , this module will fetch an image from whatever website that updates the moon phase everyday and keeps the image name the same. Currently I am using: http://api.usno.navy.mil/imagery/moon.png
The maximum size of the image can be up to 1024x1024, by default this is set to 200x200.
I recommend using it without any header , so you have a beautiful sole moon picture wherever you want
It can be dowloaded from: https://github.com/spectroman/mmm-moon-phases
Please add some pictures to your post!
Yes, I was willing to do that, but I need to have some post in my blog to link images in
and here it is with no Header in the config:
and this one, with a Header information:
Updated to properly fetch new images each day.
spiffler last edited by
@spectroman this is pretty cool… I’m just in the beginner phase setting up my mm… also… my 11 month old baby girl has just started recognising the moon… we live in HK … so there are too many sky scrapers around and we had just set out to look for the moon, as we have been doing on our recent evening walks … and started thinking about incorporating the moon (and maybe it’s location as well) on my mm… then I come here and find this
Tl, dr: this is pretty cool
shavesophere last edited by
love this module! good stuff. Does anyone else have the problem of the moon image not loading at startup? All i get is a blank square with two sides 1px wide. However, when I restart MM it usually works.
passi1995 last edited by
@spectroman I like your module! Maybe you can add the option that i can configurate the time when the module is shown or hide?
So that the moduel is only shown maybe between 6pm and 7am?
checkit last edited by
Just found your module. I was pretty excited about it. Looks like http://api.usno.navy.mil/imagery/moon.png has restricted access. Anyone else getting this error?
spectroman last edited by spectroman
@checkit, yes these recent days I have seen this error as well… I am looking around for another source.
I will update the module as soon as I found one.
I noticed that entire parts of this server became unavailable, looks like nothing good is happening there atm.
checkit last edited by
@spectroman thanks! I am on the lookout too! I will let you know what I come up with if I find anything.