https://github.com/mumblebaj/mmm-sweepclock
Sweep Clock for MagicMirror²
https://github.com/mumblebaj/mmm-sweepclock
clock magicmirror2 sweep-clock
Last synced: about 2 months ago
JSON representation
Sweep Clock for MagicMirror²
- Host: GitHub
- URL: https://github.com/mumblebaj/mmm-sweepclock
- Owner: mumblebaj
- License: mit
- Created: 2021-09-19T17:19:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-05-10T08:16:37.000Z (about 1 year ago)
- Last Synced: 2025-05-10T09:25:12.599Z (about 1 year ago)
- Topics: clock, magicmirror2, sweep-clock
- Language: JavaScript
- Homepage:
- Size: 181 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MMM-SweepClock
A [MagicMirror²](https://magicmirror.builders) module to display a clasic Railway Clock based on the code written by [manuelmeister](https://github.com/manuelmeister/Swiss-Railway-Clock).
[](https://MagicMirror.builders)
[](LICENSE)
## Support
If you like my module you can support my work by giving me a star ir buy me a coffee.
## Updates
### v1.1.4
- Add support for multiple instances as per [issue request #7](https://github.com/mumblebaj/MMM-SweepClock/issues/7)
### v1.1.3
- Update issue [Github Issue 6](https://github.com/mumblebaj/MMM-SweepClock/issues/6)
### v1.1.2
- Added support for timezones. User can now specify a timezone as input. I.e. `America/New_York` or `Europe/Zurich`. If local date and time is required then leave the `timezone` option out of the config.
### V1.1.0
- Added option to remove date.
- Added option provide Date Format
- If Date is not required to keep the look and feel minimal just set showDate option to false.



## Installation
In your terminal, go to your MagicMirror's Module folder:
````
cd ~/MagicMirror/modules
````
Clone this repository:
````
git clone https://github.com/mumblebaj/MMM-SweepClock.git
````
Add the module to the modules array in the `config/config.js` file:
## Sample without timezone
````javascript
{
module: "MMM-SweepClock",
position: "top_left",
config: {
showDate: false,
dateFormat: "dddd, LLL"
}
},
````
## Sample with timezone
````javascript
{
module: "MMM-SweepClock",
position: "top_left",
config: {
showDate: true, // set to true or false to show date
dateFormat: "dddd, LLL",
timezone: "America/New_York"
}
},
````
## Updating
To update the module to the latest version, use your terminal to go to your MMM-SweepClock module folder and type the following command:
````
cd ~/MagicMirror/modules/MMM-SweepClock/
git pull
````
