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 15.9k 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.
    • bheplerB Offline
      bhepler Module Developer @Sachse
      last edited by

      @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

        @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

          @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

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

            TechJak7000T 1 Reply Last reply Reply Quote 0
            • TechJak7000T Offline
              TechJak7000 @CarstenD
              last edited by TechJak7000

              @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

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

                M 1 Reply Last reply Reply Quote 1
                • M Offline
                  MajorC Project Sponsor @CarstenD
                  last edited by

                  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
                  • M Offline
                    MajorC Project Sponsor
                    last edited by

                    Update:
                    I now use:

                    .MMM-DWD-Pollen table {
                    	margin-left: auto;
                    	margin-right: -40px;
                    }
                    

                    Not sure if this is a good way, but it works for me at the moment.

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      CarstenD @MajorC
                      last edited by

                      @majorc Thanks. Somehow this does not really work on mine. Now the text is stretching into the right border.
                      But good that it works for you.

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MajorC Project Sponsor @CarstenD
                        last edited by

                        @carstend that is strange. This is the only css I use for DWD-Pollen. Do you have something else in your custom css?

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          Klinge
                          last edited by

                          Hello,
                          maybe someone of you could help me, because in my new opened topic I got no answers unfortunately.
                          I try to start the module MMM-DWD-Pollen. But the data will not be loaded. I am living in the region “Östl. Niedersachsen”. On the Github site this region is declared with the number “32”. And on the DWD Site it is declared with the number “5”. But both numbers are not working. And now I don´t know which number I can use for my region.
                          It would be great if someone could help me.
                          Thank you in advance.

                          S F 2 Replies Last reply Reply Quote 0
                          • S Offline
                            sdetweil @Klinge
                            last edited by

                            @Klinge if someone knows and is willing to help they will.
                            this forum is all volunteer community

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            K 1 Reply Last reply Reply Quote 0
                            • K Offline
                              Klinge @sdetweil
                              last edited by

                              @sdetweil said in MMM-DWD-Pollen:

                              if someone knows and is willing to help they will.
                              this forum is all volunteer community

                              Yes, I know, and that’s absolutely fine, of course. It was just another attempt here.

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                fatgrandma @Klinge
                                last edited by

                                @Klinge

                                The Number on github is the correct one as statet on the github site

                                “There is a map that sows all part regions (but you have to match it to the numbers shown above)”

                                Dumb take but did you try to just wait one day? DWD pushes the numbers out once a day, if there are no new ones it shows nothing on the module.

                                K 1 Reply Last reply Reply Quote 0
                                • K Offline
                                  Klinge @fatgrandma
                                  last edited by

                                  @fatgrandma Thank you for your answer.

                                  When I take the wrong number from the DWD site I got the message “No values today. No values tomorrow”. But you are right. In this case I have to wait a day more. I guess DWD published his new values at 11 a.m. every day, doesn´t it?

                                  But when I take the correct number from the github site(!), I get only the message “Loading”. And this has been the case for several days.

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    CarstenD
                                    last edited by

                                    Apparently DWD had changed its numbering. I updated the Readme.

                                    Those are the new regions:
                                    10=Schleswig-Holstein und Hamburg
                                    11=Inseln und Marschen
                                    12=Geest,Schleswig-Holstein und Hamburg
                                    20=Mecklenburg-Vorpommern
                                    30=Niedersachsen und Bremen
                                    31=Westl. Niedersachsen/Bremen
                                    32=Östl. Niedersachsen
                                    40=Nordrhein-Westfalen
                                    41=Rhein.-Westfäl. Tiefland
                                    42=Ostwestfalen
                                    43=Mittelgebirge NRW
                                    50=Brandenburg und Berlin
                                    60=Sachsen-Anhalt
                                    61=Tiefland Sachsen-Anhalt
                                    62=Harz
                                    70=Thüringen
                                    71=Tiefland Thüringen
                                    72=Mittelgebirge Thüringen
                                    80=Sachsen
                                    81=Tiefland Sachsen
                                    82=Mittelgebirge Sachsen
                                    90=Hessen
                                    91=Nordhessen und hess. Mittelgebirge
                                    92=Rhein-Main
                                    100=Rheinland-Pfalz und Saarland
                                    101=Rhein, Pfalz, Nahe und Mosel
                                    102=Mittelgebirgsbereich Rheinland-Pfalz
                                    103=Saarland
                                    110=Baden-Württemberg
                                    111=Oberrhein und unteres Neckartal
                                    112=Hohenlohe/mittlerer Neckar/Oberschwaben
                                    113=Mittelgebirge Baden-Württemberg
                                    120=Bayern
                                    121=Allgäu/Oberbayern/Bay. Wald
                                    122=Donauniederungen
                                    123=Bayern nördl. der Donau, o. Bayr. Wald, o. Mainfranken
                                    124=Mainfranken

                                    C 1 Reply Last reply Reply Quote 0
                                    • C Offline
                                      CarstenD @CarstenD
                                      last edited by

                                      I checked your region (32) and there is indeed no data from DWD. The only region is 31 with data.

                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        Klinge @Sachse
                                        last edited by

                                        @Sachse Please excuse me for replying to such an old post. But unfortunately I have the same problem as you had. The module only worked fine for a few days, and now it won’t load the data any more. I have now tried to reproduce your solution. But I unfortunately did not solve it. When I enter “pm2 status” and “netstat -plan|grep 8080”, I get the following output.

                                        pi@raspberrypi:~/MagicMirror/modules $ pm2 status
                                        ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
                                        │ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
                                        ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
                                        │ 0  │ MagicMirror    │ default     │ 2.26.0  │ fork    │ 749      │ 5h     │ 0    │ online    │ 0%       │ 2.6mb    │ pi       │ enabled  │
                                        └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
                                        pi@raspberrypi:~/MagicMirror/modules $ netstat -plan|grep 8080
                                        (Es konnten nicht alle Prozesse identifiziert werden; Informationen über
                                        nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.)
                                        tcp6       0      0 ::1:8080                :::*                    LISTEN      838/electron.js
                                        tcp6       0      0 ::1:8080                ::1:46942               TIME_WAIT   -
                                        tcp6       0      0 ::1:8080                ::1:46944               FIN_WAIT2   -
                                        tcp6       0      0 ::1:8080                ::1:44370               VERBUNDEN   838/electron.js
                                        tcp6       0      0 ::1:44370               ::1:8080                VERBUNDEN   941/Electron --shar
                                        tcp6       1      0 ::1:46944               ::1:8080                CLOSE_WAIT  941/Electron --shar
                                        
                                        

                                        It would be really nice if you could please give me the crucial hint where the problem is now and how it can be solved? :-)

                                        bheplerB 1 Reply Last reply Reply Quote 0
                                        • bheplerB Offline
                                          bhepler Module Developer @Klinge
                                          last edited by

                                          @Klinge - It appears that your problem isn’t the same. @Sachse had two instances of the Magic Mirror framework running at the same time. You probably don’t have that problem.

                                          The DWD site appears to be up and is hosting a json file. So let’s start at the beginning. Please post the relevant portion of your config.js file. We don’t need everything, just the part that configures the MMM-DWD-Pollen module. That will let us try and replicate your problem. Be sure to use the Markdown features when you post your code snippet!

                                          1 Reply Last reply Reply Quote 1

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          • 1
                                          • 2
                                          • 2 / 2
                                          • 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