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.

    Version 2.30.0 Calendar fix for clipping broadcast events

    Scheduled Pinned Locked Moved Solved Troubleshooting
    67 Posts 10 Posters 24.1k Views 10 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 @angeliKITTYx
      last edited by

      @angeliKITTYx there are events broadcast over almost 2 minutes. I think Ext3 tries to hold off updating exactly when events arrive

      there is a properties on Ext3

      waitFetch 5000 (ms) waiting the fetching of last calendar to prevent flickering view by too frequent fetching.
      refreshInterval 1800000 (ms) refresh view by force if you need it.

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

        @angeliKITTYx can you go to the MMM-GoogleTasks module folder and do

        ls node_modules/googleapis
        it should display something

        then

        rm-rf node_modules
        npm install
        

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

          @angeliKITTYx ok, the module has a problem

          it didn’t document NEEDING that library (it has no package.json file)

          so do the general fix for missing dependencies

          see here for the steps
          https://forum.magicmirror.builders/topic/15778/fix-for-black-screen-in-2-16-and-later?page=1

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil that link fixed the module, thank you! Now just the issue of the calendar. Here’s my config file - did I add those parameters correctly? My Ext3 refreshinterval used to be 105000. Once I changed that and added the fetch, the “all day” events are still showing wrong and I’m down to 2 of 7 calendars showing.

            		{
            			module: "calendar",
            			header: "Family Calendar",
            			hiddenOnStartup: "true",
            			position: "top_left",
            			config: {
            				broadcastPastEvents: true,
            				displaySymbol: false,
            				showEnd: false,
            				fetchInterval: 100000,
            				calendars: [
            					{
            						url: "https://calendar.google.com/calendar/ical/an.jusino%40gmail.com/private-74d08680c977c48e69171dadae3346d1/basic.ics",
            						name: "family_cal",
            						color: "mediumpurple"
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/omtoia6f8j37jran5mb17op4ds%40group.calendar.google.com/private-16234c84cba91dcd115a1520c7d4a6d1/basic.ics",
            						name: "alecwork_cal",
            						color: "darkgrey"
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/alec.ricks%40gmail.com/private-1057e398b749e4a4bd8d89428196701d/basic.ics",
            						name: "alec_cal",
            						color: "cyan"
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/0b6c8d6f8c3228633df24f5a2e1a82ee6e26fb2f83149c1e7f23db663a1723fc%40group.calendar.google.com/private-b27c85d7ac15b1b3720cbc02b5dc379c/basic.ics",
            						name: "days_off",
            						color: "black"
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/1edbd1beaf928e2704be3df763e9b319577876e1bcb207b7904a9c4f06ffb943%40group.calendar.google.com/private-76c28d9a0ee7ab9f1b64a9d566a850ed/basic.ics",
            						name: "birthdays",
            						color: "palevioletred"
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/0f7edded062436e88c439f02088314c458c640c02e562fb692933af418d0abc4%40group.calendar.google.com/private-e796d5dfb492112678768352ffc3fbb8/basic.ics",
            						name: "Recycling",
            						color: "blue"
            					},
            					{
            						url: "https://calendar.google.com/calendar/ical/f66c575019a70fc8b261642986e5db02b70a923eaa2c24ce3cef72adc9f500c2%40group.calendar.google.com/private-22e483fee9be4ff5c366069093ee2445/basic.ics",
            						name: "Trash",
            						color: "green"
            					},
            
            				]
            			}
            		},
            {
            			module: "MMM-CalendarExt3",
            			position: "bottom_bar",
            				config: {
            					mode: "week",
            					useSymbol: false,
            					showMore: true,
            					refreshInterval: "1800000",
            					waitFetch: "5000",
            					weekIndex: "0",
            					instanceId: "basicCalendar",
            					fontSize: "22px",
            					maxEventLines: 5,
            					firstDayOfWeek: 7,
            					calendarSet: ['family_cal', 'alecwork_cal', 'alec_cal', 'days_off', 'birthdays', 'Recycling', 'Trash'],
              }
            },
            
            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @angeliKITTYx
              last edited by sdetweil

              @angeliKITTYx i think the refreshInterval you set is 30 minutes

              just for grins , try

               3*60*1000
              

              as your initial load is under that

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil I changed the Ext3 parameter to refreshInterval: “3601000”, and it still looks the same. Do I need to let it sit for an hour to refresh?

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

                  @angeliKITTYx I don’t know… I suggested trying shorter (quick) to prove the cals arrived…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil I’m confused then…i was just using the values you provided. Do I need to go back to my refresh of 1.75min? Do I keep the fetch value at 5000?

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

                      @angeliKITTYx dang forum… they removed the * I fixed the post

                      3*60*100
                      3 minutes, * 60 seconds * 1000 ms
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        angeliKITTYx @angeliKITTYx
                        last edited by

                        @sdetweil I put the refresh interval back down to 100500, and the calendar refreshed. The 3rd calendar showed back up, but they’re all displaying at 5AM and going into the following day even though everything is an “all day” event in my Google calendar. It looks the same as the screenshot I shared earlier.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 3 / 7
                        • 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