• 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 198.3k 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
    Littlejohn21
    last edited by Aug 27, 2017, 2:56 PM

    I cannot for the life of me get this to work it keeps saying that there is an error in the config file. I will have it Exactly as others have it with only my darkskyspi key being diffrent and still get the error .

    magicmirror@2.1.2 start /home/pi/MagicMirror
    sh run-start.sh

    Starting MagicMirror: v2.1.2
    Loading config …
    WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.
    Loading module helpers …
    Initializing new module helper …
    Module helper loaded: updatenotification
    No helper found for module: helloworld.
    All module helpers loaded.
    Starting server on port 8080 …
    Server started …
    Connecting socket for: updatenotification
    Sockets connected & modules started …
    Launching application.

    M 1 Reply Last reply Aug 27, 2017, 4:28 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @Littlejohn21
      last edited by Mykle1 Aug 27, 2017, 4:29 PM Aug 27, 2017, 4:28 PM

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

      Please correct syntax errors.

      It could be something as simple as a comma, or quote being out of place, or missing.

      Post your config here for help, but please follow this guide on how to post code on the forum correctly.

      https://forum.magicmirror.builders/topic/4247/how-to-post-code-on-the-forum-for-absolute-beginners

      Create a working config
      How to add modules

      L 2 Replies Last reply Aug 28, 2017, 3:26 AM Reply Quote 0
      • L Offline
        Littlejohn21 @Mykle1
        last edited by Aug 28, 2017, 3:26 AM

        @Mykle1

        modules: [
        		{
        			module: "alert",
        		},
        		{
        			module: "updatenotification",
        			position: "top_bar"
        		},
        		{
        			module: "clock",
        			position: "top_left"
        		},
        		{
        			module: "calendar",
        			header: "US Holidays",
        			position: "top_left",
        			config: {
        				calendars: [
        					{
        						symbol: "calendar-check-o ",
        						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
        					}
        				]
        			}
        		},
        		{
        			module: "compliments",
        			position: "lower_third"
        		},
        		{
        			module: 'MMM-forecast-io',
            			position: 'top_right',  // This can be any of the regions.
          		        config: {
            			// See 'Configuration options' for more information.
             		        apiKey: '6xxxxxxxxxxxxxxxxxxxxxxxxxxxx3', // Dark Sky API key.
              			// Only required if geolocation doesn't work:
               			latitude:   29.853357,
              			longitude: -81.389680
        			}
        		},
        		{
        			module: "newsfeed",
        			position: "bottom_bar",
        			config: {
        				feeds: [
        					{
        						title: "New York Times",
        						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
        					}
        				],
        				showSourceTitle: true,
        				showPublishDate: true
        			}
        		},
        	]
        
        };
        

        I have tried several ways and have even ran the npm run config:check it says thet expected to see { but sees something else.

        1 Reply Last reply Reply Quote 0
        • L Offline
          Littlejohn21 @Mykle1
          last edited by Aug 28, 2017, 3:36 AM

          @Mykle1

          modules: [
          		{
          			module: "alert",
          		},
          		{
          			module: "updatenotification",
          			position: "top_bar"
          		},
          		{
          			module: "clock",
          			position: "top_left"
          		},
                          {
          			module: "MMM-Todoist",
          			header: "Todoist",
          			position: "top_left",
          			config: {
          				accessToken: '33xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' ,
          				maximumentries: 10,
          				interval: 60,
          				lists: [21xxxxxxxx7],
          				fade: false,
          			}
          		},
          		{
          			module: "calendar",
          			position: "top_left",	// This can be any of the regions. Best results in left or right regions.			
          		},
          		{
          			module: "compliments",
          			position: "lower_third"
          		},
          		{
          			module: "currentweather",
          			position: "top_right",
          			config: {
          				location: "",
          				locationID: "4170894",  //ID from http://www.openweathermap.org/help/city_list.txt
          				appid: "axxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxd4"
          			}
          		},
          		{
          			module: 'MMM-forecast-io',
              			position: 'top_right',  // This can be any of the regions.
            		        config: {
              			// See 'Configuration options' for more information.
               		        apiKey: '2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx5', // Dark Sky API key.
                			// Only required if geolocation doesn't work:
                 			latitude:   29.853357,
                			longitude: -81.389680
          			}
          		},
          		{
          			module: "newsfeed",
          			position: "bottom_bar",
          			config: {
          				feeds: [
          					{
          						title: "News4JAX",
          						url: "https://www.news4jax.com/feeds/rssFeed/feedServlet?obfType=GMG_RSS_DETAIL&siteId=800004&categoryId=80041&nbRows=20&FeedFetchDays=10&includeFeeds=True"
          					}
          				],
          				showSourceTitle: true,
          				showPublishDate: true
          			}
          		},
          	]
          
          };
          

          I got this one to work, atleast load with no syntax error but the weather module doesnt show up? is there anything i need to do in the actual files?

          1 Reply Last reply Reply Quote 1
          • L Offline
            Littlejohn21
            last edited by Aug 28, 2017, 4:25 AM

            Please disregard i’m “special” I never "git clone “hhtp://module” " to have the module in order for it to read i’m new but have it working now thanks!!!

            M 1 Reply Last reply Aug 28, 2017, 12:03 PM Reply Quote 1
            • M Offline
              Mykle1 Project Sponsor Module Developer @Littlejohn21
              last edited by Aug 28, 2017, 12:03 PM

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

              Please disregard i’m “special” I never "git clone “hhtp://module” " to have the module in order for it to read i’m new but have it working now thanks!!!

              You won’t make that mistake again. I’m glad you’re up and running.

              Create a working config
              How to add modules

              L 1 Reply Last reply Aug 28, 2017, 1:56 PM Reply Quote 1
              • L Offline
                Littlejohn21 @Mykle1
                last edited by Aug 28, 2017, 1:56 PM

                @Mykle1

                Thanks! i will try not to haha trying to figure out why I’m having issue with vlc java when trying to launch the alexa avs sample :(

                M 1 Reply Last reply Aug 28, 2017, 2:19 PM Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Littlejohn21
                  last edited by Aug 28, 2017, 2:19 PM

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

                  trying to figure out why I’m having issue with vlc java when trying to launch the alexa avs sample :(

                  I’m not familiar with those at all. Create a new topic and hopefully you will get some assistance with that.

                  Good luck! :^)

                  Create a working config
                  How to add modules

                  L 1 Reply Last reply Aug 30, 2017, 3:20 PM Reply Quote 0
                  • L Offline
                    Littlejohn21 @Mykle1
                    last edited by Aug 30, 2017, 3:20 PM

                    @Mykle1 is there a way to scale the entire Module? I’ve tried doing the graph but the forecast is still huge on my screen.

                    S M 2 Replies Last reply Aug 30, 2017, 7:18 PM Reply Quote 0
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @Littlejohn21
                      last edited by Aug 30, 2017, 7:18 PM

                      @Littlejohn21 you can try

                      .MODULENAME {
                        transform: scale(0.5, 0.5);
                      }
                      

                      if you replace modulename with your actual module name, this should give you a height and with of 50% of the actual size

                      Please create a github issue if you need help, so I can keep track

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