• 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 173.0k 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.
  • L Offline
    Les @dmcinnes
    last edited by Oct 4, 2016, 1:25 PM

    @dmcinnes No Problem. Thanks for the great module…can’t wait to see it when it’s complete. :)

    1 Reply Last reply Reply Quote 0
    • P Offline
      paulocarrasco
      last edited by Oct 4, 2016, 2:14 PM

      Hi,

      Can’t wait for the finished weather module ;-).

      I’ve been thinking about screen optimisation and I’ve tried working on module code to make something like this “photoshopped” image, but my skills on JS are very, very limited :-(.

      I think that would be a nice add-on a “fusion” of the MMM-moon-phases module (with a bigger moon image), a analog clock (with a minimalist face) and the a weather/forecast module.

      What do you think?

      0_1475590425133_alternative_layout.png

      L 1 Reply Last reply Oct 4, 2016, 2:29 PM Reply Quote 0
      • L Offline
        Les @paulocarrasco
        last edited by Oct 4, 2016, 2:29 PM

        @paulocarrasco said in MMM-forecast-io -- Localized up to the minute weather:

        Hi,
        …
        I think that would be a nice add-on a “fusion” of the MMM-moon-phases module (with a bigger moon image), a analog clock (with a minimalist face) and the a weather/forecast module.

        What do you think?

        Just my 2 cents, but the picture looks amazing. I also like that you showed a few temperatures from later in the day before giving the future day forecasts. Daily percipitation % is also a great idea. :)
        However, for the purpose of screen real estate may I suggest making things switchable (on/off). So for example, date/time at the top. then moon/analog cloock. Then current weather, then forecast. So people can pick what is important to them… And this is just me, but I like having the current weather at the top So the moon/clock is distracting to me. if I could move it (I know I’m asking for a lot…but if I could move it to the bottom…would look great, and still give me info in the order of priority I need.) Anyways, just take this as once persons views :) Good luck with your module, can’t wait to see it when it’s complete!

        1 Reply Last reply Reply Quote 0
        • P Offline
          plumcraft
          last edited by Oct 5, 2016, 10:39 AM

          Looking forward to try this module too. It looks very nice

          1 Reply Last reply Reply Quote 0
          • K Offline
            KirAsh4 Moderator
            last edited by Oct 5, 2016, 6:15 PM

            Interesting proposition: adding the moon phases to the clock. Adding clock faces is very easy, however integrating one module into the other (a clock into the weather module, or a partial weather query inside the clock module), now you’re working to make a third beast of a module. A possible solution might be to have the clock module listen to broadcasts from the weather module and adjust its face accordingly.

            A possible working method:
            configure the clock to have an analog face (with a default face)
            configure the clock to listen to weather broadcasts
            configure the weather module to broadcast moon phases
            if/when the clock receives such notification (hopefully only once a day), it will change its face to match and timing will be of importance here when the mirror first loads up - what if the weather module broadcasts before the clock is up and running?

            Then there’s the question of, how detailed do you want it to be? Do you want a 28-day moon phase displayed? Or a simplified 8-stages version?

            Something else to keep in mind, having an actual image will increase the payload of the module itself. Right now all of the analog faces are SVG files, which are rather small, and they can be scaled without losing resolution. You can’t easily do that with an actual picture. Either you are including very large images in case someone (like me) decides to have a screen with ONLY the clock on it, taking up the full screen, and still be able to scale it small for the “normal” folks. Personally my vote would be to use plain black and white SVG images. They’ll be small and easily scalable.

            Anyway, that’s my 2 pesos.

            A Life? Cool! Where can I download one of those from?

            1 Reply Last reply Reply Quote 0
            • D Offline
              dmcinnes Module Developer
              last edited by Oct 10, 2016, 4:16 AM

              @paulocarrasco That moon clock looks awesome!

              Hey Everyone! I’ve just released the updated Forecast IO module with forecast and precipitation graph (I’m considering renaming it to MMM-Darksky since forecast.io is no more…)

              https://github.com/dmcinnes/MMM-forecast-io

              Features:

              • The precipitation and forecast can be individually turned on or off.
              • Configure with the “small” class for a more compact look.
              • The precipitation graph only shows when there’s rain.

              Screenshot:

              new and improved

              Let me know what you think!

              1 Reply Last reply Reply Quote 0
              • C Offline
                Claymobil
                last edited by paviro Jan 12, 2017, 10:24 PM Oct 14, 2016, 5:51 PM

                Hi everyone,

                I installed the mmm-forecast but I can’t figure out why i got the same error than @paulocarrasco …

                Here is my code:

                {
                			module: 'MMM-forecast-io',
                			position: 'top_right',  // This can be any of the regions.
                			config: {
                					// See 'Configuration options' for more information.
                					apiKey: 'my API key' // Dark Sky API key.
                					 // Only required if geolocation doesn't work:
                						latitude:   47.902964,
                						longitude: 1.9092510000000402
                					}
                		};
                

                I tried removing this part and averything else works.

                Do you have any idea ?

                thanks !


                Note from admin: Please use Markdown on code snippets for easier reading!

                I 1 Reply Last reply Oct 14, 2016, 6:02 PM Reply Quote 0
                • I Offline
                  ianperrin @Claymobil
                  last edited by Oct 14, 2016, 6:02 PM

                  @Claymobil said in MMM-forecast-io -- Localized up to the minute weather:

                  apiKey: ‘my API key’

                  You’re possibly missing a comma after the API key, try
                  apiKey: ‘my API key’,

                  "Live as if you were to die tomorrow. Learn as if you were to live forever." - Mahatma Gandhi

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    Claymobil
                    last edited by Claymobil Oct 14, 2016, 6:04 PM Oct 14, 2016, 6:04 PM

                    @ianperrin Thanks a lot !

                    Works perfectly fine now :-)

                    D 1 Reply Last reply Oct 15, 2016, 3:23 AM Reply Quote 0
                    • D Offline
                      dmcinnes Module Developer @Claymobil
                      last edited by Oct 15, 2016, 3:23 AM

                      @Claymobil glad it works! Sorry about that, that missing comma is in the example config. I’ve updated it.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 12
                      • 13
                      • 3 / 13
                      3 / 13
                      • First post
                        21/127
                        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