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.

    calendar with recurring event

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    11 Posts 2 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 @jasondreher
      last edited by

      @jasondreher ok thx will review shortly.

      the day off bug has a fix in the next release ( Saturday), cal entries w BYDAY return junk

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

        @jasondreher ok, i don’t see a problem with 2.20 or upcoming 2.21 (with the byday fix) …

        do you have broadcastPastEvents:true? in the cal config?

        there is a bug there, that I introduced… it chops off maxEvents incorrectly (also fixed in 2.21, Sauturday)

        workaround is to increase maxEntries from 10 to 100 (or more) depending on how big the past years events are…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil

          I do not have broadcastPastEvents: true, in my config.

          I will update this weekend, add broadcastPastEvents: true, and see if that fixes anything, thanks.

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

            @jasondreher don’t NEED broadcastPastEvents, it was just a bug I introduced… which fixed a regression of another problem…

            want to run debug test…

            edit config.js and add ,“DEBUG”
            to the logLevel:

            attribute at the top of config.js

            then if using pm2, pm2 stop all

            then

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

            run til cal appears
            ctrl-q to end
            send the somefile.txt to my email (I don’t share info )
            my same userid at gmail

            turn off debug

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil
              Wow, I cant find your email, I am sure its fairly obvious. Anyway I narrowed down the event that is not showing…
              It looks all right, showing “Corrected startDate: Mon Oct 03 2022 19:00:00 GMT-0500 (Central Daylight Time)”

              [27.09.2022 09:25.50.700] [DEBUG] start: Mon Sep 12 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.700] [DEBUG] end:: Mon Sep 12 2022 20:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.701] [DEBUG] duration: 3600000
              [27.09.2022 09:25.50.701] [DEBUG] title: TS Boot Camp
              [27.09.2022 09:25.50.701] [DEBUG] Search for recurring events between: Tue Sep 27 2022 09:25:50 GMT-0500 (Central Daylight Time) and Tue Sep 26 2023 23:59:59 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.705] [DEBUG] Title: TS Boot Camp, with dates: [“2022-10-03T00:00:00.000Z”,“2022-10-10T00:00:00.000Z”]
              [27.09.2022 09:25.50.705] [DEBUG] event.recurrences: undefined
              [27.09.2022 09:25.50.706] [DEBUG] recurring date is Sun Oct 02 2022 19:00:00 GMT-0500 (Central Daylight Time) offset is 300
              [27.09.2022 09:25.50.706] [DEBUG] recurring date is Sun Oct 02 2022 19:00:00 GMT-0500 (Central Daylight Time) offset is 5 Hour is 19
              [27.09.2022 09:25.50.706] [DEBUG] new recurring date2 is Mon Oct 03 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.706] [DEBUG] Corrected startDate: Mon Oct 03 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.707] [DEBUG] initial tz=America/Chicago
              [27.09.2022 09:25.50.707] [DEBUG] corrected tz=America/Chicago
              [27.09.2022 09:25.50.707] [DEBUG] start date/time=Mon Sep 12 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.707] [DEBUG] start offset=-300
              [27.09.2022 09:25.50.707] [DEBUG] start date/time w tz =Mon Sep 12 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.708] [DEBUG] event date=Mon Oct 03 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.708] [DEBUG] event offset=-300 hour=19 event date=Mon Oct 03 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.708] [DEBUG] adjustHours=0
              [27.09.2022 09:25.50.708] [DEBUG] duration: 3600000
              [27.09.2022 09:25.50.708] [DEBUG] saving event: false
              [27.09.2022 09:25.50.709] [DEBUG] recurring date is Sun Oct 09 2022 19:00:00 GMT-0500 (Central Daylight Time) offset is 300
              [27.09.2022 09:25.50.709] [DEBUG] recurring date is Sun Oct 09 2022 19:00:00 GMT-0500 (Central Daylight Time) offset is 5 Hour is 19
              [27.09.2022 09:25.50.709] [DEBUG] new recurring date2 is Mon Oct 10 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.709] [DEBUG] Corrected startDate: Mon Oct 10 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.709] [DEBUG] initial tz=America/Chicago
              [27.09.2022 09:25.50.710] [DEBUG] corrected tz=America/Chicago
              [27.09.2022 09:25.50.710] [DEBUG] start date/time=Mon Sep 12 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.710] [DEBUG] start offset=-300
              [27.09.2022 09:25.50.710] [DEBUG] start date/time w tz =Mon Sep 12 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.711] [DEBUG] event date=Mon Oct 10 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.711] [DEBUG] event offset=-300 hour=19 event date=Mon Oct 10 2022 19:00:00 GMT-0500 (Central Daylight Time)
              [27.09.2022 09:25.50.711] [DEBUG] adjustHours=0
              [27.09.2022 09:25.50.711] [DEBUG] duration: 3600000
              [27.09.2022 09:25.50.711] [DEBUG] saving event: false
              [27.09.2022 09:25.50.712] [DEBUG] Processing entry…
              [27.09.2022 09:25.50.712] [DEBUG] Event:

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

                @jasondreher

                my id here

                sdetweil

                at gmail

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

                  @jasondreher and what shows on the calendar?

                  the 3rd should show, maybe 10th it is 2 weeks away.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil
                    I plan on updating this weekend and seeing what shows when this event comes up next, your help is greatly appreciated!!!

                    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