Read the statement by Michael Teeuw here.
magicmirror is blocked after 30 sec
-
@boyboy said in magicmirror is blocked after 30 sec:
weatherforecast 401 (Unauthorized)
looks like your appid is invalid
custom.css’ because its MIME type
because the file is not created by default…what other modules do you have installed?
-
i have remove forecast_weather module from config.js .The problem still appears
-
two errors displayed on console :
-
Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
-
Error on loadind stylesheet: css/custom.css
There is only one file in : css/main.css
-
-
@boyboy custom.css
I said before
custom.css’ because its MIME type
because the file is not created by default… < ------- YOU have to create it if u need itif you had used my installer script, it would have created one for you
-
@boyboy what other modules do you have installed , can u post your config.js, please use the code marker for that text here in the forum
paste text,
select text
then click the </> button above -
source from : http://localhost:8080/css/custom.css
@loader.js :205
stylesheet.onerror = function () {
Log.error(“error on loading styleshhet:”, fileName); -
@boyboy hello… did u read my prior post…
YOU have to create the file…
do this
~/MagicMirror touch css/custom.css
-
modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", position: "top_left", config: { maximumNumberOfDays: 100, maximumEntries: 7, fade: "false", fadePoint: "0.80", calendars: [ { url: 'http://localhost:8080/modules/calendars/*****.ics', symbol: 'calendar' }, { url: 'http://localhost:8080/modules/calendars/*****.ics', symbol: 'birthday-cake' } ] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "***", locationID: "3026534", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "****", //openweathermap.org API key showHumidity: "true", useKMPHwind: "true", roundTemp: "true", useBeaufort: "false" } }, { module: 'MMM-AirQuality', position: 'top_right', // you may choose any location config: { location: 'france/bourgogne/macon-paul-bert/', // the location to check the index for lang: "fr" } }, //{ // module: "weatherforecast", // position: "top_right", // header: "Weather Forecast", // config: { // location: "***", // locationID: "3026534", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city // appid: "****", //openweathermap.org API key // colored: "true", // fade: "false", // fadePoint: "0.75", // showRainAmount: "true", // roundTemp: "true" // } //}, { module: 'MMM-Todoist', position: 'top_left', // This can be any of the regions. Best results in left or right regions. config: { // See 'Configuration options' for more information. hideWhenEmpty: false, accessToken: '****', maximumEntries: 60, updateInterval: 10*60*1000, // Update every 10 minutes fade: false, // projects and/or labels is mandatory: projects: [ **** ], labels: [ "MagicMirror" ] // Tasks for any projects with these labels will be shown. } }, { module: 'MMM-Todoist', position: 'top_left', // This can be any of the regions. Best results in left or right regions. config: { // See 'Configuration options' for more information. hideWhenEmpty: false, accessToken: '***', maximumEntries: 60, updateInterval: 10*60*1000, // Update every 10 minutes fade: false, // projects and/or labels is mandatory: projects: [ **** ], labels: "Important" // Tasks for any projects with these labels will be shown. } }, ]
};
-
@sdetweil i did it. There is no error in console now. But clock still block after 30 sec
-
@boyboy said in magicmirror is blocked after 30 sec:
But clock still block after 30 sec
right, because that was just a useless warning…