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.

    Problems with MMM-DWD-Pollen regions

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 300 Views 2 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.
    • K Offline
      Klinge
      last edited by

      Hello,

      I try to start the module MMM-DWD-Pollen. But unfortunately I have problems with the DWD regions. 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.
      Kind regards
      Klinge

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

        Yes, I had the problem too.
        Two mistakes I made:

        • the default value for the pollen might not be a default - so better include the line in your config
        • Did it for you already: I went to https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json and checked if your part region exists. It does, so this is fine.

        Also one mistake many people make is not to fully install:

        cd ~/MagicMirror/modules # adapt directory if you are using a different one
        git clone https://github.com/carstendirks/MMM-DWD-Pollen.git
        cd MMM-DWD-Pollen
        npm install # this can take a while
        

        The important part is the npm install which installs dependencies!

        For support always post your config. Here is mine - you can try my config to see if the problem is caused by a wrong config:

        			module: "MMM-DWD-Pollen",
        			position: "top_right",
        			header: "Pollenwarnung",
        			classes: 'scheduler',
        			config: {
        				// I use a schedule to only display it from spring to autumn! 
                                        // module_schedule: {from: '00 8 1 3 *', to: '00 8 15 10 *' },
        				updateInterval: 5 * 60 * 60 * 1000, // every 5 hours
        				DWD_region: 41, // Rhein-Westfälisches Tiefland
        				icon: true, // Show icons or not
        				pollenList: "Hasel,Erle,Esche,Birke,Graeser,Roggen,Beifuss,Ambrosia", // Which Pollen to display?
        				showNullValue: false, //Show value or symbol if value is 0
        			}
        		},
        

        You might want to set showNullValue to true and also check in the json-Link if there are readings available (which currently there are)

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • 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