• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-CalendarExt3 stopped working

Scheduled Pinned Locked Moved Unsolved Troubleshooting
14 Posts 3 Posters 2.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.
  • R Offline
    redink
    last edited by redink Jan 2, 2024, 10:20 PM Jan 2, 2024, 10:18 PM

    I updated Magic Mirror today and my calendar is no longer working.

    Here’s the error that I get

    [02.01.2024 17:08.23.640] [ERROR] Calendar Error. Could not fetch calendar:  https://calendar.google.com/calendar/ical/xxxxx/basic.ics TypeError: fetch failed
        at Object.fetch (node:internal/deps/undici/undici:11576:11)
        at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
      cause: ConnectTimeoutError: Connect Timeout Error
          at onConnectTimeout (node:internal/deps/undici/undici:8522:28)
          at node:internal/deps/undici/undici:8480:50
          at Immediate._onImmediate (node:internal/deps/undici/undici:8511:13)
          at process.processImmediate (node:internal/timers:476:21) {
        code: 'UND_ERR_CONNECT_TIMEOUT'
    

    And here’s my config

      {
        module: "MMM-CalendarExt3",
        position: "bottom_bar",
        title: "",
        config: {
          mode: "week",
          instanceId: "basicCalendar",
          locale: 'en-EN',
          weekIndex: 0,
          weeksInView: 4,
          maxEventLines: 5,
          firstDayOfWeek: 0,
          fontSize: "22px",
          eventTimeOptions: {
            hour12: false,
            hour: "2-digit",
            minute: "2-digit"
          },
          useSymbol: false,
          calendarSet: ['School', 'Family'],
        }
      },
    
    
      {
        module: "calendar",
        config: {
          broadcastPastEvents: true, // <= IMPORTANT to see past events
          calendars: [
            {
              name: "Family",
              url: "https://calendar.google.com/calendar/ical/xxxxxxxxxxxx/basic.ics",
              color: "green"
    
            },
            {
              name: "School",
              url: "https://calendar.google.com/calendar/ical/xxxxxxxxxx%40group.calendar.google.com/public/basic.ics",
              color: "blue",
              filter: (event) =>{
                if (event.title.search("......") > -1) {
                  return true
                } else {
                  return false
                }
              },
            }
          ]
        },
      },
    

    I tested both calendar URLs and they do download the ICS file just fine. I’d appreciate any help.

    S M 2 Replies Last reply Jan 2, 2024, 10:35 PM Reply Quote 0
    • S Away
      sdetweil @redink
      last edited by Jan 2, 2024, 10:35 PM

      @redink could you try the test fix here

      https://github.com/MagicMirrorOrg/MagicMirror/issues/3329#issuecomment-1874330142

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Jan 3, 2024, 1:00 PM Reply Quote 0
      • M Offline
        MMRIZE @redink
        last edited by Jan 2, 2024, 11:04 PM

        @redink It seems not related to the CX3 module, rather than deep, the default calendar fetch issue.

        1 Reply Last reply Reply Quote 0
        • R Offline
          redink @sdetweil
          last edited by Jan 3, 2024, 1:00 PM

          @sdetweil I must be missing something, I don’t see what file this code should go in.

          S 1 Reply Last reply Jan 3, 2024, 1:03 PM Reply Quote 0
          • S Away
            sdetweil @redink
            last edited by Jan 3, 2024, 1:03 PM

            @redink doah! I updated post there

            calendarfetcher.js

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Jan 3, 2024, 9:26 PM Reply Quote 1
            • R Offline
              redink @sdetweil
              last edited by Jan 3, 2024, 9:26 PM

              @sdetweil Thank you, but that didn’t seem to help. I use this script to update MM https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh

              So, I wonder if something isn’t getting updated.

              S 1 Reply Last reply Jan 3, 2024, 9:27 PM Reply Quote 0
              • S Away
                sdetweil @redink
                last edited by Jan 3, 2024, 9:27 PM

                @redink can u send me the ~/MagicMirror/installers/upgrade.log

                ny userid at gmail

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Jan 3, 2024, 10:56 PM Reply Quote 0
                • R Offline
                  redink @sdetweil
                  last edited by Jan 3, 2024, 10:56 PM

                  @sdetweil thanks for taking the time. It’s sent.

                  S 1 Reply Last reply Jan 3, 2024, 11:19 PM Reply Quote 0
                  • S Away
                    sdetweil @redink
                    last edited by Jan 3, 2024, 11:19 PM

                    @redink so, the upgrade went perfectly. no issues.

                    not sure what is going on yet.

                    can you show output of

                    ip addr
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    R 1 Reply Last reply Jan 4, 2024, 12:22 AM Reply Quote 0
                    • R Offline
                      redink @sdetweil
                      last edited by redink Jan 4, 2024, 12:22 AM Jan 4, 2024, 12:22 AM

                      @sdetweil

                      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
                          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
                          inet 127.0.0.1/8 scope host lo
                             valid_lft forever preferred_lft forever
                          inet6 ::1/128 scope host
                             valid_lft forever preferred_lft forever
                      2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
                          link/ether b8:27:eb:ee:09:64 brd ff:ff:ff:ff:ff:ff
                      3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                          link/ether 00:0f:60:04:20:d4 brd ff:ff:ff:ff:ff:ff
                          inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
                             valid_lft 45176sec preferred_lft 34376sec
                          inet6 fe80::3e7d:5421:775:6ad0/64 scope link
                             valid_lft forever preferred_lft forever
                      
                      S 1 Reply Last reply Jan 4, 2024, 12:43 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/14
                        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