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.

    WEATHER total NOOB

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 2 Posters 3.1k Views 2 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @bluecaka69
      last edited by Mykle1

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        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 Offline
          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 Offline
            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

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              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. :wink:

              thanks for your advice

              You’re welcome :thumbsup:

              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy