• 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.

MMM-bergfex not working

Scheduled Pinned Locked Moved Troubleshooting
mmm-bergfexbergfexsnow
38 Posts 5 Posters 10.9k 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.
  • S Away
    sdetweil @MajorC
    last edited by Sep 27, 2020, 3:52 PM

    @MajorC of course

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • M Offline
      MajorC Project Sponsor
      last edited by Sep 27, 2020, 3:54 PM

      sorry, I am totaly new to this world, my first Raspberry project.

      
      pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $ npm install async --save
      npm WARN MMM-bergfex@ license should be a valid SPDX license expression
      
      + async@3.2.0
      added 1 package from 1 contributor and audited 66 packages in 2.709s
      
      2 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $ npm install sys -- save
      npm WARN MMM-bergfex@ license should be a valid SPDX license expression
      
      + sys@0.0.1
      + save@2.4.0
      added 13 packages from 11 contributors and audited 79 packages in 8.763s
      
      2 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      pi@MagicMirror:~/MagicMirror/modules/MMM-bergfex $
      
      
      S 1 Reply Last reply Sep 27, 2020, 3:55 PM Reply Quote 0
      • S Away
        sdetweil @MajorC
        last edited by Sep 27, 2020, 3:55 PM

        @MajorC and then start mm

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          MajorC Project Sponsor
          last edited by Sep 27, 2020, 3:58 PM

          well, I have my mirror back, including Bergfex Snow Report. At the moment there is only “loading…” visible.

          I will double check my config.

          Maybe you can include the help to the git? Would be nice to have it working as smooth as the rest in this wonderful project.

          S 1 Reply Last reply Sep 27, 2020, 3:59 PM Reply Quote 0
          • S Away
            sdetweil @MajorC
            last edited by Sep 27, 2020, 3:59 PM

            @MajorC he hasn’t updated in 2 years… so unlikely

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              MajorC Project Sponsor
              last edited by Sep 27, 2020, 4:01 PM

              And it is working.

              This is important:

              This is an array with strings of the skiareas to display. String must exactly match the name on http://www.bergfex.at/oesterreich/schneewerte/
              
              S 1 Reply Last reply Sep 27, 2020, 4:03 PM Reply Quote 0
              • S Away
                sdetweil @MajorC
                last edited by Sep 27, 2020, 4:03 PM

                @MajorC yes, precise config is required in each module. some don’t document well…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MajorC Project Sponsor
                  last edited by Sep 27, 2020, 4:08 PM

                  Thanks for your very fast help. Maybe someone will rewrite this MMM. Winter is coming!

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    Suboshi
                    last edited by Nov 12, 2020, 8:45 PM

                    Hi ,

                    sorry for bringing this up again. I also have the bergfex “loading…” issue. However, in the logs I can see the values are retrieved. They just don’t show in the mirror:

                    0|mm     | 83 snow reports from bergfex.at retrieved.
                    0|mm     | [2020-11-12 21:40:29.367] [LOG]    searching for Koralpe
                    0|mm     | [2020-11-12 21:40:29.369] [LOG]    searching for Hintertuxer Gletscher / Hintertux
                    0|mm     | [2020-11-12 21:40:29.370] [LOG]    searching for Ischgl
                    0|mm     | [2020-11-12 21:40:29.373] [LOG]    searching for Obergurgl - Hochgurgl
                    0|mm     | [2020-11-12 21:40:29.375] [LOG]    searching for Seefeld/Rosshütte
                    0|mm     | [2020-11-12 21:40:29.376] [LOG]    searching for Sölden
                    0|mm     | [2020-11-12 21:40:29.377] [LOG]    searching for Stubaier Gletscher / Stubaital
                    0|mm     | [2020-11-12 21:40:29.377] [LOG]    
                    0|mm     | [
                    0|mm     |   null,
                    0|mm     |   {
                    0|mm     |     skiarea: 'Hintertuxer Gletscher / Hintertux',
                    0|mm     |     tal: '-',
                    0|mm     |     berg: '135 cm',
                    0|mm     |     neu: '-',
                    0|mm     |     lifte: '0',
                    0|mm     |     update: ''
                    0|mm     |   },
                    0|mm     |   {
                    0|mm     |     skiarea: 'Ischgl',
                    0|mm     |     tal: '-',
                    0|mm     |     berg: '20 cm',
                    0|mm     |     neu: '-',
                    0|mm     |     lifte: '0',
                    0|mm     |     update: ''
                    0|mm     |   },
                    0|mm     |   {
                    0|mm     |     skiarea: 'Obergurgl - Hochgurgl',
                    0|mm     |     tal: '-',
                    0|mm     |     berg: '75 cm',
                    0|mm     |     neu: '-',
                    0|mm     |     lifte: '0',
                    0|mm     |     update: ''
                    0|mm     |   },
                    0|mm     |   null,
                    0|mm     |   {
                    0|mm     |     skiarea: 'Sölden',
                    0|mm     |     tal: '19 cm',
                    0|mm     |     berg: '72 cm',
                    0|mm     |     neu: '-',
                    0|mm     |     lifte: '0',
                    0|mm     |     update: ''
                    0|mm     |   },
                    0|mm     |   {
                    0|mm     |     skiarea: 'Stubaier Gletscher / Stubaital',
                    0|mm     |     tal: '35 cm',
                    0|mm     |     berg: '110 cm',
                    0|mm     |     neu: '-',
                    0|mm     |     lifte: '0',
                    0|mm     |     update: ''
                    0|mm     |   }
                    0|mm     | ]
                    
                    

                    So the names of the resorts seem to be correct.
                    Any ideas on this one?

                    thanks
                    Chris

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      Suboshi
                      last edited by Nov 12, 2020, 8:51 PM

                      Argh… just 2 minutes after posting I found the issue:

                      I had 2 values “Koralpe” and “Seefeld/Rosshütte”, which were displayed in the log as NULL. Removing these entries made bergfex work…

                      Again, it was a typo ;)

                      thanks
                      Chris

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