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.

    MMM-COVID19 not updating

    Scheduled Pinned Locked Moved Troubleshooting
    28 Posts 5 Posters 6.7k Views 5 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.
    • B Offline
      Baraka @sdetweil
      last edited by

      @sdetweil it is your module , who is not working at the moment

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Baraka
        last edited by

        @Baraka hm…
        use a browser, go to this page
        https://www.ecdc.europa.eu/en/publications-data/download-todays-data-geographic-distribution-covid-19-cases-worldwide
        and click on download csv in the middle of the page
        this is the data the module uses. I can access the file and it is current

        Screenshot at 2020-10-22 12-26-29.png

        also, can u look in the log (either the window for npm start, or pm2 logs --lines=??? for pm2
        ??? is a number, default 15

        the module should retry every 15 minutes

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          Baraka
          last edited by

          i have this in the log:

          requested file exists=modules/MyCovid19/countries-rawdata-10-22-2020.csv sending back to module_16_MyCovid19_4881
          ready to get data id=module_16_MyCovid19_4881
          check for file =modules/MyCovid19/countries-rawdata-10-22-2020.csv
          processing id=module_16_MyCovid19_4881 file=modules/MyCovid19/countries-rawdata-10-22-2020.csv fields=[object Object]
          done processing file id=module_16_MyCovid19_4881
          have data, now filter id=module_16_MyCovid19_4881
          processing for [“Germany”]
          location=Germany
          there are 0 entries to filter
          send filtered data id=module_16_MyCovid19_4881

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Baraka
            last edited by

            @Baraka said in MMM-COVID19 not updating:

            modules/MyCovid19/countries-rawdata-10-22-2020.csv

            ok, can u do an ls -laF on the file
            and then rename it to …csv.old (I might want to see it)
            I try not to download more than once a day to save peoples bandwidth

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              Baraka @sdetweil
              last edited by

              @sdetweil i have rename the file and start new the mirror now i have the diagramm. Thanks

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @Baraka
                last edited by

                @Baraka yes, I am interested in what is in the file, how big it is… if 0 size then I need to look at that in case of a download error…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  Baraka @sdetweil
                  last edited by

                  @sdetweil the old file has 468 bytes - > maybe corrupt , the new and correct has 3491729 bytes

                  S 2 Replies Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @Baraka
                    last edited by

                    @Baraka thank you…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • S Do not disturb
                      sdetweil @Baraka
                      last edited by

                      @Baraka I have pushed a fix for the small file problem… it will erase it and act like it wasn’t there

                      git pull to get the update

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B 1 Reply Last reply Reply Quote 0
                      • B Offline
                        Baraka @sdetweil
                        last edited by

                        @sdetweil No Graph is displayed, something has changed in csv file…

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • First post
                          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