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

    Scheduled Pinned Locked Moved Utilities
    676 Posts 81 Posters 2.4m Views 85 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.
    • M Offline
      MMRIZE @bobbylx
      last edited by

      @bobbylx
      CX3* series may not work on MIDORI, sorry. It’s too old browser, doesn’t support advanced modern JavaScript technologies.

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

        @sdetweil said in MMM-CalendarExt3:

        @bobbylx said in MMM-CalendarExt3:

                            module: "compliments",
                            position: ""
        

        must be a valid position if specified…

        you can disable a module by adding

        disabled: true,
        

        after the module: line

        you can also comment out the position
        // position:“…”

        this would be how you use the default calendar with Ext3…
        it would work, but not be shown

        backup, backup, backup…
        see my scripts, backup to private repo on github… restore from there
        versionable…
        3 tiny files… and any keyfiles/token files…
        https://github.com/sdetweil/MagicMirror-backup-restore

        Thanks, just made that change, found a couple more that needed attention. I also checked my history in this thread, I’ve posted my config before asking other questions so I was able to borrow some lines. Getting close now.

        @MMRIZE said in MMM-CalendarExt3:

        @bobbylx
        CX3* series may not work on MIDORI, sorry. It’s too old browser, doesn’t support advanced modern JavaScript technologies.

        I had been using it with Midori until just a few days ago when I decided to reload. It wasn’t fast or always the best, but I’m using a Pi zero W so limited on browsers right now. I’ll be picking up a Pi 3 or 4 soon then I’ll do this all over again.

        1 Reply Last reply Reply Quote 0
        • A Offline
          aymen_a22
          last edited by

          Unsure why, but I keep getting this error message.

          Is anyone able to assist if possible please?

          Warning: vkCreateInstance: Found no drivers!
          Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
          at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
          at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
          at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
          at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
          at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)

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

            @aymen_a22 bug in electron , nothing we can do… ignore it

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • P Offline
              princemaxwell
              last edited by

              Hello together,
              i have configured 8 calendars in the default calendar module. Three of them are from “i.cal.to” and five are my public iCloudcalendars.

              The default calendar app is loading them without errors, but MMM-CalendarExt3 has problems to view the iCloud entries.

              The mm-error.log shows:

              [19.03.2024 21:24.43.184] [ERROR] Calendar Error. Could not fetch calendar:  https://p63-caldav.icloud.com/published/2/MTA... TypeError: fetch failed
                  at Object.fetch (node:internal/deps/undici/undici:11576:11) {
                cause: SocketError: other side closed
                    at TLSSocket.onSocketEnd (node:internal/deps/undici/undici:9790:26)
                    at TLSSocket.emit (node:events:526:35)
                    at endReadableNT (node:internal/streams/readable:1359:12)
                    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
                  code: 'UND_ERR_SOCKET',
                  socket: {
                    localAddress: '10.0.0.20',
                    localPort: 37214,
                    remoteAddress: undefined,
                    remotePort: undefined,
                    remoteFamily: undefined,
                    timeout: undefined,
                    bytesWritten: 639,
                    bytesRead: 143898
                  }
                }
              }
              

              while the mm-out.log shows:

              [19.03.2024 21:23.35.168] [INFO]  Calendar-Fetcher: Broadcasting 5 events from https://p63-caldav.icloud.com/published/2/MTA....
              [19.03.2024 21:23.35.332] [INFO]  updatenotification: You are using pm2 with MagicMirror
              [19.03.2024 21:23.35.333] [INFO]  Checking git for module: MMM-soccer
              [19.03.2024 21:23.35.462] [INFO]  Checking git for module: MMM-Planetarium
              [19.03.2024 21:23.35.591] [INFO]  Checking git for module: MMM-Globe2
              [19.03.2024 21:23.36.450] [INFO]  Calendar-Fetcher: Broadcasting 0 events from https://p63-caldav.icloud.com/published/2/MTA....
              [19.03.2024 21:23.36.513] [INFO]  Checking git for module: MagicMirror
              [19.03.2024 21:23.36.963] [INFO]  Newsfeed-Fetcher: Broadcasting 30 items.
              [19.03.2024 21:23.37.049] [INFO]  Newsfeed-Fetcher: Broadcasting 100 items.
              [19.03.2024 21:23.37.825] [INFO]  Calendar-Fetcher: Broadcasting 7 events from https://p63-caldav.icloud.com/published/2/MTA....
              [19.03.2024 21:24.03.308] [INFO]  Calendar-Fetcher: Broadcasting 8 events from https://p63-caldav.icloud.com/published/2/MTA....
              [19.03.2024 21:24.43.055] [INFO]  Calendar-Fetcher: Broadcasting 10 events from https://p29-caldav.icloud.com/published/2/ODA....
              [19.03.2024 21:24.43.503] [INFO]  Calendar-Fetcher: Broadcasting 1 events from https://i.cal.to/ical/77/....
              [19.03.2024 21:24.43.754] [INFO]  Calendar-Fetcher: Broadcasting 5 events from https://i.cal.to/ical/3/....
              [19.03.2024 21:24.43.781] [INFO]  Calendar-Fetcher: Broadcasting 2 events from https://i.cal.to/ical/61/....
              [19.03.2024 21:24.44.853] [INFO]  Calendar-Fetcher: Broadcasting 0 events from https://p63-caldav.icloud.com/published/2/MTA....
              [19.03.2024 21:24.45.665] [INFO]  Calendar-Fetcher: Broadcasting 7 events from https://p63-caldav.icloud.com/published/2/MTA....
              [19.03.2024 21:25.10.627] [INFO]  Calendar-Fetcher: Broadcasting 8 events from https://p63-caldav.icloud.com/published/2/MTA....
              

              I have increased the waitFetch, but it didn’t help.

              		{
              			module: "MMM-CalendarExt3",
              			position: "middle_center",
              			waitFetch: 32000,
              			disabled: false,
              		},
              

              Can someone help me?

              Max

              S M 3 Replies Last reply Reply Quote 0
              • S Offline
                sdetweil @princemaxwell
                last edited by

                @princemaxwell the error log says problem w the default calendar as ext3 gets it’s events there

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil when i disable the MMM-CalendarExt3 module, the errors are gone.

                  All calendars are working fine and loading quickly in default calendar module.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MMRIZE @princemaxwell
                    last edited by

                    @princemaxwell
                    CX3 doesn’t connect or fetch calendar server. That error probably has been caused by default calendar module.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MMRIZE @princemaxwell
                      last edited by MMRIZE

                      @princemaxwell
                      CX3*s do not use nodeJS at all, so they are not related to your error messages. The modules are executed on the browser level, not on the server-side node environment, so they could not affect server-side processes like calendar fetching.
                      Your error message (UND_ERR_SOCKET) is caused by the undici node module; it may be used inside of the default calendar module to connect through HTTP/1.1. That error usually happens when the connection is closed by long waits or prior preemption.
                      There is a weird thing. As far as I know, the default calendar module depends on node-ical, which uses axios instead of undici. So I wonder why and from where this error message comes.

                      To make things simple clearly;

                      1. Backup your current config.js in the safe area.
                      2. Create a new config.js, and remove all other not-releated modules like MMM-Planetarium, MMM-soccer, … Leave only clock, calendar and MMM-CalendarExt3 modules.
                      3. Begin with one or two calendars, not all the calendars.
                      4. Try to execute MM again, and let’s see what happens.
                      5. After confirmation that a small qty of calendars has no issue, add more calendars.
                      6. After confirmation that there is no issue with the calendars, try adding more modules one by one.

                      (A possible reason, I guess, is that your modules are racing to use the network/dest-server severely. For example, your calendars look being rescanned every minutes. You may need to rearrange the interval of the schedule.)

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

                        @MMRIZE calendar uses built in fetch to get the ics file. we do not have node-ical fetch it for us ( the prior ical lib did not provide fetch)

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 46
                        • 47
                        • 48
                        • 49
                        • 50
                        • 67
                        • 68
                        • 48 / 68
                        • 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