Read the statement by Michael Teeuw here.
MMM-CalendarExt
-
Hi,
I realized, that every time the Calendars will be fetched, pm2 creates a log entry in it’s log file.
Well, sometime the log file will be very big, so my question is if it is necessary or advisable to delete the log file and if there is a way to do that automatically.:)
-
@cruunnerr
I would try https://github.com/keymetrics/pm2-logrotate/blob/master/README.md for this. Looks like you can set a limit, and pm2 creates a new log file after the limit is reached. You can also activate compression for older log files and define how many old log files you would like to keep.
But I did not try -
@yawns
Yeah, i saw this already. Unfortunately my english isn’t good enough to understand this :/I just create a bash script with following content:
pm2 flush
The script will be executed by a cronjob every sunday at 4am.Maybe not the cleanest solution…
I will take a look again at the log rotate method. :) thanks dude
-
@cruunnerr
Understood. If you don’t figure it out I will try when I am back home next weekend -
Hey guys,
I am trying to show the same calendar on “weeks” and on “upcoming” but with different “maxEntries”. Is that possible?
tried it like this:
{ //Muellkalendar url: "webcal://p53-calendars.icloud.com/published/2/.....", styleName: "style2", maxEntries: 20, symbol: "delete-empty@md", views: ["weeks"], interval: 86400000, // 24 Stunden }, { //Muellkalendar-Upcoming url: "webcal://p53-calendars.icloud.com/published/2/.....", styleName: "style2", maxEntries: 2, symbol: "delete-empty@md", views: ["upcoming"], interval: 86400000, // 24 Stunden },
But then i get the “create a config” message
-
@cruunnerr
maxEntries
is only worked for the count of loading events ofcalendar
, not theview
. You can uselimit
for limitation of the number of events of specificview
. -
Thanks for your reply.
I already used limit for the upcoming view. I have 3 calendars in the upcoming view and the limit works fine.
But i want to show the same calendar once in the weeks view with up to 20 entries and in the upcoming view max. 2 so the other calendar entries will not be blocked by the calendar i just need 2 entries.
anyhow, it seems not to be possible. But thank u anyway. Great module at all :)
-
Hi,
Thanks a lot for a great module!!!Currently doing my finishing touches on my MagicMirror and CalendarExt.
I’m using 1 daily view (bottom_bar) and 2 column view (top_left), each with a dedicated google calendar.
Have tried to configure 2 upcoming view, still without any luck.I have 2 questions:
-
How can I set up CalendarExt to use 2 upcoming views or reconfigure one of the other views to function and present as the upcoming view?
(Preferable without being affected by future updates.) -
Is there any method (or planned feature) to limit my calendars from 3 to 1 by filtering, including or excluding events per view?
Example:
calendars: [ { name: "Birthdays", title: "Birthdays", views: ['upcoming'], includeEvent: ["/Birthday/gi'] url: "https://calendar.google.com/calendar/ical/....", }, { name: "Calendar", views: ['daily'], excludeEvent: ["/Birthday/gi'] url: "https://calendar.google.com/calendar/ical/....", }, ],
Hope you can help.
-
-
- You cannot use “2 upcoming views” at the same time. sorry. If you use “profile”, you can select or change to show the view from “multi upcoming views”, but not together.
- I hadn’t imagined that kind of function. I think some kind of filtering function would be needed for your purpose. When I have a time, I might add that.
-
Thanks for your update and for considering the feature.
Hope to see filtering sometime in the future in this already great module.