• 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 186.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.
  • 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
          • D Offline
            darrene
            last edited by Oct 29, 2016, 2:50 PM

            Hi @dmcinnes, thank you for sharing an awesome module. It’s fantastic - the first one I installed and I think it must be the only one I haven’t swapped out since :)

            Is there any chance of having a precipitation/temperature graph like the one from Jangellx’s variant of @MichMich’s MagicMirror1, which could be swapped out for the current precipitation graph?
            0_1477752420244_MMM-weather.jpg

            The bulk of the javascript looks to be in the bottom half of this code: GitHub, uses d3 and d3min but it’s completely beyond me how to Frankenstein the code together…

            It’d give a superb optional look to a lovely module!

            D 1 Reply Last reply Oct 30, 2016, 8:25 PM Reply Quote 0
            • P Offline
              plumcraft
              last edited by Oct 29, 2016, 4:32 PM

              @paulocarrasco

              Have you done your forecast module by any chance ?

              Thanks

              1 Reply Last reply Reply Quote 0
              • D Offline
                dmcinnes Module Developer @darrene
                last edited by Oct 30, 2016, 8:25 PM

                @darrene glad you like the module! That would be cool to have but I’m working on another project right now so I’m not interested in taking that on. If anyone else wants to take a try at doing it, please be my guest and send a PR!
                The original module used SVG, but I used HTML5 canvas to avoid external libraries (plus I prefer canvas anyway).

                1 Reply Last reply Reply Quote 0
                • S Offline
                  shavesophere
                  last edited by Oct 31, 2016, 1:27 PM

                  great module! I’m curious to know how to configure it for “small”… i can’t find any clue in the documentation apart from trying to fiddle around with the .css. thanks!

                  D 1 Reply Last reply Nov 1, 2016, 3:55 AM Reply Quote 0
                  • D Offline
                    dmcinnes Module Developer @shavesophere
                    last edited by Nov 1, 2016, 3:55 AM

                    @shavesophere thanks! You can add the ‘small’ class to the module’s classes in the config.js.

                    S 1 Reply Last reply Nov 2, 2016, 4:00 AM Reply Quote 0
                    • D Offline
                      dmcinnes Module Developer
                      last edited by Nov 2, 2016, 3:55 AM

                      I’ve just pushed an update to the module. Previously if there was a network error the module would get “stuck” and no longer update. This is now fixed!

                      [card:dmcinnes/MMM-forecast-io]

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