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 sdetweil

      @ankonaskiff17 could u post one of the vevents from the ICS file?

      curl -sL   whatever_url  >xxx.ics
      

      xxx.ics is a text file

      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 said in Problem with Google generated .ics link:

        curl -sL whatever_url >xxx.ics

        What were you either expecting or hoping to see?
        Looks like a bunch of my calendar entries in like csv (or similar) format.

        I had earlier dropped link in MS Edge and it opened the Google calendar but in the MS Edge default calendar applet or whatever they call those bare bones apps

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

          @ankonaskiff17

          pick a
          BEGIN:VEVENT
          .
          .
          .
          END:VEVENT

          change whatever is personal, dont change the date info please

          this is the format the calendar module passes to the parser…

          its needs to be in a specific format

          u don’t want a calendar tool to display it, we need to look at the raw text…

          (I spent 8 months in there solving all kinds of problems., and with the parser too)

          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 I’m not worried about personal stuff in this one so you got complete.
            BEGIN:VEVENT
            DTSTART:20200512T124500Z
            DTEND:20200512T134500Z
            DTSTAMP:20220424T235526Z
            UID:74o68d9k61hj4b9pckom6b9kccsj2bb1cdgj6bb370sj0dpk6k
            CREATED:20210216T015059Z
            DESCRIPTION:
            LAST-MODIFIED:20210216T015059Z
            LOCATION:
            SEQUENCE:0
            STATUS:CONFIRMED
            SUMMARY:X-Ray & MRI
            TRANSP:OPAQUE
            END:VEVENT

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

              @ankonaskiff17 I know historically it would post my calendar info as a list, identical to the US Holiday link

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

                @ankonaskiff17 ok, we need to see which one is causing the problem… so edit config.js and change loglevel like this

                logLevel: ["INFO", "LOG", "WARN", "ERROR","DEBUG"], // Add "DEBUG" for even more logging
                

                then run MM like this

                cd ~/MagicMirror
                npm start >somefile.txt
                

                wait for cal to come up

                ctrl-c to end MM

                then examine someflle.txt

                u may need to send me the file

                same userid at gmail. I don’t share

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  my event looks like this

                  BEGIN:VEVENT
                  DTSTART:20220126T150000Z
                  DTEND:20220126T210000Z
                  DTSTAMP:20220425T000759Z
                  UID:6oq3edpnc9ijeb9nc9h30b9k6tj3ibb2c5j3eb9k75hj6opk6dhjce32cg@google.com
                  CREATED:20220111T023256Z
                  DESCRIPTION:
                  LAST-MODIFIED:20220111T023256Z
                  LOCATION:
                  SEQUENCE:0
                  STATUS:CONFIRMED
                  SUMMARY:drive to ft stockton
                  TRANSP:OPAQUE
                  END:VEVENT
                  

                  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 Check your email

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

                                            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
                                            • 2 / 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