Read the statement by Michael Teeuw here.
WEATHER total NOOB
-
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
-
This post is deleted! -
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" } },
-
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;}
-
@bluecaka69 update::: got it working i just realized i didn’t install the repository my bad… thanks for your advice
-
@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: