smartmirrorinc / SmartMirrorApp

3 stars 0 forks source link

MMM-CalendarExt2 module support #7

Open tausen opened 3 years ago

tausen commented 3 years ago

This one is a bit tricky because it has way too many features. Basic usage would require configuring:

I'm also using some custom styling based on this example because the default styles don't look very slick. Consider forking MMM-CalendarExt2 and changing the default styles instead.

tausen commented 3 years ago

Configuration is described here:

https://github.com/MMM-CalendarExt2/MMM-CalendarExt2/blob/master/docs/Configuration.md

Note especially:

You should have at least ONE Scene to display your events. Each Scene could have at least ONE View. You can assume each scene as a profile or page. Each View decides how to show events. It must have at least ONE calendar or more. You can choose to show which calendar events and how to be displayed and more by configuration.

I've added some custom css here which picks some nice colors for 6 calendars in pairs, e.g. [cal1,cal2] are blue, [cal3,cal4] are magenta and [cal5,cal6] are green. This covers the simple use-case where there are up to three people using the mirror, each with their own work and private calendar. Then one scene for private calendars and one scene for work calendars.

Seems the custom CSS could be made simpler by setting className to calX, see calendar configuration.

So maybe we can start off with:

User of course does not need to know of "scenes" and "views".