Read the statement by Michael Teeuw here.
MM on Ubuntu
-
@goncalovsc use the install script from here
https://github.com/sdetweil/MagicMirror_scripts -
@sdetweil thanks, it worked fine!
But, I edited the compliments and the config file and nothing changed, what should I do?
I already restarted the pc -
@goncalovsc said in MM on Ubuntu:
I edited the compliments and the config file
please show your changes… thx
(u should not edit the compliments.js file, right, only the config.js
-
@sdetweil https://gyazo.com/0d971f9417655c6753c26a538fa702ff
nothing changed -
@goncalovsc i am confused…
u said you edited the files, but nothing changed on restart…
so, I want to see what you edited in the files…
-
@sdetweil Its on the printscreen, weather location changed etc etc
But as you can see, all unchanged https://gyazo.com/bdf479ec8837ed27c9727b0ac8d5877a -
@goncalovsc again, can u show me the config.js file please… I don’t care about the output, you said it didn’t have any effect.
-
@sdetweil ``` /* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information on how you can configure 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 or empty, 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"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "pt", timeFormat: 24, units: "metric", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Feriados", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" } ] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "Matosinhos", locationID: "2737824", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "18493e6342f2df4ac6ca7ed72fd3d79b" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Matosinhos", locationID: "2737824", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "18493e6342f2df4ac6ca7ed72fd3d79b" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "Últimas Noticias", url: "https://www.cmjornal.pt/rss" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } }, ]
}; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
@goncalovsc ok, open the developers window, ctrl-shift-i on the keyboard, select the console tab,
enter ‘weath’ in the filter field (no quotes)and u will see
weatherforecast.js:279 GET https://api.openweathermap.org/data/2.5/forecast/daily?id=2737824&units=metric&lang=en&APPID=18493e6… 401 (Unauthorized)
weatherforecast.js:266 weatherforecast: Your AppID does not support long term forecasts. Switching to fallback endpoint.so, u need to change your openweather api key
-
@goncalovsc could u edit your post to put the 1st 3 backtics on a separate line (I can’t change it)