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

24h weather forecast graph

Scheduled Pinned Locked Moved Requests
13 Posts 7 Posters 8.4k Views 9 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.
  • J Offline
    Jeff
    last edited by Nov 25, 2016, 7:26 PM

    Hello,
    I found a weahter modul, where the 24h weather forecast is shown in a graph.
    https://github.com/thobach/MagicMirror2/tree/master/web

    Unfortunatelly the modul is not coded the “normal” way and I’m not able to get it working.
    I’m a bloody rooky in prgramming.

    Can somebody have a look at the modul and put it please the easy usable way?

    That would be awsome

    Thanks a lot

    This is how it looks like:
    alt text

    1 Reply Last reply Reply Quote 1
    • Y Offline
      yawns Moderator
      last edited by Nov 30, 2016, 8:34 AM

      I just started working on this, creating some functions to render graphs.

      F 1 Reply Last reply Feb 2, 2017, 2:42 PM Reply Quote 1
      • T Offline
        thobach
        last edited by Dec 14, 2016, 9:10 PM

        I’m the creator of above shown graphs. Those are not based on Michael’s v2, but my own v2 of the magic mirror, which is also controlled by gestures.

        If there are any specific questions, I’m happy to help out.

        1 Reply Last reply Reply Quote 0
        • F Offline
          feedparakeet @yawns
          last edited by Feb 2, 2017, 2:42 PM

          @yawns said in 24h weather forecast graph:

          I just started working on this, creating some functions to render graphs.

          Yawns, great to hear! Any updates with graphs render for the Magic Mirror ?
          What Im dreaming about is a universal graph render function which will take values from a text file, like, last 100 rows and will draw a graph. Or it can be a rss feed.

          P 1 Reply Last reply Feb 3, 2017, 12:48 AM Reply Quote 0
          • P Offline
            Patex @feedparakeet
            last edited by Feb 3, 2017, 12:48 AM

            @feedparakeet For such a basic functionality we should not reinvent the wheel. There are a lot of javascript graphing libraries available which are far more sophisticated than anything we will be able to code for the mm in a reasonable manner. They usually render the result in a canvas which can simply be added to the mirror e.g. http://www.chartjs.org/

            Y F 2 Replies Last reply Feb 3, 2017, 8:31 AM Reply Quote 1
            • Y Offline
              yawns Moderator @Patex
              last edited by Feb 3, 2017, 8:31 AM

              @Patex
              You are more than right and I tried to use chartjs and chartist, but I failed implementing them. If I recall correctly it was because the chart libraries require the id of a specific div to render in, but the call to this div fails because it was not yet created.
              I’m so short on time currently, but I have one week of vacation during carnival (end of February), hopefully I can pick up with my open tasks.

              1 Reply Last reply Reply Quote 0
              • O Offline
                ostfilinchen
                last edited by Feb 3, 2017, 8:44 AM

                @RedNax: the weathericon in this screenshot would be very nice in the mmm-wunderground module :-)

                can you build this?

                Y 1 Reply Last reply Feb 3, 2017, 8:47 AM Reply Quote 0
                • Y Offline
                  yawns Moderator @ostfilinchen
                  last edited by Feb 3, 2017, 8:47 AM

                  @ostfilinchen said in 24h weather forecast graph:

                  @RedNax: the weathericon in this screenshot would be very nice in the mmm-wunderground module :-)

                  can you build this?

                  These are png files, partially transparent, located here: https://github.com/thobach/MagicMirror2/tree/master/web/img/VCloudsWeatherIcons

                  O 2 Replies Last reply Feb 3, 2017, 9:00 AM Reply Quote 0
                  • O Offline
                    ostfilinchen @yawns
                    last edited by Feb 3, 2017, 9:00 AM

                    @yawns i know. but the MMM-WunderGround Module is build by @RedNax.

                    If i had time this Weekend i will check to build it and make an pull request. Maybe is @RedNax faster to build it.

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      ostfilinchen @yawns
                      last edited by Feb 3, 2017, 1:54 PM

                      @RedNax: I’ve create a pull request on github.

                      J 1 Reply Last reply Feb 3, 2017, 4:23 PM Reply Quote 0
                      • 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