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 Solved Troubleshooting
    21 Posts 3 Posters 3.5k 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.
    • S Offline
      sdetweil @nowayto
      last edited by

      @nowayto have you installed the broadcast fix?

      https://forum.magicmirror.builders/topic/19282/version-2-30-0-calendar-fix-for-clipping-broadcast-events

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @nowayto
        last edited by

        @nowayto default calendar NEVER displays past events

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by

          @nowayto other thing is how ext3 processes broadcasts

          it doesn’t want to flash the screen on every update
          calendar module procceses each calendar independently, do events arrive at different times

          there are two settings
          waitFetch how long to wait for All events (5 seconds)
          update cycle??? how often to redraw. (30 mjns)

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          N 1 Reply Last reply Reply Quote 0
          • N Offline
            nowayto @sdetweil
            last edited by

            @sdetweil I though I applied the fix in the past, although I’m not 100% sure.
            But I don’t think the issue is ext3 related.

            In my opinion sometimes default calendar don’t fetch the calendars, especially at the morning.
            When it happen I don’t see any lines and a error message appear.
            I don’t remember the message and now it’s working.
            In the last one hour I tried to restart MM some times but now seems working, everything ok, no error message.
            If it will appear, I’ll write it here

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @nowayto
              last edited by

              @nowayto to check on the fix

              git branch

              in the MagicMirror folder

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              N 1 Reply Last reply Reply Quote 0
              • N Offline
                nowayto @sdetweil
                last edited by

                @sdetweil

                git branch

                • _fix_clipping
                  master

                Error appeared now:
                " Error in the calendar module. Check logs for more detail."

                I don’t know where to find calendar logs but with “pm2 logs”
                I don’t see any errors information about calendar issue, just something about another module.

                /home/MYUSER/.pm2/logs/mm-error.log last 15 lines:
                0|mm | socket: {
                0|mm | localAddress: 'MMIPADDRESS,
                0|mm | localPort: MMPORT,
                0|mm | remoteAddress: undefined,
                0|mm | remotePort: undefined,
                0|mm | remoteFamily: undefined,
                0|mm | timeout: undefined,
                0|mm | bytesWritten: 322,
                0|mm | bytesRead: 0
                0|mm | }
                0|mm | }
                0|mm | }
                0|mm | [2025-03-19 13:30:59.574] [ERROR] Failed to retrieve repo info for MMM-Growatt: Error: Command failed: cd /home/MYUSER/MagicMirror/modules/MMM-Growatt && git fetch -n --dry-run
                0|mm | fatal: unable to access ‘https://github.com/dekinet/MMM-Growatt.git/’: Empty reply from server
                0|mm |

                I don’t think this could be related to calendar issue

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @nowayto
                  last edited by

                  @nowayto

                  ok, on the right branch

                  yes, when run with pm2, then pm2 logs is the way…

                  there are two sections of the output

                  the .error(stderr) and .out(stdout)

                  can you look in the .out?

                  the folder for the pm2 logs is

                  ~/.pm2/logs
                  

                  note the leading dot on .pm2

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    nowayto @sdetweil
                    last edited by

                    @sdetweil

                    It’s very long.

                    I checked the end paragraph ad I saw just errors from growatt module.
                    Do I have to search something in particular?

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @nowayto
                      last edited by

                      @nowayto said in default calendar fetching issues:

                      Do I have to search something in particular?

                      I do not know

                      can you recreate this if un restart MagicMirror? does it always fail in the morning?

                      pm2 is really for production use,

                      if you can repeat it

                      pm2 stop all
                      cd ~/MagicMirror
                      npm start &>somefile.txt
                      

                      wait til failure
                      ctrl-q on MagicMirror screen
                      then examine the somefile.txt

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      N 1 Reply Last reply Reply Quote 0
                      • N Offline
                        nowayto @sdetweil
                        last edited by

                        @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 Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          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