Read the statement by Michael Teeuw here.
[INFO] Be careful to use iCal sample of config.js
-
@ankonaskiff17 we are changing the default to days I think. this for es u to make it faster if u want
I think the minimum should be 5 minutes
-
@sdetweil Back when I first started messing with MM’s the calendar module was faulting out towards the end of that calendar year and it turned out that however many I had set as how many to show, say for example 5 holidays but at some point there were not 5 holidays left in the year but CL had not yet published the next years calandar.
My config.js is wanting 5 holes it needed to fill, there weren’t 5 holidays left so down it would go.
That calendar, because it is US Holidays, behaves like a photograph. It is static. There is no need to have it looking for changes like a volatile personal calendar that is going to change continuously.
US Holidays you could have a
fetchInterval: ONCE EVERY 3 MONTHSand it would still be overkill. Some of your religious holidays like Easter float around because they aren’t date oriented. But even it has been calculated in advance
It doesn’t require the same level of refreshing as where someone is pulling in their personal Google or Outlook calendar where things like doctors appointments, dinner dates will change quite rapidly… -
@ankonaskiff17 this issue with refresh rate per calendar is because you can do
{ module: "calendar", header: "US Holidays", position: "top_left", config: { updateInterval: 7*24*60*60*1000 // 7days coloredSymbol:true, calendars: [ { symbol: 'calendar', //symbolClassName: "fas fa-fw fa-", color: 'pink', url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics", name:"holidays" }, { url: "some otherr url ", }, { url: "some otherr url again", } ] } },and ALL those calendars get the SAME/ONLY refresh rate
so currently u would have to do{ module: "calendar", header: "US Holidays", position: "top_left", config: { updateInterval: 7*24*60*60*1000 // 7days coloredSymbol:true, calendars: [ { symbol: 'calendar', //symbolClassName: "fas fa-fw fa-", color: 'pink', url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics", name:"holidays" } ] } }, { module: "calendar", header: "US Holidays", position: "top_left", config: { updateInterval: 6*60*60*1000 // 6 hours coloredSymbol:true, calendars: [ { url: "some other url ", }, ] } }, { module: "calendar", header: "US Holidays", position: "top_left", config: { updateInterval: 1*60*60*1000 // 1 hour coloredSymbol:true, calendars: [ { url: "some other url again" }, ] } }now you have three separate lists, not merged
-
@sdetweil I had used a second calendar module to pull in my personal calendar information and was using the ical link that you can get off of Google if I remember correctly.
Sort of along the lines of using multiple weather modules for daily and hourly.Then Google did something that broke the module. I fought with it for a while, gave up and have never tried to get it back running again.
-
@ankonaskiff17 google changed their url content a while back, so u had to go get it again
-
@sdetweil My issue was a bit more complicated.
My PRIMARY calendar is my phone but it is Samsungs built in calendar not Google calendar
I was hopping in and out Samsung, Google and Outlook although I don’t remember the sequence of hops.
I was dumbfounded that it even worked at the time.
One of those things where only so many minutes in the day so it was relegated to back burner status. -
@sdetweil That was a good memory jogger because I had completely forgotten about the broken calendar issue.
I suspect I will go with a second calendar module like before -
@ankonaskiff17 we are adding interval by url too
{ fetchInterval: url: } -
@sdetweil Any functional difference between
updateIntervalandfetchInterval -
@sdetweil I asked question because I learned way back that programs are VERY unforgiving when you put a period, colon, semicolon, anything out of place. you have no idea how often things like colons or semi-colons have whipped me for hours.
-
@ankonaskiff17 computers do things very fast. EXACTLY as you tell them…
figuring out WHAT you told them is always a challenge!
the devil is in the details…
-
@sdetweil I’m going to take a crack at loading a personal calendar but have a question that maybe you can answer. really relates to the Google side of things.
Google has public and or share with certain people that I equate to a private view.
In a home network environment is there a tangible benefit of one over the other. Both are hopefully behind a firewall, you are using good password security.
Everyone in IT security always going to default to private being safer and I do not disagree but curious if there is a real difference since you are hopefully doing the proper security within your home network -
@ankonaskiff17 I use the secret url … not sure how that is useful… if one can see inside the file system they can read the config.js and then the url works for them too…
but its something…
-
@sdetweil Kind of my thinking too.
-
The secret URL of Google Calendar could be reset and invalidated.
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
