MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. matt216
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 111
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Calendar not updating

      @sdetweil good tip, thanks.

      Little update - I put maximumEntries back to 5 and all my events showed up! But then I added another event, pm2 restart and they disappeared again :weary_face:

      We’re getting closer! I think you’re on to something with the maximumEntries effect. And also handling between back and front end.

      I’ll have a go with editing calendar.js this weekend and report back.

      Thanks

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      @sdetweil Thanks Sam. Will have a go and report back.

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      @sdetweil Updated to 20. This now shows calendar entries all the way to early May but the test event that starts at 20:00 this evening does not show. There are actually lots of events over the next few days that are not showing.

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      @sdetweil

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

      With the maximumEntries I currently have events showing several days in the future. When I am adding events to test this, I add the event to start just a few hours in the future so that it should show within the 5 events.

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      @sdetweil yes, the broadcasting event number increases by 1 when I add my new event, but the event does not show on the display.

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      @sdetweil I wonder if I could run a nightly cron job to purge the calendar module or something similar…? Not sure how the calendar fetcher works.
      It still feels like the calendar will load an ics link ok the first time, but is not displaying events created since that first load.
      Nightly purge and re-connect would be acceptable, I think. Any advice there?

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      OK interesting. I created a brand new calendar server. Empty. Added one event to it and configured the mirror calendar module to use this server. It shows the one single event ok. I added a second new event to the calendar and this also shows on the mirror. Seems to work as expected - new events are showing!

      Then I import my whole famlly calendar and run the same test. I now have 5 family events showing on the calendar. But if I add a new event that should show within my 5 events, it does not show. :(

      Debug logs >somefile.txt show the mirror is picking up the new event from the ics file, it’s just not showing on the display.

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      Initial testing with the apache version of the baikal container looks promising (I’m currently having problems with the nginx version). Will continue testing along these lines…

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      @sdetweil this is from the curl’d ics file, showing one of the events that will not display on the mirror display:

      BEGIN:VEVENT
      CREATED:20240109T161646Z
      DTEND;TZID=Europe/London:20240110T170000
      DTSTAMP:20240109T161647Z
      DTSTART;TZID=Europe/London:20240110T160000
      LAST-MODIFIED:20240109T161646Z
      SEQUENCE:0
      SUMMARY:test54321
      TRANSP:OPAQUE
      UID:156ED8F1-9BDA-43D2-BE7C-DDEFE18E95EF
      URL;VALUE=URI:
      X-APPLE-CREATOR-IDENTITY:com.apple.mobilecal
      X-APPLE-CREATOR-TEAM-IDENTITY:0000000000
      END:VEVENT
      

      I’d be happy to send over the contents of the ics file before events start, if that would be helpful? Far too much personal family info to send the whole thing, Im afraid (again, no offence intended)!

      posted in Troubleshooting
      M
      matt216
    • RE: Calendar not updating

      @sdetweil so I’ve just spun up a radicale calendar server and added a few test events, then some more - works perfectly!

      Looks like a problem with baikal integration

      posted in Troubleshooting
      M
      matt216
    • 1
    • 2
    • 3
    • 4
    • 5
    • 11
    • 12
    • 2 / 12