It is pws1
, not psw1
And according to the readme you don’t need lat and long
Read the statement by Michael Teeuw here.

Posts
-
RE: MMM-NOAA - Another Weather Module
-
RE: Hourly forecast for weather forecast module
You could try https://github.com/RedNax67/MMM-WunderGround instead and configure it to show hourly forecast
-
RE: Navigation inside MagicMirror with Buttons / Rotary Encoder on GPIO
Moved as requested :)
-
RE: I cant load 3rd party modules to my smart mirror.
{ module: 'MMM-NFL', header: 'NFL Scores', position: 'bottom_right', config: { colored: true, reloadInterval: 1800000 } },
You missed some commas and a }
-
RE: MagicMirror wont start
That means there is another process running on port 8080. Did you maybe install pm2 to automate startup? Check with
pm2 list
-
RE: MMM-NOAA - Another Weather Module
Ideal would be to use the same core and develope different templates which could be chosen via config.
-
RE: MMM iFrameReload to display Google maps route with traffic layer but getting error with config file
Hi,
first of all, the module is called
MMM-iFrameReload
, notiFrameReload
, that’s a mistake in the modules readme.
Second it looks like you either removed the top part of your config or you added a second modules array declaration, based on the readme.
Third there is one}
too much, another mistake in the readme.Your entire config should look somehow like this:
/* 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: "localhost", // 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: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // 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: "en", timeFormat: 24, units: "metric", 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: "currentweather", position: "top_right", config: { location: "New York", locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "New York", locationID: "5128581", //ID from http://www.openweathermap.org/help/city_list.txt appid: "YOUR_OPENWEATHER_API_KEY" } }, { 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 } }, // module MMM-iFrameReload added here. Every module declaration is enclosed by { }, ending with the comma // every line within the module declaration has to be ended with a comma except for the last one of each section // the config part itself again is enclosed with { }, { module: 'MMM-iFrameReload', position: 'bottom_bar', // This can be any of the regions. config: { // See 'Configuration options' for more information. url: "http://YOUR.TARGET.URL", width: "100%", // Optional. Default: 400px height: "300px", // Optional. Default: 800px refreshInterval: 3600 //Optional. Default: 3600 = 1 hour } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
If you are uncertain you can always paste your entire config into http://jshint.com/
If everything is fine, it will only mock up about module being undefined -
RE: Calendar module maxTitleLength is not working
maxTitleLength
should be an option inside config, not inside the calendars array. Try moving it to the same level ascolored
. -
RE: Are there other Linux OS's Magic Mirror run on?
You are welcome. Looking at my post again I see I just posted the link without any additional text or whatsoever. I don’t know what I had in mind while posting this, usually I am not that impolite. I’m sorry!