A monthly calendar for your MagicMirror².
- Navigate into your MagicMirror
modules
folder and executegit clone https://github.com/PalatinCoder/MMM-MonthCalendar.git
- Enter the
MMM-MonthCalendar
directory and executenpm install
- Navigate into the MagicMirror
config
folder and add the config below to theconfig.js
file
These are the parameters you can change for this module.
Option | Default | Description |
---|---|---|
updateDelay |
5 |
Amount of seconds to delay the daily calendar update Type: integer |
showAdjacentMonths |
true |
Choose to preview a few days of the previous/next month Type: boolean |
You can use the following example config to paste it directly into your config.js
.
There you can also add a custom text that prefixes your module's header (header
field in the config snippet below). Default is only name & current year.
{
module: 'MMM-MonthCalendar',
position: "center",
header: "",
config: {
updateDelay: 5,
showAdjacentMonths: true
}
}
config.js
. So, for the current month to be shown, you need to set a header which it can be appended to. If you omit the header
property, the module won't have a header at all.
If you don't want additional text in the header, that's no problem. As we all know: "" !== undefined
, so just set your header to an empty string (as shown in the example above).