• 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 9.5k 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.
  • F Offline
    FatTony123 @sdetweil
    last edited by Dec 27, 2020, 4:39 PM

    @sdetweil Thanks for the hint! (still not that familiar with npm ;-))
    Updated the install instructions and package.json file accordingly.

    1 Reply Last reply Reply Quote 0
    • M Offline
      MajorC Project Sponsor @FatTony123
      last edited by Jan 7, 2021, 4:01 PM

      @FatTony123 said in MMM-bergfex not working:

      Hi all,
      I’ve created a fork and did some updates to the code and config.
      You can now select the country where bergfex should choose the values from.

      Feel free to test and let me know any feedback.
      So far I can show multiple countries and their values…

      Works like a charm. Thank you very much!

      1 Reply Last reply Reply Quote 0
      • F Offline
        FatTony123
        last edited by Jan 8, 2021, 10:18 AM

        Great to hear, thanks!

        Let me know if you have any question, comments or ideas for improvements…

        Cheers!

        1 Reply Last reply Reply Quote 0
        • M Offline
          MajorC Project Sponsor
          last edited by Jan 8, 2021, 10:56 AM

          I never saw values for “neu” maybe they are not provided by the city. Perhaps this would be nice to have this optional to save some unused space.

          And I will play around with the CSS at the weekend. I would like to have some more space between each column.

          F 1 Reply Last reply Jan 9, 2021, 8:59 PM Reply Quote 0
          • F Offline
            FatTony123 @MajorC
            last edited by FatTony123 Jan 9, 2021, 9:02 PM Jan 9, 2021, 8:59 PM

            @MajorC said in MMM-bergfex not working:

            I never saw values for “neu” maybe they are not provided by the city. Perhaps this would be nice to have this optional to save some unused space.

            Any particular values you are missing / not seeing? The values should get updated once they are updated on bergfex.
            Which cities / config are you using? Then I can check on my mirror…

            M 1 Reply Last reply Jan 10, 2021, 3:29 PM Reply Quote 0
            • M Offline
              MajorC Project Sponsor @FatTony123
              last edited by Jan 10, 2021, 3:29 PM

              @FatTony123 my mistake. It looks like the cities I have in my configurations are not reporting “new snow” (Neu") to bergfex. So I never saw something where. I just added another city and it works quite nice.

              As I am not interested in “new snow”, it would be nice to be able to activate/deactivate all (Tal, Berg, Neu, Lifte) as an option in the config. But I can do that by myself in the source code.

              F 1 Reply Last reply Jan 10, 2021, 5:11 PM Reply Quote 0
              • F Offline
                FatTony123 @MajorC
                last edited by Jan 10, 2021, 5:11 PM

                @MajorC Sounds like a good idea to set the options that should be visible on the mirror. Let me know once you have something so I can play with it too ;-)

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MajorC Project Sponsor
                  last edited by Jan 28, 2021, 3:00 PM

                  I played a little bit around with coustom.css and at the moment it looks nice to me with:

                  /**
                   * MMM-bergfex
                   */
                  .MMM-bergfex td {
                  	padding-right: 20px;
                  }
                  
                  F 1 Reply Last reply Feb 1, 2021, 8:00 AM Reply Quote 0
                  • F Offline
                    FatTony123 @MajorC
                    last edited by Feb 1, 2021, 8:00 AM

                    @majorc Thank you, I’ve added that and updated the repo.

                    M 1 Reply Last reply Feb 4, 2021, 10:23 AM Reply Quote 0
                    • M Offline
                      MajorC Project Sponsor @FatTony123
                      last edited by Feb 4, 2021, 10:23 AM

                      @fattony123

                      I added a second element, so it looks nice, even if there is now data available e.g. “new snow”.

                      .MMM-bergfex td {
                      	padding-right: 20px;
                      	min-width: 35px;
                      }
                      
                      F 1 Reply Last reply Feb 9, 2021, 9:09 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 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