• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

default calendar fetching issues

Scheduled Pinned Locked Moved Unsolved Troubleshooting
21 Posts 3 Posters 1.1k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    nowayto @sdetweil
    last edited by Mar 19, 2025, 10:14 PM

    @sdetweil

    Recreated 2 times.

    First time calendar loaded Holidays calendar only

    [2025-03-19 22:23:55.917] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/**MYCAL**>
    [2025-03-19 22:23:56.467] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/**HOLIDAYPUBLICCAL**/publ>
    [2025-03-19 22:23:56.675] [LOG] Create new newsfetcher for url: https://www.ansa.it/sito/ansait_rss.xml - Interval: 300000
    [2025-03-19 22:23:56.698] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:23:56.836] [LOG] MMM-Formula1 received a notification: CONFIG
    [2025-03-19 22:23:56.838] [LOG] MMM-Formula1 is requesting the SCHEDULE on url https://api.jolpi.ca/ergast/f1/2025.json
    [2025-03-19 22:24:02.687] [INFO] updatenotification: Updater Class Loaded!
    [2025-03-19 22:24:02.733] [INFO] updatenotification: Checking PM2 using…
    [2025-03-19 22:24:02.735] [INFO] updatenotification: [PM2] You are not using pm2
    [2025-03-19 22:24:02.740] [INFO] Checking git for module: MMM-CalendarExt3
    [2025-03-19 22:24:03.525] [INFO] Checking git for module: MMM-Growatt
    [2025-03-19 22:24:03.850] [INFO] Checking git for module: MMM-Formula1
    [2025-03-19 22:24:04.283] [INFO] Checking git for module: MMM-RAIN-MAP
    [2025-03-19 22:24:07.693] [INFO] Checking git for module: MagicMirror
    [2025-03-19 22:24:08.072] [LOG] MMM-Formula1 is returning the SCHEDULE for the season
    [2025-03-19 22:24:40.393] [INFO] Newsfeed-Fetcher: Broadcasting 28 items.
    [2025-03-19 22:24:45.457] [INFO] Calendar-Fetcher: Broadcasting 61 events from https://calendar.google.com/calendar/**MYPRIVCAL**>
    [2025-03-19 22:24:46.745] [INFO] Calendar-Fetcher: Broadcasting 36 events from https://calendar.google.com/calendar/**PUBLICHOLIDAYCAL/>
    [2025-03-19 22:24:57.986] [LOG] Publishing GROWATT data
    [2025-03-19 22:25:51.745] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:25:54.191] [LOG] Publishing GROWATT data
    [2025-03-19 22:27:51.368] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:27:53.447] [LOG] Publishing GROWATT data


    2nd time I got the error and no calendar loaded:

    [2025-03-19 22:32:06.388] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/**PUBLICHOLIDAYCAL**>
    [2025-03-19 22:32:07.767] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/**MYPRIVCAL**>
    [2025-03-19 22:32:07.881] [LOG] Create new newsfetcher for url: https://www.ansa.it/sito/ansait_rss.xml - Interval: 300000
    [2025-03-19 22:32:07.903] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:32:08.057] [INFO] updatenotification: Updater Class Loaded!
    [2025-03-19 22:32:08.059] [INFO] updatenotification: Checking PM2 using…
    [2025-03-19 22:32:08.063] [INFO] updatenotification: [PM2] You are not using pm2
    [2025-03-19 22:32:08.066] [INFO] Checking git for module: MMM-CalendarExt3
    [2025-03-19 22:32:08.132] [LOG] MMM-Formula1 received a notification: CONFIG
    [2025-03-19 22:32:08.134] [LOG] MMM-Formula1 is requesting the SCHEDULE on url https://api.jolpi.ca/ergast/f1/2025.json
    [2025-03-19 22:32:08.516] [INFO] Checking git for module: MMM-Growatt
    [2025-03-19 22:32:10.043] [INFO] Checking git for module: MMM-Formula1
    [2025-03-19 22:32:11.007] [INFO] Checking git for module: MMM-RAIN-MAP
    [2025-03-19 22:32:14.346] [INFO] Newsfeed-Fetcher: Broadcasting 28 items.
    [2025-03-19 22:32:14.404] [LOG] MMM-Formula1 is returning the SCHEDULE for the season
    [2025-03-19 22:32:14.414] [INFO] Checking git for module: MagicMirror
    [2025-03-19 22:32:48.815] [INFO] Calendar-Fetcher: Broadcasting 61 events from https://calendar.google.com/calendar/**MYPRIVCAL**>
    [2025-03-19 22:32:50.508] [INFO] Calendar-Fetcher: Broadcasting 36 events from https://calendar.google.com/calendar/**PUBLICHOLIDAYCAL**>
    [2025-03-19 22:32:51.949] [LOG] Publishing GROWATT data
    [2025-03-19 22:34:08.485] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:34:14.955] [LOG] Publishing GROWATT data
    [2025-03-19 22:36:06.721] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:36:09.906] [LOG] Publishing GROWATT data
    [2025-03-19 22:37:16.339] [INFO] Newsfeed-Fetcher: Broadcasting 28 items.
    [2025-03-19 22:38:07.502] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:38:10.302] [LOG] Publishing GROWATT data
    [2025-03-19 22:40:09.496] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:40:12.087] [LOG] Publishing GROWATT data
    [2025-03-19 22:42:11.495] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:42:13.869] [LOG] Publishing GROWATT data
    [2025-03-19 22:42:16.743] [INFO] Newsfeed-Fetcher: Broadcasting 28 items.
    [2025-03-19 22:44:13.525] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:44:15.562] [LOG] Publishing GROWATT data
    [2025-03-19 22:46:15.496] [LOG] MMM-Growatt: GROWATT_GET_DATA
    [2025-03-19 22:46:17.289] [LOG] Publishing GROWATT data
    [2025-03-19 22:47:17.588] [INFO] Newsfeed-Fetcher: Broadcasting 28 items.
    [2025-03-19 22:47:20.690] [LOG] Shutting down server…
    [2025-03-19 22:47:20.696] [LOG] Stopping module helper: calendar

    Honestly… I don’t see nothing strange.
    But when this error appear, if I left MM on for a day, it wont load calendar entries.

    I have to restart it one or more time till it show entries

    S 1 Reply Last reply Mar 19, 2025, 10:24 PM Reply Quote 0
    • S Away
      sdetweil @nowayto
      last edited by Mar 19, 2025, 10:24 PM

      @nowayto ok, disable the updatenotification module in config.js

      add

      disabled:true,
      after the
      module:line

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      N 1 Reply Last reply Mar 19, 2025, 11:07 PM Reply Quote 0
      • N Offline
        nowayto @sdetweil
        last edited by Mar 19, 2025, 11:07 PM

        @sdetweil
        I did it.
        I usually put the “disabled: true” before the module name line, instead of after
        Is it different?

        S 1 Reply Last reply Mar 19, 2025, 11:19 PM Reply Quote 0
        • S Away
          sdetweil @nowayto
          last edited by Mar 19, 2025, 11:19 PM

          @nowayto no. just some users dont know what i mean

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          N 1 Reply Last reply Mar 20, 2025, 7:35 AM Reply Quote 0
          • N Offline
            nowayto @sdetweil
            last edited by Mar 20, 2025, 7:35 AM

            @sdetweil
            behaviour seems the same. I suspect this, could this issues be related to the raspberry pi 3 computing capacity? could it be not enough?

            Is there a way to delay the pm2 automatic startup.
            For example I though to try a delay of 1-2 minutes so:
            1- raspbian startup
            2- delay of 1-2 minutes to make sure all the services are up and the cpu is idle
            3- mm startup
            4- if it’s possible, I will add a delay to the modules startup also, maybe 20 seconds between every module loading

            Honestly I checked his capacity a lot of times using the htop, free and cpu temperature command.
            With my amazement I see everytime an amount of free memory, low cpu load and good cpu temp (like 40 to 50 degrees)

            But if there is a way to delay everything, I’ll just check if with a “calmly” startup It will go better

            S 1 Reply Last reply Mar 21, 2025, 1:06 PM Reply Quote 0
            • S Away
              sdetweil @nowayto
              last edited by Mar 21, 2025, 1:06 PM

              @nowayto i do not know on pm2

              you could put a sleep 120
              in the mm.sh to wait a while

              how is swap space?

              free -m

              pi02w only has 512mb

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              N 1 Reply Last reply Mar 22, 2025, 7:33 AM Reply Quote 0
              • N Offline
                nowayto @sdetweil
                last edited by Mar 22, 2025, 7:33 AM

                @sdetweil
                Yes I agree, the memory is very limiting.
                Although mine is a Pi3 model A, but the memory is 512mb like the pi02w.
                When I started the project I had something different in my mind and now I’m pushing it to the limit.

                But as I said I checked everytime the CPU temperature, memory and generally resources usage from “htop” command.

                This morning MM started with calendar error, I did a “pm2 restart mm” and goes OK.

                Now I put “sleep 120” inside mm.sh as first line
                I restarted it now

                Memory BEFORE restart was this
                total used free shared buff/cache available
                Mem: 427 156 90 70 179 147
                Swap: 1023 231 792

                Not so good but not so bad, same time.

                I’ll check if this delay could help.
                Is there a way to put a little delay between the loading of every module ? Maybe 5/10 seconds, I though it could be very helpful on a limited machine like mine :)

                S 1 Reply Last reply Mar 22, 2025, 1:31 PM Reply Quote 0
                • S Away
                  sdetweil @nowayto
                  last edited by Mar 22, 2025, 1:31 PM

                  @nowayto there is no way to delay loading

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • emloweE Offline
                    emlowe Module Developer
                    last edited by Mar 24, 2025, 10:05 PM

                    I had considerable problems with running on a model A - but I found dietPI (https://dietpi.com/) to be a solid distro that works well even when using the default electron GUI front-end. (Previously OOM’d consistently)

                    Note, also I frequently have trouble with the calendar events appears as there seems to be some problem in the websocket communication layer (this bug: https://github.com/MagicMirrorOrg/MagicMirror/issues/3380)

                    I basically use MMM-RemoteControl to force a refresh in a daily cron job (curl http://localhost:8080/api/refresh) and this works. Why? No One knows

                    N 1 Reply Last reply Mar 29, 2025, 12:46 PM Reply Quote 0
                    • N Offline
                      nowayto @emlowe
                      last edited by Mar 29, 2025, 12:46 PM

                      @emlowe I have a similar problem, I solved modifing mm.sh with

                      sleep 30
                      DISPLAY=:0 npm start
                      sleep 60
                      pm2 restart mm

                      “pm2 restart mm” does a refresh like you do with RemoteControl

                      S 1 Reply Last reply Mar 29, 2025, 1:12 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        11/21
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy