Read the statement by Michael Teeuw here.
Default calendar is just loading! (Newbie)
-
@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