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 202.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.
    • 1 Offline
      12wsx
      last edited by 12wsx

      what is the problem with my module? the problem is on monitor connected to raspberry pi Zero (using midori browser) where MagicMirror is installed.
      My config:

      /* Magic Mirror Config Sample
       *
       * By Michael Teeuw http://michaelteeuw.nl
       * MIT Licensed.
       *
       * For more information how you can configurate this file
       * See https://github.com/MichMich/MagicMirror#configuration
       *
       */
      
      var config = {
      	address: "::", // Address to listen on, can be:
      	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
      	                      // - another specific IPv4/6 to listen on a specific interface
      	                      // - "", "0.0.0.0", "::" to listen on any interface
      	                      // Default, when address config is left out, is "localhost"
      	port: 8080,
      	ipWhitelist: [], // Set [] to allow all IP addresses
      	                                                       // or add a specific IPv4 of 192.168.1.5 :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
      	                                                       // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
      	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
      
      	language: "pl",
      	timeFormat: 24,
      	units: "metric",
      
      	modules: [
      		{
      			module: "alert",
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "https://calendar.google.com/xxxxxxxx"
      					}
      				]
      			}
      		},
      		{
      			module: "MMM-Solartemp",
      			position: "bottom_left",
      			header: "Solartemp",
      			config: {
      				baseURL: "http://xxxxxxxxxx",
      				key: "xxxxxxxxx",
      				group: "xxxxxx",
      				}
      		},
      		{
          			module: 'MMM-Remote-Control'
          			// uncomment the following line to show the URL of the remote control on the mirror
          			// , position: 'bottom_left'
          			// you can hide this module afterwards from the remote control itself
      		},
      		{
      				module: 'MMM-forecast-io',
          				position: 'top_right',  // This can be any of the regions.
          				config: {
            				// See 'Configuration options' for more information.
            				apiKey: 'xxxxxxx', // Dark Sky API key.
            				maxDaysForecast: 5,
      				forecastTableFontSize: 'small',
      				// Only required if geolocation doesn't work:
            				latitude:  xx.xxxx,
            				longitude: xx.xxxx
      				
      				}
      		},
      
      		]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      

      alt text

      idoodlerI 1 Reply Last reply Reply Quote 0
      • idoodlerI Offline
        idoodler Module Developer @12wsx
        last edited by

        @12wsx Are you using some custom CSS?

        1 Reply Last reply Reply Quote 0
        • 1 Offline
          12wsx
          last edited by

          no i don’t use custom css. But one thing- when I connect to magic mirror from my
          computer (win7 /firefox) everything is ok.

          idoodlerI 1 Reply Last reply Reply Quote 0
          • idoodlerI Offline
            idoodler Module Developer @12wsx
            last edited by

            @12wsx Did you try using Chromium as a browser? Midori may have a hard time rendering the page.

            1 Reply Last reply Reply Quote 0
            • H Offline
              henryluyu
              last edited by henryluyu

              Hi this is this module in my config.js.
              I simply put the “MMM-forecast-io-master” folder in /modules/default, I have also put my actual api key, latitude and longtitude values also in MMM-forecast-io.js. But no weather is showing, other modules working fine. Can anyone help please?

              	{
                                  module: 'MMM-forecast-io',
                                  position: 'top_right',  
                                  config: {
                                         apiKey: 'MYAPIKEY',
                                         latitude:   53.4839,
                                         longitude:  -2.2446
                                  }
                          },
              
              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @henryluyu
                last edited by

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

                I simply put the “MMM-forecast-io-master” folder in /modules/default

                1. Folder name should just be MMM-forecast-io
                2. Goes in modules folder, not the default folder

                I have also put my actual api key, latitude and longtitude values also in MMM-forecast-io.js.

                That is not recommended. Putting those in your config.js will suffice.

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • F Offline
                  Fifin404
                  last edited by

                  Hi, is possible add “C” in all temperatures? Like 21 °C
                  and for wind add “km/h” like 8 km/h

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    code999
                    last edited by

                    Hey all, anyone know how to get rid of the round bar in between the temps? 0_1574871951039_511494cd-8516-4507-93f2-b773a560930b-image.png

                    Thanks in advance.

                    morozgrafixM 1 Reply Last reply Reply Quote 0
                    • morozgrafixM Offline
                      morozgrafix Moderator @code999
                      last edited by

                      @code999 you can comment out this line forecastBar.appendChild(bar); but it will look kind of bad. Those bars are sort of a default look that you get from darksky/forecast UI.

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        code999 @morozgrafix
                        last edited by

                        @morozgrafix what file do I edit? I can not find that line to comment it out. Thanks.

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