cure / MMM-NextEvent

A module for MagicMirror² which counts down to the next calendar event today, using data from MMM-CalendarExt2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MMM-NextEvent

Screenshot

Screenshot Screenshot Screenshot Screenshot Screenshot

Description

This is a module for MagicMirror² which counts down to the next calendar event today. It is a slightly modified version of Boaz Arad's MMM-CountDown, who did the hard work, thank you!

This module requests an event list from MMM-CalExt2 for the current date, and displays a countdown in hours and minutes to the next event. If there is no event later today, it displays a happy 'Not today!' message.

Installation

cd ~/MagicMirror/modules
git clone --depth=1 https://github.com/cure/MMM-NextEvent

Configuration

To use this module, add the following configuration block to the modules array in the config/config.js file:

var config = {
    modules: [
        {
            module: 'MMM-NextEvent',
            config: {
                // See configuration options
            }
        }
    ]
}

Configuration options

Option Description
position Required Where do you want to place the counter (use standard magicmirror positions)
event Name of the title displayed above counter when there is no next event. Default is 'Next event'
showHours Decide whether or not to display the hours. Default is true
showMinutes Decide whether or not to display the minutes. Default is true
showSeconds Decide whether or not to display the seconds. Default is true
customInterval Change the update interval which will help reduce load if you are only showing specific time metrics. Default is 1000
daysLabel Choose how you wish to display your Days label. Default is d
hoursLabel Choose how you wish to display your Hours label. Default is h
minutesLabel Choose how you wish to display your Minutes label. Default is m
secondsLabel Choose how you wish to display your Seconds label. Default is m

About

A module for MagicMirror² which counts down to the next calendar event today, using data from MMM-CalendarExt2.

License:MIT License


Languages

Language:JavaScript 96.4%Language:CSS 3.6%