Skip to content

A classic flip clock for the MagicMirror.

License

Notifications You must be signed in to change notification settings

MarcLandis/MMM-FlipClock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic Mirror Module MMM-FlipClock

A classic flip clock for the MagicMirror. It is powered by the awesome flip plugin.

Example

Installation

1. Execute the following commands to install the module:

cd ~/MagicMirror/modules # navigate to module folder
git clone https://github.com/MarcLandis/MMM-FlipClock.git # clone this repository

2. Then, add the following into the modules section of your config/config.js file:

{
    module: 'MMM-FlipClock',
    position: 'top_left',
    config: {
        // See 'Configuration options' for more information.
    }
},

Configuration options

The following properties can be configured:

Option Description
timeFormat Use 12 or 24 hour format.

Possible values: 12 or 24
Default value: uses value of config.timeFormat
seperator Seperator to use.

Default value: ":"
displaySeconds Display seconds.

Possible values: true or false
Default value: true
showPeriod Show the period (am/pm) with 12 hour format.

Possible values: true or false
Default value: true
showPeriodUpper Show the period (AM/PM) with 12 hour format as uppercase.

Possible values: true or false
Default value: false
showDate Turn off or on the Date section.

Possible values: true or false
Default value: true
showWeek Turn off or on the Week section.

Possible values: true or false
Default value: false
dateFormat Configure the date format as you like.

Possible values: Docs
Default value: "dddd, LL"
timezone Specific a timezone to show clock.

Possible examples values: America/New_York, America/Santiago, Etc/GMT+10
Default value: none. See more informations about configuration value here
displaySeconds Display seconds.

Possible values: true or false
Default value: true
easing Configure the flipping animation as you like.

Possible values: Docs
Default value: "ease-out-bounce"

About

A classic flip clock for the MagicMirror.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published