Skip to content

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

License

Notifications You must be signed in to change notification settings

cure/MMM-NextEvent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published