Read the statement by Michael Teeuw here.
Google Calendar issues
-
@1lolo94 if you use the url in a browser does it download the ICS file?
-
@sdetweil Yes it does.
-
@1lolo94 can u show the messages were you start mm, npm start .
if you use pm2, then
pm2 logs --lines=50
-
@sdetweil - can you explain more on what you’re requesting? Sorry!! I just started all this last night
-
@1lolo94 when MagicMirror starts, using the command npm start, the components that run on the server side output message to the terminal window.
if you used my script to install, and said yes to use pm2 to autostart,
then the pm2 command launches a little script, which issues the npm start command, and captures that output for display or review later.
then you can use the command
pm2 logs --lines=nnn
where nnn is a number of lines to display. default 15
one thing to know about Linux.
by convention, each command outputs it’s command parms when executed with --helpso
pm2 --help -
@sdetweil tried it and this is what i see
[28.01.2024 19:05.36.543] [INFO] updatenotification: You are not using pm2
-
@1lolo94 need more lines
-
magicmirror@2.26.0 start
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js[28.01.2024 19:05.32.973] [LOG] Starting MagicMirror: v2.26.0
[28.01.2024 19:05.32.981] [LOG] Loading config …
[28.01.2024 19:05.32.986] [DEBUG] config template file not exists, no envsubst
[28.01.2024 19:05.32.993] [LOG] Loading module helpers …
[28.01.2024 19:05.32.996] [LOG] No helper found for module: alert.
[28.01.2024 19:05.33.066] [LOG] Initializing new module helper …
[28.01.2024 19:05.33.067] [LOG] Module helper loaded: updatenotification
[28.01.2024 19:05.33.069] [LOG] No helper found for module: clock.
[28.01.2024 19:05.33.070] [LOG] No helper found for module: MMM-MonthlyCalendar.
[28.01.2024 19:05.33.073] [LOG] No helper found for module: weather.
[28.01.2024 19:05.33.074] [LOG] All module helpers loaded.
[28.01.2024 19:05.33.091] [LOG] Starting server on port 8080 …
[28.01.2024 19:05.33.494] [LOG] Server started …
[28.01.2024 19:05.33.496] [LOG] Connecting socket for: updatenotification
[28.01.2024 19:05.33.498] [LOG] Starting module helper: updatenotification
[28.01.2024 19:05.33.499] [LOG] Sockets connected & modules started …
[28.01.2024 19:05.33.535] [LOG] Launching application.
[28.01.2024 19:05.36.493] [INFO] updatenotification: Updater Class Loaded!
[28.01.2024 19:05.36.494] [INFO] updatenotification: Checking PM2 using…
[28.01.2024 19:05.36.543] [INFO] updatenotification: You are not using pm2
[28.01.2024 19:05.36.681] [INFO] Checking git for module: MMM-MonthlyCalendar
[28.01.2024 19:05.36.718] [INFO] Checking git for module: MagicMirror
[28.01.2024 19:05.40.617] [LOG] Shutting down server…
[28.01.2024 19:05.40.618] [LOG] Stopping module helper: updatenotification
[28.01.2024 19:05.40.619] [LOG] Node_helpers stopped … -
@1lolo94 said in Google Calendar issues:
MMM-MonthlyCalendar
ok, that is an add on calendar module
which appears to do all its operations in the browser side.
so on the running mm screen, press ctrl-shift-i ,
to open the developers window, and the select the console tab, and enter a unique part of the module name in the filter field, to show just the messages from that module , so month -
I noticed that in the config file you included in a previous post that you do NOT have the default calendar module in there. My thoughts are that this MMM-MonthlyCalendar has some dependency on that the default module, and without it noted in the config you aren’t getting what you expect.
As a STARTING point I would recommending adding this to your config file. I’d suggest making sure THAT calendar is working. If it DOES show Holidays but your Google calendar is still NOT working, I would suggest removing the US Holiday link and replace it with your Google calendar link. Then try again.
Additionally, the config options for that module you are trying to use does NOT show url as a config option. That likely has to be called from the default module. A concern I am sure you are having is that you don’t want to SEE the default module. I HIGHLY recommend that you use it for the purposes of troubleshooting. Once you get to a point where the MMM-MonthlyCalendar starts working, simply remove or comment out the POSITION line for the default calendar module in your config.
Also, did you edit any of the files in the modules in any way? If so, you may want to remove them and install the module again.
{ module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { fetchInterval: 7 * 24 * 60 * 60 * 1000, symbol: "calendar-check", url: "https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics" } ] } },