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.

    MMM-CalendarExt3Agenda on a higher screen resolution?

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 3 Posters 1.4k 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.
    • R Offline
      rkorell
      last edited by

      Dear team,
      I have upgraded my monitor and so I could use a higher resolution for the screen.
      Coming from 1.920x1.080 I’ve tried 2.560x1.440 which really looks great.

      Unfortunately MMM-CalendarExt3Agenda (which I use for calendar representation) disappears after every single restart of the mirror.
      This is true for the display itself as well as for a headless (remote) VNC session.
      Interesting enough the webbrowser SHOWS the module!

      After some time has passed calender appears suddenly (not sure which event this triggers).

      Currently I’m clueless.
      (It happens earlier that MMM-CalendarExt3Agenda disappeared after a Raspberry-Reboot but a restart of MagigMirror corrects this)

      Any idea/hint from the experts?

      Thanks a LOT!
      Regards,
      Ralf

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

        @rkorell i don’t think the screen change has anything to do with it

        the Ex3 family of modules gets their data from the default calender.

        if you look at the pm2 logs, you can see timestamps of when the data is sent…

        the Ext3 modules, try NOT to ‘flash’ on every change, and he doesn’t KNOW how many calendars there are, or how long they will take to process…

        so, he has a couple config parms that control it

        waitFetch:5000 (5 seconds)

        wait THAT long from first incoming block of messages, then display the calendar
        anything that comes it LATER, has to wait for the refreshInterval 1800000 milliseconds
        or 30 minutes… oops… a LONG time

        SO, the default calendar is taking a little longer in this release(2.30.0), so I bet that calendar missed the waitFetch time limit

        so I suggest looking at the pm2 logs messages and get the elapsed time from start to finish and set the waitFetch a little longer than that…

        NOW, this WILL cause the calendar NOT to display AT ALL for a little longer
        its a catch-22
        OR change the refreshInterval to faster…

        be careful, its takes work to do the refresh
        and refreshing when there are no changes (once a minute say) takes system resources away from other modules…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil
          Thanks for your explanation always.
          I’ll add small message in the screen on waiting - “Waiting calendar fetch…” or something informative in the next update…

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            rkorell @MMRIZE
            last edited by

            @MMRIZE @sdetweil ,
            thanks for this.
            I’ve played around with waitFetch which doesn’t help.
            But with your justification I have to investigate deeper and find the right value.

            Warmest regards,
            Ralf

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

              I have set refreshinterval at 180000 - 3 Minutes.
              this may triggers appearance of MMM-CalendarExt3Agenda …

              I’m not able to identify the startup of MMM-CalendarExt3Agenda in the log.

              If I consider the difference between Mirror-startup and first calender fetching as the “right” fetching time

              [2025-01-24 10:44:49.288] [LOG]   Starting MagicMirror: v2.30.0 
              
              [2025-01-24 10:45:05.760] [INFO]  Calendar-Fetcher: Broadcasting 22 events from https://www.feiertage-deutschland.de/
              [2025-01-24 10:45:06.206] [INFO]  Calendar-Fetcher: Broadcasting 21 events from https://calendar.google.com/calendar
              
              

              it should be around 16,9 seconds - is this the right assumption?.

              At least with

              waitFetch:  17000,  //  start: 0:45:06.206 -  first calender fetch: 10:44:49.288 = 16.918 ms 
              

              MMM-CalendarExt3Agenda appears “faster” than before …

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

                @rkorell you want more than last calendar for wait fetch

                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
                  rkorell @sdetweil
                  last edited by

                  @sdetweil , sorry, I didn’t get you…
                  what do you mean by this?

                  Ralf

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

                    @rkorell you want the time til after the LAST calendar broadcast not the first

                    10:45:06.206

                    He wants to wait til ALL the data is present

                    So waitFetch: 19*1000

                    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
                      rkorell @sdetweil
                      last edited by

                      @sdetweil
                      O.K. , sorry my fault…Wrong expression from my side “first fetch” means first complete fetch (so ALL data fetched).
                      In addition I accidentally switched the begin and end…
                      So correct view is

                      waitFetch:  17000,  //  MM starts: 10:44:49.288   minus  complete calender fetch at: 10:45:06.206 = 16.918 ms
                      

                      Sorry for my mistake.
                      And thanks for your explanation!
                      Warmest regards,
                      Ralf

                      .

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

                        @rkorell and did that work?

                        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
                        • 1 / 2
                        • 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