Read the statement by Michael Teeuw here.
MMM-CalendarExt2
-
Re: MMM-CalendarExt2
I am new here and am trying to get the calendar extension to work. I set it up with the basic configuation but I am getting a blank screen in Magic Mirror. Any help would be appreciated.{
module: ‘MMM-CalendarExt2’,
config: {
calendars : [
{
url: “https://www.google.com/calendar/ical/ovb564thnod82u5c4njut98728%40group.calendar.google.com/public/basic.ics”,
},
],
views: [
{
mode: “daily”,
},
],
scenes: [
{
name: “DEFAULT”,
},
],
},
}, -
@pkup10 way underconfigured. Compare to mine, stripped down to it’s bare minimum.
{ module: "MMM-CalendarExt2", // https://github.com/MMM-CalendarExt2/MMM-CalendarExt2 config: { calendars : [ { url: "<URL>", name: "Main Calendar", }, ], views: [ { mode: "daily", position: "top_right", calendars: ["Main Calendar"], }, ], scenes: [ { name: "DEFAULT", }, ], }, },
-
-
@wenike that module doesn’t use the typical display approach. position is not used
-
@wenike Take a look at my barebones config above. You’ll notice the position is part of the view config not the main part. This module creates virtual positions after the main stuff is done.
-
Hi,
is there a way to setup a sliding week (sliding 7 days) in the calendar, means always show the actual day as the first day and then e.g. 7 days into the future ?
Currently I’m showing two weeks, but on Sundays the first week shows only gone events and is not very helpful. I rather would like to save the space for the first week by just showing only 7 days in the future. Unfortunately I was not able to figure this out by myself :crying_face: .Many thanks for the great addon
Clas
-
@askedal
Weeks views purpose is that. Use Daily view with horizontal layout. -
@askedal
And the start day of week respects your locale. So in your country, if the week starts from Monday, adjust your locale to it. -
@mmrize said in MMM-CalendarExt2:
@askedal
Weeks views purpose is that. Use Daily view with horizontal layout.I tried the daily view, but then saturday and sunday were missing, it showed only the working days (maybe there were no events ?)
-
@askedal
I think you are missing some options;
They might beslotCount
andfromNow
.
slotCount
indaily view
points How many days will appear
fromNow
indaily view
points From which day the view begins.So if you set daily view like this;
fromNow: -1, slotCount: 5
It will show 5 days schedules from yesterday.
I think you probably want 7 days schedule from today. In that case, this will work; (You may need more options and CSS modifying to beautify the look of view)
{ name: "VIEW1", mode: "daily", title: "My Schedule", position: "bottom_bar", type: "row", slotCount: 7, fromNow: 0, useEventTimeRelative: true, },