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.

    Rainalarm (Buienalarm in Dutch)

    Scheduled Pinned Locked Moved Requests
    25 Posts 4 Posters 15.9k Views 4 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.
    • P Offline
      Peter @Mykle1
      last edited by

      @Mykle1 , I will give it a try!
      Thanks again.
      Peter

      1 Reply Last reply Reply Quote 0
      • cirdanC Offline
        cirdan
        last edited by

        I made one based on the dutch buienradar api, icw sparkline js. Can upload it to github if you like. It’s a 2 hour forecast graph based on longitude/latitude

        Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

        Mykle1M P 2 Replies Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @cirdan
          last edited by

          @cirdan

          Cirdan! Elen síla lúmenn’ omentielvo :-)

          Create a working config
          How to add modules

          cirdanC 1 Reply Last reply Reply Quote 1
          • P Offline
            Peter @cirdan
            last edited by

            @cirdan , that would be great!
            I love this forum.
            Peter

            cirdanC 1 Reply Last reply Reply Quote 0
            • cirdanC Offline
              cirdan @Mykle1
              last edited by

              @Mykle1 Not if it rains, Mykle, let me check my MM, ahh clear skies ;-)

              Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

              1 Reply Last reply Reply Quote 1
              • cirdanC Offline
                cirdan @Peter
                last edited by

                @Peter I added it under https://github.com/73cirdan/MMM-rainfc,

                (should run ok, but did some last minute code cleanups.)

                Let me know how it works out for you

                Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                P lavolp3L 2 Replies Last reply Reply Quote 0
                • P Offline
                  Peter @cirdan
                  last edited by

                  @cirdan , it works out of the box.
                  But unfortunally it does not show the (current) time, so it is hard to see when the rain starts and stops.
                  Thanks for your help!
                  Peter

                  1 Reply Last reply Reply Quote 0
                  • cirdanC Offline
                    cirdan
                    last edited by

                    The current time is in the clock module, so i considered it double info. The graph is always 2 hours, end time is shown, so you need to interpolate a little. Alternative is to add some tick marks under the graph with timelabels. I think it’s possible but never looked into it.

                    Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Peter @cirdan
                      last edited by

                      @cirdan , some timelines would be nice (like in the smartphone app).
                      Maybe some day somebody knows how to do this.
                      Thanks.
                      Peter

                      cirdanC 1 Reply Last reply Reply Quote 0
                      • cirdanC Offline
                        cirdan @Peter
                        last edited by

                        @Peter, I checked the sparkline.js lib I use for the graph. It intentional does not use ticks and labels on the x axis. :-(

                        Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          Peter @cirdan
                          last edited by

                          @cirdan , thanks.
                          Bad luck.
                          Peter

                          cirdanC 1 Reply Last reply Reply Quote 0
                          • cirdanC Offline
                            cirdan @Peter
                            last edited by

                            @Peter Did a small addition with time labels under the graph. checked it in on github.

                            Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                            P 1 Reply Last reply Reply Quote 1
                            • P Offline
                              Peter @cirdan
                              last edited by

                              @cirdan , I only see the graph, not the time labels.
                              Peter

                              1 Reply Last reply Reply Quote 0
                              • cirdanC Offline
                                cirdan
                                last edited by

                                There is a new config option, its in the readme on github. Add nrOfTimeLabels to your config.js and it should work.

                                Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                                P 1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Peter @cirdan
                                  last edited by

                                  @cirdan unfortunately it does not work.
                                  Changed color, changed lon-lat, works all fine, but not the time labels.
                                  Very sorry …
                                  Peter

                                  cirdanC 1 Reply Last reply Reply Quote 0
                                  • cirdanC Offline
                                    cirdan @Peter
                                    last edited by

                                    @Peter just checking, you’ve pulled the new source from github?
                                    Like a git pull or git clone?

                                    Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                                    P 1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Peter @cirdan
                                      last edited by

                                      @cirdan sorry; after having done that it works!
                                      Thanks!
                                      Peter

                                      cirdanC 1 Reply Last reply Reply Quote 0
                                      • cirdanC Offline
                                        cirdan @Peter
                                        last edited by

                                        @Peter great, i’m glad it works

                                        Modules MMM-rainfc, MMM-bustimes, MMM-Harmony, MMM-Rijks

                                        1 Reply Last reply Reply Quote 0
                                        • lavolp3L Offline
                                          lavolp3 Module Developer @cirdan
                                          last edited by

                                          @cirdan

                                          Hi cirdan,
                                          I’d like to say THANK YOU for the module. I was searching for this for about a year now, also made a thread here asking for it.
                                          Let me also say, this also works for parts of Germany close to the Netherlands (I live close to Duisburg).

                                          I would suggest to present this in the “modules” section for more recognition.
                                          I’d also like to contribute to it, thinking about the possibility for users to show bar graphs or line graphs.
                                          Will send a pull request on github when successful.

                                          How to troubleshoot modules
                                          MMM-soccer v2, MMM-AVStock

                                          Mykle1M cirdanC 2 Replies Last reply Reply Quote 2
                                          • Mykle1M Offline
                                            Mykle1 Project Sponsor Module Developer @lavolp3
                                            last edited by

                                            @lavolp3 said in Rainalarm (Buienalarm in Dutch):

                                            I’d also like to contribute to it

                                            Awesome! :-)

                                            Create a working config
                                            How to add modules

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 1 / 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