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.

    2.30.0 and MMM-CalendarExt3 missing calendars

    Scheduled Pinned Locked Moved Solved Troubleshooting
    29 Posts 3 Posters 4.6k Views 4 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.
    • R Offline
      redfishbluefish
      last edited by

      2.30.0 doesn’t seem to be playing nicely with MMM-CalendarExt3 in my setup and I don’t see any clues in the logs as to why. Default calendar modules appears to be working as expected and I can see that the Calendar-Fetcher is broadcasting events for all of my calendars.

      Oddly, events from one of the 5 calendars I’m using do appear in MMM-CalendarExt3 correctly. Changing order of calendar definitions in the config.js make no difference.

      The only error I see in logs is shown below but this appears to be related to a known issue in MMM-RemoteControl and MMM-CalendarExt3 (and the error goes away if I disable MMM-RemoteControl) which is also present when I’m running 2.29.0.

      0|mm  | [2025-01-01 15:51:41.985] [ERROR] ERROR! Could not validate main module js file. 
      0|mm  | [2025-01-01 15:51:41.992] [ERROR] ReferenceError: HTMLElement is not defined
      0|mm  |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-CalendarExt3/MMM-CalendarExt3.js:6:26)
      0|mm  |     at Module._compile (node:internal/modules/cjs/loader:1484:14)
      0|mm  |     at Module._extensions..js (node:internal/modules/cjs/loader:1564:10)
      0|mm  |     at Module.load (node:internal/modules/cjs/loader:1295:32)
      0|mm  |     at Module._load (node:internal/modules/cjs/loader:1111:12)
      0|mm  |     at c._load (node:electron/js2c/node_init:2:17025)
      0|mm  |     at Module.require (node:internal/modules/cjs/loader:1318:19)
      0|mm  |     at require (node:internal/modules/helpers:179:18)
      0|mm  |     at Class.loadModuleDefaultConfig (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:317:30)
      0|mm  |     at /home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:271:26
      0|mm  |     at FSReqCallback.oncomplete (node:fs:198:5) 
      

      I have since done a revert to 2.29.0 and with the exact same config.js etc, MMM-CalendarExt3 is working fine. I’m going to try and spin up a server only version of 2.30.0 to poke at since I can’t wipe out my main installation.

      S M 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @sdetweil
        last edited by

        @redfishbluefish
        apply this fix
        see
        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

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

          @redfishbluefish i am using ext3 w 2.30

          did u use my script or manual upgrade

          because if the nodejs change you may need to nom instsll agsin to get the extension installed

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil manual upgrade. I also did a reinstall of the modules I use since nodes changed.

            MMM-CalendarExt3 was installed/working with 2.30.0 as it shows up and has the info for one of the calendars but not for all calendars.

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

              @redfishbluefish timing may have changed.
              can you look at the output of npm start and see if the events were broadcast

              if using pm2, then pm2 logs --lines=xxxx

              xxxx is the number of most recent lines to show, default 15

              ext3 tries to wait and not flash every time events arrive .
              there is a delay parm for next time to check, its fairly long

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil I updated my docker server-only install to 2.30.0 to test on. The config.js file is almost identical to what I have on my RPi and this is what I see after restarting MagicMirror:

                [2025-01-01 17:45:14.379] [LOG]   Starting MagicMirror: v2.30.0 
                [2025-01-01 17:45:14.397] [LOG]   Loading config ... 
                [2025-01-01 17:45:14.400] [LOG]   config template file not exists, no envsubst 
                [2025-01-01 17:45:14.790] [INFO]  Checking config file /opt/magic_mirror/config/config.js ... 
                [2025-01-01 17:45:14.889] [INFO]  Your configuration file doesn't contain syntax errors :) 
                [2025-01-01 17:45:14.890] [INFO]  Checking modules structure configuration ... 
                [2025-01-01 17:45:14.971] [INFO]  Your modules structure configuration doesn't contain errors :) 
                [2025-01-01 17:45:15.119] [LOG]   Loading module helpers ... 
                [2025-01-01 17:45:15.123] [LOG]   No helper found for module: alert. 
                [2025-01-01 17:45:15.140] [LOG]   Initializing new module helper ... 
                [2025-01-01 17:45:15.141] [LOG]   Module helper loaded: MMM-Wheel 
                [2025-01-01 17:45:15.146] [LOG]   No helper found for module: MMM-Carousel. 
                [2025-01-01 17:45:15.194] [LOG]   Initializing new module helper ... 
                [2025-01-01 17:45:15.195] [LOG]   Module helper loaded: updatenotification 
                [2025-01-01 17:45:15.198] [LOG]   No helper found for module: clock. 
                [2025-01-01 17:45:15.211] [LOG]   Initializing new module helper ... 
                [2025-01-01 17:45:15.211] [LOG]   Module helper loaded: MMM-UCDSB 
                [2025-01-01 17:45:15.214] [LOG]   No helper found for module: weather. 
                [2025-01-01 17:45:15.391] [LOG]   Initializing new module helper ... 
                [2025-01-01 17:45:15.392] [LOG]   Module helper loaded: calendar 
                [2025-01-01 17:45:15.396] [LOG]   No helper found for module: MMM-CalendarExt3. 
                [2025-01-01 17:45:15.397] [LOG]   All module helpers loaded. 
                [2025-01-01 17:45:15.406] [LOG]   Starting server on port 8080 ...  
                [2025-01-01 17:45:15.409] [WARN]  You're using a full whitelist configuration to allow for all IPs 
                [2025-01-01 17:45:15.427] [LOG]   Server started ... 
                [2025-01-01 17:45:15.428] [LOG]   Connecting socket for: MMM-Wheel 
                [2025-01-01 17:45:15.429] [LOG]   Starting module helper: MMM-Wheel 
                [2025-01-01 17:45:15.429] [LOG]   Connecting socket for: updatenotification 
                [2025-01-01 17:45:15.430] [LOG]   Starting module helper: updatenotification 
                [2025-01-01 17:45:15.431] [LOG]   Connecting socket for: MMM-UCDSB 
                [2025-01-01 17:45:15.431] [LOG]   Starting module helper: MMM-UCDSB 
                [2025-01-01 17:45:15.432] [LOG]   Connecting socket for: calendar 
                [2025-01-01 17:45:15.432] [LOG]   Starting node helper for: calendar 
                [2025-01-01 17:45:15.432] [LOG]   Sockets connected & modules started ... 
                [2025-01-01 17:45:15.433] [INFO]  
                >>>   Ready to go! Please point your browser to: http://0.0.0.0:8080   <<< 
                [2025-01-01 17:45:15.669] [INFO]  System information:
                ### SYSTEM:   manufacturer: ; model: Docker Container; virtual: false
                ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: x64; kernel: 5.15.49-linuxkit
                ### VERSIONS: electron: undefined; used node: 22.12.0; installed node: 22.12.0; npm: 10.9.0; pm2: 
                ### OTHER:    timeZone: America/Toronto; ELECTRON_ENABLE_GPU: undefined 
                

                I notice that there are no calendar events being broadcast at all (which likely makes sense since nothing has attempted to load the page yet).

                After loading the site I get (calendar urls deleted):

                [2025-01-01 17:48:40.701] [LOG]   Create new calendarfetcher for url: Holidays.ics - Interval: 3600000 
                [2025-01-01 17:48:40.786] [LOG]   Create new calendarfetcher for url: basic1.ics - Interval: 3600000 
                [2025-01-01 17:48:40.791] [LOG]   Create new calendarfetcher for url: calendarId=1509643 - Interval: 3600000 
                [2025-01-01 17:48:40.797] [LOG]   Create new calendarfetcher for url: basic2.ics - Interval: 3600000 
                [2025-01-01 17:48:40.803] [LOG]   Create new calendarfetcher for url: basic3.ics - Interval: 3600000 
                [2025-01-01 17:48:40.891] [INFO]  updatenotification: Updater Class Loaded! 
                [2025-01-01 17:48:40.892] [INFO]  updatenotification: Checking PM2 using... 
                [2025-01-01 17:48:40.892] [INFO]  updatenotification: Running in docker container, not using PM2 ... 
                [2025-01-01 17:48:40.893] [INFO]  Checking git for module: MMM-Wheel 
                [2025-01-01 17:48:40.895] [INFO]  Checking git for module: MMM-Carousel 
                [2025-01-01 17:48:40.920] [INFO]  Checking git for module: MMM-UCDSB 
                [2025-01-01 17:48:40.942] [INFO]  Checking git for module: MMM-CalendarExt3 
                [2025-01-01 17:48:41.003] [INFO]  Calendar-Fetcher: Broadcasting 34 events from Holidays.ics. 
                [2025-01-01 17:48:41.021] [INFO]  Checking git for module: MagicMirror 
                [2025-01-01 17:48:41.053] [INFO]  Calendar-Fetcher: Broadcasting 61 events from calendarId=1509643. 
                [2025-01-01 17:48:41.112] [INFO]  Calendar-Fetcher: Broadcasting 3 events from basic3.ics. 
                [2025-01-01 17:48:41.826] [INFO]  Calendar-Fetcher: Broadcasting 294 events from basic1.ics. 
                [2025-01-01 17:48:42.801] [INFO]  Calendar-Fetcher: Broadcasting 282 events from basic2.ics. 
                

                The basic3.ics calendar event show in MMM-CalendarExt3 but nothing else.

                R S 2 Replies Last reply Reply Quote 0
                • R Offline
                  redfishbluefish @redfishbluefish
                  last edited by

                  This post looks like a similar issue: https://forum.magicmirror.builders/topic/19273/mmm-calendarext3-not-showing-events-on-calendar-but-does-on-list-after-2-30-update

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

                    @redfishbluefish ok, cal module is working

                    ext3 is done all in browser,
                    open the developer window, ctrl-shift-i,
                    select the console tab
                    add ext to the filter field

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @redfishbluefish you both reported at approximately same time

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

                        @sdetweil I get what’s in the screenshot in the console but CalendarExt3 is loaded in the browser correctly.

                        Screenshot 2025-01-01 at 6.35.29 PM.png

                        Note that this looks identical to what I see when running 2.29.0.

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

                          @redfishbluefish hm… I have 3 instances , on pages, with multiple cals.
                          all three instances are working…

                          I checked was downlevel (on 1.8.5), now on 1.9.4 latest… no change. all working as expected. I added a calendar fix reported by author, about calendar symbols in an array

                          symbol: [ “foo”, “bar” ]

                          but you aren’t seeing any exceptions

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          R 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