• 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-DWD-Pollen

Scheduled Pinned Locked Moved Health
healthweather
32 Posts 10 Posters 9.4k Views 10 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
    bhepler Module Developer @Sachse
    last edited by May 13, 2020, 2:19 AM

    @Sachse - I mean the console in Chromium. The dev mode should display the console on your mirror so you can see the log from the display layer. The log in “bash” is the log from the back end (the node_helper.js and similar scripts).

    @Sachse said in MMM-DWD-Pollen:

    ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080

    This means that some other process is already using port 8080 on your Pi. Usually, this means that you have two instances of Magic Mirror running. You may have something else using that port, but usually it’s another script attempting to also run your mirror. First, let’s check if PM2 has two instances defined. If you type pm2 status all what do you see?

    General principle: You can ignore just about everything in a log file unless it is preceded by ERROR.

    1 Reply Last reply Reply Quote 0
    • S Offline
      Sachse
      last edited by May 13, 2020, 6:29 AM

      @bhelper

      Ohh, this is almost embarrassing. I could have figured that out myself by looking at netstat -plan|grep 8080. I was just irritated that the other modules worked without problems, so I didn’t suspect the error there. The module “MMM-DWD-Pollen” works great now :-)

      Thanks for your support

      B C K 3 Replies Last reply May 14, 2020, 3:43 AM Reply Quote 1
      • T Offline
        TechJak7000
        last edited by May 13, 2020, 8:25 AM

        Hello Carsten,

        Thank you for making a such a useful module, just out of curiosity would like to know that you can the data free from DWD, I would love to have one for Denmark, I tried to contact the AAD :- “Astma-Allergi Denmark” but could not find a solution.

        I was wondering if you can assist me making one for Denmark, I will be wonderful and beneficial for many.

        Best Regards
        JG

        C 1 Reply Last reply May 17, 2020, 6:28 PM Reply Quote 0
        • B Offline
          bhepler Module Developer @Sachse
          last edited by May 14, 2020, 3:43 AM

          @Sachse - Glad you got it working!

          Don’t worry about the “gee, I could have figured that out for myself” thing. Today, it took me hours to realize that one of my customer’s problems was he had the wrong time zone set on his laptop. It’s the simple fixes with vague errors that hurt the most.

          1 Reply Last reply Reply Quote 1
          • C Offline
            CarstenD @Sachse
            last edited by May 17, 2020, 6:18 PM

            @Sachse Glad you got it working with the support from @bhelper. Sorry that I could not reply fast enough. Thanks for using!

            1 Reply Last reply Reply Quote 0
            • C Offline
              CarstenD @duxnobis
              last edited by May 17, 2020, 6:23 PM

              @duxnobis In general yes, I think Switzerland gets data from Meteo Schweiz (https://opendata.swiss/de/dataset/messstationen-des-nationalen-pollenmessnetzes)

              1 Reply Last reply Reply Quote 0
              • C Offline
                CarstenD @TechJak7000
                last edited by May 17, 2020, 6:28 PM

                @TechJak7000 said in MMM-DWD-Pollen:

                Astma-Allergi Denmark

                I found some information here: https://github.com/rugaard/pollen
                Thus it looks like Astma-Allergi Denmark does not offer any official API. Thus you have to use this API here (which I guess takes the data from the website) and renders the data accordingly. There are only two regions as far as I can see (East and West?) and 25 pollen. If the API works it should no big problem.

                T 1 Reply Last reply May 18, 2020, 11:42 AM Reply Quote 0
                • T Offline
                  TechJak7000 @CarstenD
                  last edited by TechJak7000 May 18, 2020, 11:43 AM May 18, 2020, 11:42 AM

                  @CarstenD Thank you very much for your attention and effort. I have contacted the owner of the post to have more in depth information how to go about and use this API.
                  As far as my limited knowledge for implementing this, one has to install / use 2 different programs systems to utilize it, and I have sent the guy a message with and example of the “MMM-pollen” to give him and idea of what I am looking for and how can I implement this, I hope I get a useful response.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    CarstenD
                    last edited by Jun 10, 2020, 2:13 PM

                    Added the option to select which Pollen to display through config.

                    M 1 Reply Last reply Mar 20, 2021, 9:59 AM Reply Quote 1
                    • M Offline
                      MajorC Project Sponsor @CarstenD
                      last edited by Mar 20, 2021, 9:59 AM

                      I have the DWD-Pollen on the right side of my scree. Unfortunately, there is a gap as you can see in the picture.

                      pollen.jpg

                      I checked the CSS, but it is a table and I can’t see a good way to get rid of the space on the right.

                      Any idea is appreciated.

                      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