Read the statement by Michael Teeuw here.
Default calendar is just loading! (Newbie)
-
I`ve tried to personalize the default calendar module, but since I changed the code it is just loading and showing the header. I´ve already re-programmed the code of the standard calendar, but that changes absolutly nothing. I´ve also tried it with the MMM-MyCalendar Module but even that doesn´t help.
I have quadruple checked the code in the config file of both modules but couldn´t find an error. Also in the developers menu there isn´t an error shown. Does someone can help me? :upside-down_face: If you need more information just ask! -
I tried to delete and reinstall the whole programm. But now it won´t even start anymore and the last message in the terminal is “MESA-LOADER: failed to retrieve device information”
-
@Max-0 the calendar ics parser runs in the node_helper… its messages are output in the npm start window… or if using pm2 to autostart ,
pm2 logs --lines=100you can also add “DEBUG” to the
logLevel: ["INFO", "LOG", "WARN", "ERROR"], // Add "DEBUG" for even more loggingin config.js
because there is so much output, I would do
pm2 stop all cd ~/MagicMirror npm start >somefile.txt 2>&1then after MM starts and no calendar appears… wait 15 secconds
ctrl-m on the MM window to minimize and press ctrl-c to stop mm.the the contents of somefile.txt will give me the info to debug
send to this same userid at gmail
don’t post here or in mm issue as there is private data shown in the logs -
This post is deleted! -
@sdetweil I think I sent an email?
-
@Max-0 I do not see any email
-
What is the exact gmail?
-
@Max-0 what is my username here
use that at gmail
.com
sorry I won’t type it out these pages are scanned
for seat engines and no chatgpt type ai engines -
@sdetweil I just did that?
Is that correct? yes.
-
@Max-0 but you did not set the debug in config.js first
-
@sdetweil If you mean to add “DEBUG” in the config list, i did that but i can do it again and send you another mail
-
yes. there should be about 1000 lines of output in the file
-
@sdetweil I’ve definitely set Debug to the log level list, but I’m still getting those same some file.txt lines
-
@Max-0 show me the loglevel from config.js, should look line this
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"], -
@sdetweil here

-
@Max-0 ok, when you run npm start you should see stuff like this
default US holidy cal, one eventUG] Event: {"type":"VEVENT","params":[],"summary":"Labor Day","start":"2023-09-04T05:00:00.000Z","datetype":"date","end":"2023-09-04T05:00:00.000Z","location":"United States","description":"Visit https://c> [24.08.2023 15:01.51.477] [DEBUG] start: Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time) [24.08.2023 15:01.51.477] [DEBUG] end:: Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time) [24.08.2023 15:01.51.477] [DEBUG] duration: 0 [24.08.2023 15:01.51.477] [DEBUG] title: Labor Day [24.08.2023 15:01.51.477] [DEBUG] if no tz, guess based on now [24.08.2023 15:01.51.485] [DEBUG] initial tz=America/Chicago [24.08.2023 15:01.51.485] [DEBUG] corrected tz=America/Chicago [24.08.2023 15:01.51.485] [DEBUG] start date/time=Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time) [24.08.2023 15:01.51.486] [DEBUG] start offset=-300 [24.08.2023 15:01.51.486] [DEBUG] start date/time w tz =Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time) [24.08.2023 15:01.51.486] [DEBUG] event date=Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time) [24.08.2023 15:01.51.487] [DEBUG] event offset=-300 hour=0 event date=Mon Sep 04 2023 00:00:00 GMT-0500 (Central Daylight Time) [24.08.2023 15:01.51.487] [DEBUG] adjustHours=0 [24.08.2023 15:01.51.487] [DEBUG] Processing entry... [24.08.2023 15:01.51.487] [DEBUG] Event: -
@sdetweil If you mean this should be in the somefile.txt, I double checked your instructions and did it a few times but I´m getting over and over the same text in the file! But I do not fully understand what you mean by 1 event in the calendar. Also when I check the dev console in the mirror, there are some errors which say "Refused to apply style "/“Error on loading stylesheet: css/custom.css” (Idk if that is important)
-
@Max-0 I am just showing 1 event from the debug log
-
@Max-0 do
pm2 stop all cd ~/MagicMirror npm start >somefile.txt -
@sdetweil without the 2>&1 behind the npm command, I´m getting less information than before! (is it important for the words int he command to be bold?)
-
@Max-0 no bold in any of my command strings… command prompt doesn’t do bold anyhow…
got no idea where u are having trouble. this is the simplest command set ever
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login