Read the statement by Michael Teeuw here.
Calendar not updating
-
New to coding so I’m sure I’m doing something wrong, but can someone please help me. I have the calendar module up and running with an iCloud calendar, but I cannot get it to update with the fetchInterval configuration. I also cannot get it to hide events that have already started with the hideOngoing and I also can’t get it to show the end times of events with the showEnd. Any advice would be appreciated. here is my code; it’s basically the default stuff with just the config options I wanted put into it. In this example I have the fetchInterval set to to 30 seconds just to test. When I add a new event to the calendar or delete one it doesn’t ever update. I have left it run for hours and it still does not update. Even the events that say something like “ends in xxx minutes” never changes. The only time I can ever get the calendar to update is if I quit MagicMirror and reload it.
{ module: "calendar", header: "Upcoming Events", position: "top_left", config: { calendars: [ { maximumNumberOfDays: "3", symbol: "calendar-check", fetchInterval: "30000", hideOngoing: "true", showEnd: "false", url: "MY ICLOUD WEB CAL URL" } ] } }, -
@FreelanceMKE true and false should not be in quotes, also fetchInterval and maximumNumberOfDays.
Only text strings need quotes
-
@sdetweil said in Calendar not updating:
@FreelanceMKE true and false should not be in quotes, also fetchInterval and maximumNumberOfDays.
Only text strings need quotes
Thank you for the info I’ll give that a try! The max number of days does work if it’s in quotes so since I’m just learning. Is there a reason why it would work in quotes even though it shouldn’t be in quotes?
-
@FreelanceMKE u might have selected the default…
-
So… I don’t know for sure but even though in my testing I was telling it to update every 1 minute, just to see if it works, I think maybe part of the problem is how frequently apple updates the information as well. I have gotten the calendar to update but it’s at 5 minute intervals. Which in the long run will be fine as I don’t need it to update that often anyways. I appreciate the help everyone.
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