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 32.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 Do not disturb
      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 Do not disturb
        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 Do not disturb
          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 Do not disturb
              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 Do not disturb
                  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 Do not disturb
                      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
                        • S Do not disturb
                          sdetweil @angeliKITTYx
                          last edited by

                          @angeliKITTYx sounds like your system timezone is incorrect
                          everything is based off the timezone

                          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 how do I change the timezone in MM? This issue only came up once I did the fix clipping commands on this thread. And what about all the calendars that aren’t showing?

                            I also just noticed my weather module stopped working too.

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @angeliKITTYx
                              last edited by

                              @angeliKITTYx timezone, from desktop, click the calendar top right
                              change timezone under calendar

                              i don’t know in ext3 cals, not my module… but I use multi cals with it every day and don’t see this

                              ext3 is done all in browser
                              so maybe open the developer window (ctrl-shift-i) and select the console tab
                              and out a unique part of the module name in the filter field, ext3 for this

                              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 my raspberry pi desktop has the correct timezone, my Google calendars are all set right, and the clock module is showing the right time. Would ext3 have a different time zone set?

                                S 2 Replies Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @angeliKITTYx
                                  last edited by

                                  @angeliKITTYx
                                  i do not know

                                  for debug purposes

                                  edit config.js and add

                                  ,"DEBUG"
                                  

                                  to the logLevel parms at the top

                                  stop (if using pm2, pm2 stop all)

                                  and MANUALLY start MM like this

                                  cd ~/MagicMirror
                                  npm start >somefile.txt 2>&1
                                  

                                  wait til some time, and then ctrl-c on the command prompt where u did the manual start

                                  edit the config.js back to remove the debug parm

                                  the file will be large with all the calendars being processed

                                  you can’t upload that here, and I would normally ask to email it to me.
                                  I don’t know if email will take that large a file… you can try… my same userid as here at gmail

                                  because the FULL urls of the calendars are shown in the log, I don’t want that posted in clear text anywhere…

                                  I suggest uploading somewhere and emailing or direct message me the url

                                  I did extensive work on the calendar to fix these problems on this release.
                                  so I am very interested in the problem

                                  you can look thru the file, its just text and you will see the timezone reported as it processes calendar events.

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  A 1 Reply Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @angeliKITTYx
                                    last edited by

                                    @angeliKITTYx on weather see this

                                    https://forum.magicmirror.builders/topic/19323/version-2-30-0-weather-module-stuck-loading-worked-fine-before-upgrade

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

                                      @sdetweil so I decided to do a clean install of my MM, and the timezone thing fixed itself. However, it’s still not displaying all of my calendars. Two show up immediately, one shows up after the refreshinterval, and the rest don’t show up at all. I tried re-entering all of the private ical URLs, but those didn’t change anything. The log still shows it’s pulling x events from each URL, but they’re not displaying. Did you still want me to email you the logs?

                                      S 2 Replies Last reply Reply Quote 0
                                      • S Do not disturb
                                        sdetweil @angeliKITTYx
                                        last edited by

                                        @angeliKITTYx no you fixed the event date problem

                                        so another test is to add a position to the default cal module and see if you see the events there

                                        you did npm install in the ext3 module folder right?
                                        he has a sub module that needs to be installed

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • S Do not disturb
                                          sdetweil @angeliKITTYx
                                          last edited by

                                          @angeliKITTYx and another question. how did you upgrade?

                                          you on pi or windows or?

                                          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 It’s on pi.

                                            I used these instructions, and I also did the “Not Working?” section.

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5 / 4
                                            • 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