Read the statement by Michael Teeuw here.
MMM-Lunartic
-
@mumblebaj said in MMM-Lunartic:
@Mykle1 It says :
This site can’t be reached api.usno.navy.mil’s server IP address could not be found.
from South Africa. I guess that it’s restricted somehow.That’s very possible…it could be blocked by your ISP OR the Navy could block the traffic to your server.
Try putting this in a browser window and see if you get results from that…
-
Works… UK
-
@cowboysdude That returned the following result:
{"age":19.928838935009,"illumination":72.74035463065,"stage":"waning","DFCOE":403666.04,"DFS":151987757.36,"FM":{"UT":1563313171.7967,"DT":"21:39:31-16 Jul 2019"},"NNM":{"UT":1564629175.4546,"DT":"3:12:55-1 Aug 2019"}}
-
That’s the return from my API for the data. The image comes from the USNO API
-
@Mykle1 now the image is not loading…
-
@Stoffbeuteluwe said in MMM-Lunartic:
now the image is not loading…
Yes, I see. The USNO API is having trouble at the moment. “api.usno.navy.mil refused to connect.”
I will see what i can find out.
in the meantime, you can use the MMM-Lunartic.js file that is inside the ‘temporary fix’ folder in the module folder. This will give you pictures until the api becomes functional again
-
@Mykle1 ok thanks
-
@Mykle1 Thanks. I set it to “animation” and it is working now.
-
@mumblebaj said in MMM-Lunartic:
Thanks. I set it to “animation” and it is working now.
yes because that uses a local .gif file that is included with the module.the alternate module.js file also uses local pix for just such an occasion. either will work. for now, the the usno api is still being a pain in the butt
-
@Mykle1 No problem. Thanks for a really nice module.