MMM-nasaastropic no picture
I installed the module and it only shows the header and the the url of which should load the image from. But url says: https://apod.nasa.gov/apod/undefined. What does this means?
It most likely means that the url to the picture is broken. Having made several modules that use the NASA API I would bet this is the problem. NASA has been known to change their API data.
You can send a message and/or create an issue at the repo and see if the author responds. His last commit to this module was 2 years ago.
In the meantime, if you are interested in this type of module then you could try https://github.com/mykle1/MMM-NASA
I tried the link and it is working but it shows a video instead of a picture. Is that why it doesn’t show on my MM? And that means that every time that NASA will upload a video intstead of a picture I will get the udefined url? I already have installed NASA.
Does anyone knows who can change the title color of the module if it doesn’t have css file? I tried many different entries in my custom css but nothing worked. Thank you in advance.
stuartiannaylor last edited by
guess you could just add it in the code header.style.background = “gray”; just have it before the wrapper code and set it there.
But think you can just add a style class in config.js
That worked! Thank you mate! I am changing the status of the topic as solved.
grena last edited by
https://apod.nasa.gov/apod/undefinedwith MMM-nasaastropic can occur when the media published by NASA is not an image (a video for example).