• 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 doesent load respectively should be a valid spdx license expression

Scheduled Pinned Locked Moved Troubleshooting
30 Posts 6 Posters 16.9k Views 6 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
    astrakid
    last edited by Nov 6, 2017, 6:27 AM

    not yet, i am waiting for the files of gianienderlin, then i can find out what is the fix.

    1 Reply Last reply Reply Quote 0
    • G Offline
      gianienderlin
      last edited by Nov 6, 2017, 5:32 PM

      here are my custom files. please let me know if they work.

      http://www.filehosting.org/file/details/705911/MMM-bergfex.zip

      M H 2 Replies Last reply Nov 6, 2017, 7:54 PM Reply Quote 0
      • A Offline
        astrakid
        last edited by Nov 6, 2017, 7:01 PM

        @gianienderlin said in MMM-Bergfex doesent load respectively should be a valid spdx license expression:

        custom files. please let me k

        as far as i could see there is one main change in node_helper.js:
        instead of
        var sys = require(‘sys’);

        he uses
        var util = require(‘util’);

        regards,
        andre

        1 Reply Last reply Reply Quote 0
        • M Offline
          marphi1602 @gianienderlin
          last edited by Nov 6, 2017, 7:54 PM

          @gianienderlin worked for me! The only thing what I´ve changed was the const in node_helper.js.
          Due to the fact that I am more interested in seeing the results of the Austrian ski resorts I put // Constants
          const URL = “http://www.bergfex.at/oesterreich/schneewerte/”;

          Thank you!

          1 Reply Last reply Reply Quote 0
          • G Offline
            gianienderlin
            last edited by Nov 7, 2017, 6:45 AM

            yes this is possible: -) but thought there was more…

            1 Reply Last reply Reply Quote 0
            • M Offline
              marphi1602
              last edited by Nov 12, 2017, 11:13 AM

              anybody knows how I have to set ‘Kitzbühel - Kirchberg’ to the config? I think I am struggling with the “ü” same also for special characters like “-”… In case I am putting Kitzbühel into the config it says loading…

              1 Reply Last reply Reply Quote 0
              • A Offline
                astrakid
                last edited by astrakid Nov 12, 2017, 2:33 PM Nov 12, 2017, 2:28 PM

                @marphi1602 said in MMM-Bergfex doesent load respectively should be a valid spdx license expression:

                Kitzbühel - Kirchberg

                it works for me without an issue. my config part:

                                {
                                        module: 'MMM-bergfex',
                                        position: 'top_right',
                                        classes: 'small dimmed',
                                        config: {
                                            updateInterval: 30*60*1000,
                                            animationSpeed: 0,
                                            header: 'Schneebericht',
                                                skiareas: [
                                                                'Fieberbrunn - Saalbach Hinterglemm Leogang',
                                                                'Kitzbühel - Kirchberg',
                                                       ],
                                                shortenArea: 20,
                                                cssclassrow: 'normal',
                                                cssclassheader: 'bright'
                
                                        }
                                },
                

                edit: which ‘locale’ are you using? i have “C” configured except “LANGUAGE=” and “LC_ALL=”.
                edit2: maybe you can try this (this is what is visible in the logfile): ‘Kitzbhel - Kirchberg’

                M 1 Reply Last reply Nov 12, 2017, 8:01 PM Reply Quote 0
                • M Offline
                  marphi1602 @astrakid
                  last edited by marphi1602 Nov 12, 2017, 8:02 PM Nov 12, 2017, 8:01 PM

                  @astrakid thanks! I checked the config once again and I’ve seen some odd ascii characters hence it hasn’t worked properly. Now it’s working!

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    marphi1602
                    last edited by Nov 13, 2017, 9:23 PM

                    Is there any chance to highlight this ski resort with the highest amount of fresh snow?

                    A 1 Reply Last reply Nov 14, 2017, 7:07 AM Reply Quote 0
                    • H Offline
                      hermlam @gianienderlin
                      last edited by Nov 14, 2017, 6:06 AM

                      @gianienderlin @astrakid Even after copying these files, the problem stays: the only thing I see is the header and ‘_loading…’

                      M 1 Reply Last reply Nov 14, 2017, 6:13 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        12/30
                        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