• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Issues with MMM-json-feed module.

Scheduled Pinned Locked Moved Unsolved Troubleshooting
11 Posts 3 Posters 2.6k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    Aurelio
    last edited by Mar 19, 2020, 2:57 PM

    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.

    T 1 Reply Last reply Mar 20, 2020, 12:21 PM Reply Quote 0
    • T Offline
      thedoorsfanatic @Aurelio
      last edited by Mar 20, 2020, 12:21 PM

      @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?

      My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

      A 1 Reply Last reply Mar 20, 2020, 1:01 PM Reply Quote 0
      • A Offline
        Aurelio @thedoorsfanatic
        last edited by Mar 20, 2020, 1:01 PM

        @thedoorsfanatic

        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",
                                    ]
                            }
                    },
        
        T S 2 Replies Last reply Mar 20, 2020, 1:17 PM Reply Quote 0
        • T Offline
          thedoorsfanatic @Aurelio
          last edited by Mar 20, 2020, 1:17 PM

          @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

          My Smart Mirror YouTube playlist: https://www.youtube.com/playlist?list=PL9Iv_4Mvy6o2tnvdhNBstVWNefgUP9ELp

          A 1 Reply Last reply Mar 20, 2020, 4:17 PM Reply Quote 0
          • A Offline
            Aurelio @thedoorsfanatic
            last edited by Mar 20, 2020, 4:17 PM

            @thedoorsfanatic
            I appreciate it.

            1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @Aurelio
              last edited by sdetweil Mar 20, 2020, 5:54 PM Mar 20, 2020, 5:49 PM

              @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

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              A 1 Reply Last reply Mar 20, 2020, 7:33 PM Reply Quote 0
              • A Offline
                Aurelio @sdetweil
                last edited by Mar 20, 2020, 7:33 PM

                @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…

                S 1 Reply Last reply Mar 20, 2020, 7:36 PM Reply Quote 0
                • S Away
                  sdetweil @Aurelio
                  last edited by sdetweil Mar 20, 2020, 7:36 PM Mar 20, 2020, 7:36 PM

                  @Aurelio just for testing, rename your config.js out of the way,

                  then copy the sample
                  cp config.js sample config.js

                  then add my config info to the end

                  then try it…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Mar 20, 2020, 7:41 PM Reply Quote 0
                  • S Away
                    sdetweil @sdetweil
                    last edited by Mar 20, 2020, 7:41 PM

                    @sdetweil also, the module ALWAYS displays a header
                    and the classes are “dimmed small”
                    (so , hard to read)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Aurelio
                      last edited by Mar 21, 2020, 1:23 PM

                      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.

                      S 1 Reply Last reply Mar 21, 2020, 1:27 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/11
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy