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.

    Problem with Google generated .ics link

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    30 Posts 2 Posters 10.0k 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 @ankonaskiff17
      last edited by

      @ankonaskiff17 replied

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      ankonaskiff17A 1 Reply Last reply Reply Quote 0
      • ankonaskiff17A Offline
        ankonaskiff17 @sdetweil
        last edited by

        @sdetweil Sent another email. Do you want copy of log files referenced in terminal

        ankonaskiff17A 1 Reply Last reply Reply Quote 0
        • ankonaskiff17A Offline
          ankonaskiff17 @ankonaskiff17
          last edited by

          @ankonaskiff17 Also, this laptop of mine keeps dropping its wifi connection so bear that in mind, generally momentary but aggravating.

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

            @ankonaskiff17 i think this dropping is power control…

            there is a commandline to turn power control for wifi off

            I have the same problem on a pi 0 2 w (one of 3)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            ankonaskiff17A 1 Reply Last reply Reply Quote 0
            • ankonaskiff17A Offline
              ankonaskiff17 @sdetweil
              last edited by

              @sdetweil Every device in home is fine but laptop.
              2nd HP I’ve had this happen to.

              ankonaskiff17A 1 Reply Last reply Reply Quote 0
              • ankonaskiff17A Offline
                ankonaskiff17 @ankonaskiff17
                last edited by

                @ankonaskiff17 I’m using VNC to access Pi. It’s just chugging along no wifi issues whatsoever

                ankonaskiff17A 1 Reply Last reply Reply Quote 0
                • ankonaskiff17A Offline
                  ankonaskiff17 @ankonaskiff17
                  last edited by

                  @ankonaskiff17 My mistake starting over fresh

                  ankonaskiff17A 1 Reply Last reply Reply Quote 0
                  • ankonaskiff17A Offline
                    ankonaskiff17 @ankonaskiff17
                    last edited by

                    @ankonaskiff17 I rebooted pi, MM launched did pm2 stop all,
                    got back to MM directory and did npm start and that is ugly. Line after line of the word NULL, then a mish mash of garbage tthen saw VEVENT related to holiday calendar but MM crashed in among all that.

                    ankonaskiff17A 1 Reply Last reply Reply Quote 0
                    • ankonaskiff17A Offline
                      ankonaskiff17 @ankonaskiff17
                      last edited by

                      @ankonaskiff17 @sdetweil check email for sample

                      ankonaskiff17A 1 Reply Last reply Reply Quote 0
                      • ankonaskiff17A Offline
                        ankonaskiff17 @ankonaskiff17
                        last edited by ankonaskiff17

                        @ankonaskiff17 @sdetweil
                        ull,null,null,null,null,null,null,null,null,null,null,null]
                        [24.04.2022 21:25.05.341] [DEBUG] event.recurrences: undefined
                        [24.04.2022 21:25.05.359] [ERROR] Calendar Error. Could not fetch calendar: https://calendar.google.com/c/basic.ics RangeError: Invalid time value
                        at Date.toISOString ()
                        at /home/pi/MagicMirror/modules/default/calendar/calendarutils.js:314:28
                        at Array.forEach ()
                        at Object.filterEvents (/home/pi/MagicMirror/modules/default/calendar/calendarutils.js:142:24)
                        at /home/pi/MagicMirror/modules/default/calendar/calendarfetcher.js:74:29
                        at processTicksAndRejections (node:internal/process/task_queues:96:5)

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

                          @ankonaskiff17 i replied to email

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • ankonaskiff17A Offline
                            ankonaskiff17 @ankonaskiff17
                            last edited by

                            @ankonaskiff17 @sdetweil
                            That Holiday calendar has a huge amount of garbage associated with it as an aside but if newest is at top its just a lot more of that null business.

                            Scroll down you get to that error associated with google calendar that one time then a ton of garbage associated with the holiday calendar.

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

                              @ankonaskiff17 weird… i don’t see that

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • ankonaskiff17A Offline
                                ankonaskiff17 @ankonaskiff17
                                last edited by

                                @sdetweil All that garbage associated with Holiday calendar is being pulled from the CalendarLabs site but since MM is loading it in list format it just gets lost in the ether?

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

                                  @ankonaskiff17 no idea, still debugging

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

                                    @ankonaskiff17 ok, can recreate… was testing on 2.18 … which didn’t fail…

                                    so that points to the node-ical lib which was changed for this release…

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    ankonaskiff17A 1 Reply Last reply Reply Quote 0
                                    • ankonaskiff17A Offline
                                      ankonaskiff17 @sdetweil
                                      last edited by

                                      @sdetweil You have any thoughts/ideas about what is going on?
                                      EST5EDT looks like some sort of mash up of Eastern Standard Time and Eastern Daylight Time and your node-ical comment look like a more complex issue. Are they intertwined?
                                      Neither of the two would be in my control in just dropping a Google generated URL in the config file.

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

                                        @ankonaskiff17 can u look at the entry in google calendar and see what the timezone setting is?

                                        how did u create that entry? phone, tablet, computer???

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        ankonaskiff17A 1 Reply Last reply Reply Quote 0
                                        • ankonaskiff17A Offline
                                          ankonaskiff17 @sdetweil
                                          last edited by ankonaskiff17

                                          @sdetweil Per Google the only way to get the links is via the PC/Laptop Google Calendar. In their help links they spell that out pretty explicitly and that is how I did it and have always done it. The url generated on settings page is pretty straightforward with only possible error being if you choose public or private url.

                                          As far as time zone, I’ve attached an image but in screen capture the top Primary was and is correct just as shown. The secondary was some oddball city with time being GMT - 7 hours vs primary being GMT -4 so I changed secondary to be another GMT-4 city.

                                          I looked last night, but on phone, and it showed correct time.
                                          Is the 5 in EST5EDT what happens when toggling between EST & EDT & GMT? I dont have any idea if EU has an equivalent to daylight savings timeTime Zone .jpg

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

                                            @ankonaskiff17 said in Problem with Google generated .ics link:

                                            Is the 5 in EST5EDT what happens when toggling between EST & EDT & GMT? I dont have any idea if EU has an equivalent to daylight savings time

                                            yes, other countries have DST/STD time shifts…

                                            typically the TZID is specified like this

                                            TZID=America/Barbados
                                            or
                                            TZID=America/Chicago
                                            

                                            I see that your ICS has a special definition of the TZID EST5DST

                                            BEGIN:VTIMEZONE
                                            TZID:EST5EDT
                                            X-LIC-LOCATION:EST5EDT
                                            BEGIN:DAYLIGHT
                                            TZOFFSETFROM:-0500
                                            TZOFFSETTO:-0400
                                            TZNAME:EDT
                                            DTSTART:19700308T020000
                                            RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
                                            END:DAYLIGHT
                                            BEGIN:STANDARD
                                            TZOFFSETFROM:-0400
                                            TZOFFSETTO:-0500
                                            TZNAME:EST
                                            DTSTART:19701101T020000
                                            RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
                                            END:STANDARD
                                            END:VTIMEZONE
                                            

                                            none of the code we have or use processes the TZ definitions. so that may be the issue…
                                            everything uses the IANA tz definitions.

                                            https://www.iana.org/time-zones

                                            i wrote the mapping code for special MS definitions to IANA definitions used in node-ical and mm calendar
                                            (from this table https://secure.jadeworld.com/JADETech/JADE2020/OnlineDocumentation/content/resources/encyclosys2/jadetimezone_class/ianawindowstimezonemapping.htm)

                                            but nothing accepts the EST5DST format,and neither read the timezone definitions in the ICS file.

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            ankonaskiff17A 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
                                            • 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