Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 2.7 KB

README.md

File metadata and controls

71 lines (51 loc) · 2.7 KB

MMM-CalendarExtMiniMonth

Mini month plugin for the default calendar module and MMM-CalendarExt2.

Screenshot

screenshot

Installation

This module works with the default calendar module or MMM-CalendarExt2.

cd ~/MagicMirror/modules
git clone https://github.com/MagicMirrorModules/MMM-CalendarExtMiniMonth

Update

cd ~/MagicMirror/modules/MMM-CalendarExtMiniMonth
git pull

Configuration

Basic example:

{
  module:"MMM-CalendarExtMiniMonth",
  position:"top_left",
},

Configuration options

All options are optional. Add overrides to the module's config object in your MagicMirror configuration.

Option Default Description
locale null Uses the MagicMirror locale.
dynamicEventColor ["#333", "#F3F"] CSS colors for the event-count gradient. Set to null to disable the fill and show only the event border.
refreshInterval 600000 Refresh interval in milliseconds.
titleFormat "MMMM" Format pattern for the month header, such as "MMMM" or "MMM".
weekdayFormat "dd" Weekday label format: "dd", "ddd", or "dddd".
dateFormat "D" Day number format: "D", "Do", or "DD".
calendars [] Calendar names to include. An empty array includes all calendars.
source "CALENDAR" Event source: "CALENDAR" or "CALEXT2".

Configuration example

Add an entry like this to the modules array in your config.js:

{
  module: "MMM-CalendarExtMiniMonth",
  position: "top_left",
  config: {
    calendars: ["Family Calendar"],
    dynamicEventColor: ["#000099", "#000099"],
    source: "CALEXT2"
  }
},

When using the default calendar module, make sure its config enables broadcastEvents: true.

Styling

See MMM-CalendarExtMiniMonth.css