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 9.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.
    • PatexP Offline
      Patex @feedparakeet
      last edited by

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

      yawnsY F 2 Replies Last reply Reply Quote 1
      • yawnsY Offline
        yawns Moderator @Patex
        last edited by

        @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

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

          can you build this?

          yawnsY 1 Reply Last reply Reply Quote 0
          • yawnsY Offline
            yawns Moderator @ostfilinchen
            last edited by

            @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 Reply Quote 0
            • O Offline
              ostfilinchen @yawns
              last edited by

              @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

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

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  Jayh391 @ostfilinchen
                  last edited by

                  @ostfilinchen

                  AWESOME addition to this module! Looks great

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    feedparakeet @Patex
                    last edited by

                    @Patex said in 24h weather forecast graph:

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

                    Thank you for a reply! When I was talking about a function that will render a graph, I was talking about a module that will render a graph, my mistake. ChartJS looks amazing, still I never coded in javascript and that’s why Im dreaming about a complete module for mm.

                    And yes, I also thought about a transparent image with a graph that can be loaded into mm screen. For example, I can run a script which will create a graph image which will be available throw some url and show it on the mm screen with a https://github.com/diego-vieira/MMM-RandomPhoto module that will refresh it from time to time.

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thobach
                      last edited by thobach

                      @Jeff I ported my 24 hour weather forecast graphs module to https://magicmirror.builders, you can find it on https://github.com/thobach/MMM-WunderGround24Hours.

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