Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    WEATHER total NOOB

    Troubleshooting
    2
    6
    2008
    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.
    • B
      bluecaka69 last edited by

      I have been trying to get this for days i have done what i can,tried stock and wunderground, used jshint double checked things but it never seems to work right, can anyone share a working weather script i can copy an paste, i have gotten API but nothing seems to work

      Mykle1 2 Replies Last reply Reply Quote 0
      • Mykle1
        Mykle1 Project Sponsor Module Developer @bluecaka69 last edited by Mykle1

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • Mykle1
          Mykle1 Project Sponsor Module Developer @bluecaka69 last edited by Mykle1

          @bluecaka69

          Seeing as you have an API for WunderGround already, here’s my config.js entry for that. Just insert your API key and choose another weather station, the pws (at the website), as mine probably won’t be good for you. I left mine in so you can see how it looks. Also, look at the ReadMe for WunderGround to see how you can change the values below to your liking. Post your config.js file if this doesn’t work for you and we can take a look at it for you. Good luck.

                      {
          			module: 'MMM-WunderGround',
          			position: 'top_right',
          			config: {
              		apikey: 'YOUR API KEY GOES HERE',   /* private; don't share!*/
              		pws: 'pws:KNYNEWYO103',
          		currentweather: 1,
              		coloricon: true,
              		hourly: '1',
              		fctext: '1',
              		fcdaycount: "10",
              		fcdaystart: "0",
              		hourlyinterval: "2",
              		hourlycount: "1",
          		animationSpeed: 5000,
              		alerttime: 10000,
              		alerttruncatestring: "english:",
          			roundTmpDecs: 0,
          			UseCardinals: 1,
          			layout: "vertical",
          		windunits: "mph",
          			sysstat: "0"
          		}
          	},
          B 1 Reply Last reply Reply Quote 1
          • B
            bluecaka69 @Mykle1 last edited by yawns

            @Mykle1

            i tried that code, I’m insert mt API and PWS and i get plain black screen now any suggestions here is my code

            /* Magic Mirror Config Sample
             *
             * By Michael Teeuw http://michaelteeuw.nl
             * MIT Licensed.
             */
            
            var config = {
            	port: 8080,
            	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
            
            	language: 'en',
            	timeFormat: 12,
            	units: 'imperial',
            
            	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-WunderGround',
            			position: 'top_right',
            			config: {
                		apikey: 'API_KEY_HERE',   /* private; don't share!*/
                		pws: 'pws:KMTBILLI61',
            		currentweather: 1,
                		coloricon: true,
                		hourly: '1',
                		fctext: '1',
                		fcdaycount: "10",
                		fcdaystart: "0",
                		hourlyinterval: "2",
                		hourlycount: "1",
            		animationSpeed: 5000,
                		alerttime: 10000,
                		alerttruncatestring: "english:",
            			roundTmpDecs: 0,
            			UseCardinals: 1,
            			layout: "vertical",
            		windunits: "mph",
            			sysstat: "0"
            		}
            		},
            
            		{
            			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
            			}
            		},
            	]
            
            };
            
            /*************** DO NOT EDIT THE LINE BELOW ***************/
            if (typeof module !== 'undefined') {module.exports = config;}
            
            B 1 Reply Last reply Reply Quote 0
            • B
              bluecaka69 @bluecaka69 last edited by

              @bluecaka69 update::: got it working i just realized i didn’t install the repository my bad… thanks for your advice

              Mykle1 1 Reply Last reply Reply Quote 0
              • Mykle1
                Mykle1 Project Sponsor Module Developer @bluecaka69 last edited by

                @bluecaka69 said in WEATHER total NOOB:

                update
                :::
                got it working i just realized i didn’t install the repository my bad…

                Yeah, those help a lot. 😉

                thanks for your advice

                You’re welcome 👍

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy