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 not updating

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    95 Posts 4 Posters 62.8k Views 6 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
      matt216
      last edited by

      Hi all,

      I’ve read a few of the search results on this. Struggling with my calendar not updating. It loads, just doesn’t update with new events. Feels like it’s done just the initial sync/load of events but won’t include any subsequent events added.
      pm2 restart or even a pi reboot doesn’t resolve.
      Calendar config:

      {
      module: "calendar",
      header: "calendar",
      position: "top_left",
      config: {
      		fetchInterval: 120000,
      		timeFormat: 'absolute',
      		calendars: [
      				{
      				url: 'https://my.cal.url/dav.php/calendars/user/default?export',
      					auth: 	{
      							user: 'user',
      							pass: 'pass',
      							method: 'basic'
      							}
      				}
      				],
      		maximumEntries: 5
      		}
      },
      
      

      Baikal container hosted locally, if that’s any help.
      Possibly a caching issue…?
      Cheers,
      matt

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

        @matt216 well, you.only have 2 minute refresh, so how do you know? is the calendar changing every 2 minutes?

        and u only have 5 entries

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          matt216
          last edited by

          Hi Sam. My test is to add a new event that would show up within the next 5 events i.e. in a couple of hours time. My expectation is that the mirror would refresh the events it displays every 2 minutes and my new event should show up. Not happening.

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

            @matt216 show me the output where you do npm start

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil

              pi@magicmirror:~ $ npm start
              npm ERR! code ENOENT
              npm ERR! syscall open
              npm ERR! path /home/pi/package.json
              npm ERR! errno -2
              npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/pi/package.json'
              npm ERR! enoent This is related to npm not being able to find a file.
              npm ERR! enoent 
              
              

              Appreciate the support

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

                @matt216 said in Calendar not updating:

                pi@magicmirror:~ $ npm start

                you need to be IN the MagicMirrror folder

                cd MagicMirror
                npm start 
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil Thank you!

                  pi@magicmirror:~/MagicMirror $ npm start
                  
                  > magicmirror@2.26.0 start
                  > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                  
                  sh: 1: ./node_modules/.bin/electron: not found
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @matt216
                    last edited by

                    @matt216 weird

                    cd ~/MagicMirror
                    npm install electron@27.2.0
                    

                    then

                    npm start 
                    

                    again

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    M 2 Replies Last reply Reply Quote 0
                    • M Offline
                      matt216 @sdetweil
                      last edited by matt216

                      @sdetweil yep in between my previous 2 posts I thought I’d upgrade MagicMirror and it now won’t load with electron error.
                      Will install and get back to you.
                      Thanks

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

                        @sdetweil ok it’s a big one…

                        pi@magicmirror:~/MagicMirror $ npm start
                        
                        > magicmirror@2.26.0 start
                        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                        
                        [01.01.2024 20:09.38.801] [LOG]   Starting MagicMirror: v2.26.0
                        [01.01.2024 20:09.38.814] [LOG]   Loading config ...
                        [01.01.2024 20:09.38.823] [DEBUG] config template file not exists, no envsubst
                        [01.01.2024 20:09.38.834] [LOG]   Loading module helpers ...
                        [01.01.2024 20:09.38.840] [LOG]   No helper found for module: alert.
                        [01.01.2024 20:09.38.947] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.38.949] [LOG]   Module helper loaded: updatenotification
                        [01.01.2024 20:09.38.951] [LOG]   No helper found for module: clock.
                        [01.01.2024 20:09.39.477] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.39.480] [LOG]   Module helper loaded: calendar
                        [01.01.2024 20:09.40.633] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.40.636] [LOG]   Module helper loaded: MMM-UKNationalRail
                        [01.01.2024 20:09.41.573] [LOG]   Module helper loaded: MMM-Sonos
                        [01.01.2024 20:09.41.575] [LOG]   No helper found for module: weather.
                        [01.01.2024 20:09.41.585] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.41.587] [LOG]   Module helper loaded: MMM-MoonPhase
                        [01.01.2024 20:09.42.084] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.42.085] [LOG]   Module helper loaded: newsfeed
                        [01.01.2024 20:09.42.088] [LOG]   No helper found for module: MMM-WiFiPassword.
                        [01.01.2024 20:09.43.354] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.43.355] [LOG]   Module helper loaded: MMM-MyCommute
                        [01.01.2024 20:09.43.357] [LOG]   No helper found for module: MMM-EyeCandy.
                        [01.01.2024 20:09.43.469] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.43.469] [LOG]   Module helper loaded: mmm-hue-lights
                        [01.01.2024 20:09.44.432] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.44.433] [LOG]   Module helper loaded: MMM-HASS
                        [01.01.2024 20:09.44.439] [LOG]   Initializing new module helper ...
                        [01.01.2024 20:09.44.440] [LOG]   Check MagicMirror² version for node helper 'MMM-ip' - Minimum version: 2.15.0 - Current version: 2.26.0
                        [01.01.2024 20:09.44.443] [LOG]   Version is ok!
                        [01.01.2024 20:09.44.444] [LOG]   Module helper loaded: MMM-ip
                        [01.01.2024 20:09.44.445] [LOG]   All module helpers loaded.
                        [01.01.2024 20:09.44.466] [LOG]   Starting server on port 8080 ... 
                        [01.01.2024 20:09.44.489] [WARN]  You're using a full whitelist configuration to allow for all IPs
                        [01.01.2024 20:09.44.518] [ERROR] Whoops! There was an uncaught exception...
                        [01.01.2024 20:09.44.521] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
                            at Server.setupListenHandle [as _listen2] (node:net:1751:16)
                            at listenInCluster (node:net:1799:12)
                            at doListen (node:net:1948:7)
                            at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
                          code: 'EADDRINUSE',
                          errno: -98,
                          syscall: 'listen',
                          address: '0.0.0.0',
                          port: 8080
                        }
                        [01.01.2024 20:09.44.522] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                        [01.01.2024 20:09.44.523] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                        
                        
                        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 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 9
                        • 10
                        • 1 / 10
                        • 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