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 issue - Private work calendar

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 2 Posters 534 Views 2 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 @trev125
      last edited by

      @trev125 ok, shows on mine… what mm version are u on?

      grep version ~/MagicMirror/package.json

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        trev125 @sdetweil
        last edited by

        @sdetweil “version”: “2.14.0”,

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

          @trev125 ok, change config.js

          add

          	logLevel: ["INFO", "LOG", "WARN", "ERROR","DEBUG"],
          

          if its already there, add “DEBUG”

          then restart MM

          If you are using pm2, the
          pm2 flush
          pm2 restart 0

          this is what I see for the latest event u posted, i set my timezone to yours

          [03.01.2021 20:35.36.727] [DEBUG]  parsed data={"**********@google.com":{"type":"VEVENT","params":[],"start":"2021-01-04T22:00:00.000Z","datetype":"date-time","end":"2021-01-04T22:50:00.000Z","dtstamp":"2021-01-03T22:48:53.000Z","uid":"**********@google.com","attendee":{"params":{"X-NUM-GUESTS":0},"val":"mailto:*********"},"recurrenceid":"2021-01-04T22:00:00.000Z","summary":"Busy","recurrences":{"2021-01-04":{"type":"VEVENT","params":[],"start":"2021-01-04T22:00:00.000Z","datetype":"date-time","end":"2021-01-04T22:50:00.000Z","dtstamp":"2021-01-03T22:48:53.000Z","uid":"**********@google.com","attendee":{"params":{"X-NUM-GUESTS":0},"val":"mailto:*********"},"recurrenceid":"2021-01-04T22:00:00.000Z","summary":"Busy"}}}}
          [03.01.2021 20:35.36.727] [DEBUG] there are 1 calendar entries
          [03.01.2021 20:35.36.729] [DEBUG] have entries 
          [03.01.2021 20:35.36.730] [DEBUG] 
          event={"type":"VEVENT","params":[],"start":"2021-01-04T22:00:00.000Z","datetype":"date-time","end":"2021-01-04T22:50:00.000Z","dtstamp":"2021-01-03T22:48:53.000Z","uid":"**********@google.com","attendee":{"params":{"X-NUM-GUESTS":0},"val":"mailto:*********"},"recurrenceid":"2021-01-04T22:00:00.000Z","summary":"Busy","recurrences":{"2021-01-04":{"type":"VEVENT","params":[],"start":"2021-01-04T22:00:00.000Z","datetype":"date-time","end":"2021-01-04T22:50:00.000Z","dtstamp":"2021-01-03T22:48:53.000Z","uid":"**********@google.com","attendee":{"params":{"X-NUM-GUESTS":0},"val":"mailto:*********"},"recurrenceid":"2021-01-04T22:00:00.000Z","summary":"Busy"}}}
          [03.01.2021 20:35.36.730] [DEBUG]  start=Mon Jan 04 2021 15:00:00 GMT-0700 (Mountain Standard Time) end=Mon Jan 04 2021 15:50:00 GMT-0700 (Mountain Standard Time)
          [03.01.2021 20:35.36.730] [DEBUG]  if no tz, guess based on now
          [03.01.2021 20:35.36.742] [DEBUG] initial tz=America/Denver
          [03.01.2021 20:35.36.743] [DEBUG] corrected tz=America/Denver
          [03.01.2021 20:35.36.743] [DEBUG] start date/time=Mon Jan 04 2021 15:00:00 GMT-0700 (Mountain Standard Time)
          [03.01.2021 20:35.36.744] [DEBUG] start offset=-420
          [03.01.2021 20:35.36.745] [DEBUG] start date/time w tz =Mon Jan 04 2021 15:00:00 GMT-0700 (Mountain Standard Time)
          [03.01.2021 20:35.36.745] [DEBUG] event date=Mon Jan 04 2021 15:00:00 GMT-0700 (Mountain Standard Time)
          [03.01.2021 20:35.36.745] [DEBUG] event offset=-420 hour=15 event date=Mon Jan 04 2021 15:00:00 GMT-0700 (Mountain Standard Time)
          [03.01.2021 20:35.36.745] [DEBUG] adjustHours=0
          [03.01.2021 20:35.36.746] [INFO]  Calendar-Fetcher: Broadcasting 1 events.
          

          also, can u show the calendar config entry, not the url

          u would see this data in the pm2 logs

          using command

          pm2 logs --lines=100
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            trev125 @sdetweil
            last edited by

            @sdetweil Thanks for the quick responses. It looks like the calendar that I am pulling in has around 600 events, if that is anything.

            Because of that, it makes it hard to read the debugger, but I did see this:

            "2021-01-05":{"type":"VEVENT","params":[],"start":"2021-01-05T17:00:00.000Z","datetype":"date-time","end":"2021-01-05T17:25:00.000Z","dtstamp":"2021-01-04T03:46:12.000Z","uid":"*******@google.com","attendee":{"params":{"X-NUM-GUESTS":0},"val":"mailto:******"},"recurrenceid":"2021-01-05T17:00:00.000Z","summary":"Busy"},
            

            Then I have some things like this, but I dont notice any of them for any dates coming up soon:

            [03.01.2021 20:46.13.274] [DEBUG]  start=Tue Jan 03 2023 10:00:00 GMT-0700 (Mountain Standard Time) end=Tue Jan 03 2023 10:25:00 GMT-0700 (Mountain Standard Time)
            [03.01.2021 20:46.13.274] [DEBUG] have entries
            

            Also: here is my calendar config:

            		{
            			module: "calendar",
            			header: "Calendar",
            			position: "top_bar",
            			maximumEntries: 80,
            			config: {
            				calendars: [
            					{
            						symbol: "calendar-check",
            						url: "https://calendar.google.com/calendar/ical/******/public/basic.ics"					
            					}
            				]
            			}
            		},
            

            I can edit and send you the .ics if that would be helpful, I can sanitize it

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

              @trev125 yes, please, the sanitized ics would be awesome…
              I won’t get to it til tomorrow tho

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

                @trev125 i got it and sent u an email back

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • 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