Read the statement by Michael Teeuw here.
Issues with MMM-json-feed module.
-
I am new to this so I apologize if this is a dumb question.
I installed a module called MMM-json-feed… my intention is to display the Json file I get from this website (https://corona.lmao.ninja/all) on the bottom-left of of the screen but all I am getting is a series of vertical dots.
{ module: 'MMM-JsonTable', position: 'bottom_left', header: 'Tracking Corona ', config: { url: 'https://corona.lmao.ninja/all', // Required } }any help would be greatly appreciated.
-
@Aurelio
I went through the read me and it says url DEPRECATED, Please use urls instead:urls: [ 'http://your.server.json.here/abc1.json', 'http://your.server.json.here/abc2.json', ]Maybe that is the problem?
-
tank you for the recommendation but still no luck…maybe the module doesn’t work for what I am trying to do
{ module: "MMM-JsonTable", title: "Corona virus", position: "top_left", header: "Tracking Corona", config: { urls: [ "https://corona.lmao.ninja/all", // Required "https://corona.lmao.ninja/all", ] } }, -
@Aurelio
Sorry it did not work, I am not an expert, it was just a hint
Have you tried this one?
https://github.com/timdows/MMM-JsonTable -
@thedoorsfanatic
I appreciate it. -
@Aurelio what does your data look like? do you need to use any of the config parameters to get to the right data elements?
i did this{ module: 'MMM-json-feed', position: 'middle', config: { urls: [ "https://corona.lmao.ninja/all" ] } }and the data appeared in the center of the page as expected
-
@sdetweil Interesting, I just copied your code and added to my config file and still nothing displays. Maybe the module as a problem in my setup.
thank you for trying for me…
-
@Aurelio just for testing, rename your config.js out of the way,
then copy the sample
cp config.js sample config.jsthen add my config info to the end
then try it…
-
@sdetweil also, the module ALWAYS displays a header
and the classes are “dimmed small”
(so , hard to read) -
Thank you Sam, I did what you recommended and still nothing. I ever loaded the SD-card from a fresh img and only loaded MagicMirror, same result. I do appreciate your taking your time to answer my question.
-
@Aurelio if u put this in a browser, does it return data?
https://corona.lmao.ninja/allmine returns this
{"cases":285706,"deaths":11876,"recovered":93584,"updated":1584796664654}I have restarted MM a couple times today and the display comes up each time
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login