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

MMM-forecast-io -- Localized up to the minute weather

Scheduled Pinned Locked Moved Utilities
127 Posts 36 Posters 192.9k Views 38 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.
  • D Offline
    dmcinnes Module Developer @pyrosmiley
    last edited by Oct 25, 2017, 4:31 AM

    @pyrosmiley Hello! The precipitation graph is created using an HTML Canvas so unfortunately the colors cannot be tweaked by CSS apart from the border. The Javascript will need to be modified to support additional colors. Here is where the color is set for the curve and further up it draws the horizontal lines and tick marks. Ideally these colors are configurable. I’ve added an issue to the repo to track it!

    I’m knee deep in another project, so if someone wants to take a crack at it, please be my guest :)

    P 1 Reply Last reply Oct 25, 2017, 4:47 AM Reply Quote 1
    • P Offline
      pyrosmiley @dmcinnes
      last edited by Oct 25, 2017, 4:47 AM

      @dmcinnes Oh, okay — that makes a lot of sense! Glad to know it’s not just me missing something. I’ll take a look at the html and see what I can do, thanks for pointing that out for me.

      1 Reply Last reply Reply Quote 1
      • M Offline
        mongo116 Module Developer @jinjirosan
        last edited by Nov 28, 2017, 2:35 PM

        @jinjirosan Hi, have you made the changes available to download? Would like to give it a go as currently using a combination of the default weather and forecast-io.

        P 1 Reply Last reply Nov 30, 2017, 6:43 PM Reply Quote 1
        • B Offline
          Basanth_Kumar
          last edited by Nov 30, 2017, 9:09 AM

          Hello! as i am completely new to this MM…i am unable to where the icons images are placed…if anybody knows that,guide me , so that i want to change the UI for mine…

          P 1 Reply Last reply Nov 30, 2017, 6:47 PM Reply Quote 0
          • P Offline
            pyrosmiley @mongo116
            last edited by Nov 30, 2017, 6:43 PM

            @mongo116 The changes were merged into the main branch of the module, so if you’re up to date, then you should be able to add ‘’’precipitationFillColor’’’ to your config. I added a description and some other info to the readme as well.

            M 1 Reply Last reply Nov 30, 2017, 9:55 PM Reply Quote 0
            • P Offline
              pyrosmiley @Basanth_Kumar
              last edited by Nov 30, 2017, 6:47 PM

              @Basanth_Kumar I’m on my phone so I can’t look up links very effectively, but there are a couple of guides on the forums that are good for learning how to setup your configuration file. The official guide on the github page is also pretty thorough. It definitely took some trial and error for me to get up and running (gotta pay attention to those commas!) but you’ll get it. Just follow those guides, and just change one little thing at a time so you can learn to see how it works — you’ll get the hang of it!

              1 Reply Last reply Reply Quote 0
              • M Offline
                mongo116 Module Developer @pyrosmiley
                last edited by Nov 30, 2017, 9:55 PM

                @pyrosmiley Thanks for that. What about the wind, and sunrise / sunset settings? Or were these never merged? Thanks…

                P 1 Reply Last reply Nov 30, 2017, 10:10 PM Reply Quote 0
                • P Offline
                  pyrosmiley @mongo116
                  last edited by Nov 30, 2017, 10:10 PM

                  @mongo116 sadly I don’t see that those were ever added in and it wasn’t me that did it. I have no idea what I’m doing but sometime soon I’ll see if I can figure it out? I also tried for that awhile back using CSS but didn’t get very far. If you get it let me know, and I’ll do the same!

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    morozgrafix Moderator
                    last edited by morozgrafix Nov 30, 2017, 11:26 PM Nov 30, 2017, 11:23 PM

                    I’ve added some of those on my local branch a long time ago. Feel free to pick from there https://github.com/morozgrafix/MMM-forecast-io/commit/972201f64d432c3c0863a7d76364e7f8af1bb817 and https://github.com/morozgrafix/MMM-forecast-io/commit/13ff8b78c86dc0905e46c11702d7173571517e79

                    My fork is fairly old and hasn’t been synced in a while, though.

                    It looks like this:
                    0_1512084362862_c2a6ef7c-9b0a-4027-a60f-041280daee24-image.png

                    1 Reply Last reply Reply Quote 1
                    • P Offline
                      pyrosmiley
                      last edited by Dec 1, 2017, 12:00 AM

                      Very nice! I’ll definitely pull from that then

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 6
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 12
                      • 13
                      • 8 / 13
                      • 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