Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
Well i ended up figuring out how to do this a couple hours after this post, so i figured I would share in case anyone else wanted to do the same. I used MMM-ModuleScheduler. Basically you can set certain times to send out a notification that MMM-CalendarExt2 recognizes. Heres my config:
{ module: "MMM-ModuleScheduler", config: { notification_schedule: [ { notification: "CALEXT2_SCENE_CHANGE", schedule: "0 12 * * *", //Schedule time based on crontab.guru payload: { type: "name", key: "Afternoon Scene" } }, { notification: "CALEXT2_SCENE_CHANGE", schedule: "0 0 * * *", //Schedule time based on crontab.guru payload: { type: "name", key: "Morning Scene" } } ] } }
You can set up as many scheduled notifications as you’d like. You can see here that, based on crontab scheduling, I am set up to change the scene at Midnight and at noon. The payload key value is the name of the scene you’d like to switch to. You can see other options on CalExt2 notifications here.
-
@djpoirrier said in MMM-CalendarExt2:
Well i ended up figuring out how to do this
I’d like to see a picture of what this looks like.
-
Hi, i have a problem with my scanInterval I want it to update every 2 hours but it keeps updating every minute. (disappears for one second)
I already tried different time formats but it didn’t work.
Thanks,
Lukemodule: 'MMM-CalendarExt2', config: { calendars : [ { name: „Ich", url: „***********“, scanInterval: 7200000, (already tried: 1000*60*60*2, 2*60*60*1000, ) }, { name: "Feiertage", url: „***********", scanInterval: 7200000, (already tried: 1000*60*60*2, 2*60*60*1000, ) }, { name: "Uni", url: „**********" scanInterval: 7200000, (already tried: 1000*60*60*2, 2*60*60*1000, ) }, ], views: [ { name: "view1", mode: "week", calendars: [], hideOverflow: false, position: "bottom_bar", slotCount: 3, filterPassedEvent: true, locale: "de-DE", }, { name: "upcoming", mode: "upcoming", position: "top_left", maxItems: 5, maxDays: 7, locale: "de-DE", hideOverflow: false, filterPassedEvent: true, }, ], scenes: [ { name: "DEFAULT", }, ], }, },
-
This post is deleted! -
@luke1 I believe it refreshes every minute anyway, but don’t ping the servers for the time you specify. If you want it to stop animating as a stopgap, you can use this:
/* Stop animating */ .CX2.hidden { display: block; opacity: 1; animation-name: none; animation-iteration-count: 0; animation-timing-function: none; animation-duration: 0s; } .CX2.shown { display: block; opacity: 1; animation-name: none; animation-iteration-count: 0; animation-timing-function: none; animation-duration: 0s; }
-
@bkeyport Thanks a lot! :)
-
Hi
Just wondering if it’s possible to change the date format in the upcoming view.
Its currently giving me how many days until the event. I’m looking for the date of the event.
I’ve tried (useEventTimeRelative: “false”)
any other thoughts?
Jeremy
-
Is there a way to show the next month in the “month” view? I want to rotate between the current month and next month. If it can be done, is there a way to show it without having to manually filter it each month (i.e filter = currentMonth + 1 … or something like that)?
-
@almightyyoshi NM. I was way overthinking that. Found the “fromNow” setting.
-
@bkeyport
That is not correct. If you want to get rid of the week count create a css/custom.css file, never change the main.css! And add this line
.CX2 .weeksmark {
display:none;
}