Skip to content

A module to display the closest Coup scooters in Berlin on the the MagicMirror

License

Notifications You must be signed in to change notification settings

bogomips/MMM-CoupEscooters

Repository files navigation

MMM-CoupEscooters

A module for the MagicMirror to display the closest Coup e-scooters in Berlin and other cities

This module is an extension of the amazing MagicMirror2 project by MichMich.

Screenshots

how it looks like

Current version

v0.1

Prerequisite

A working installation of MagicMirror2

Dependencies

Installation

  1. Navigate into your MagicMirror's modules folder.
  2. Execute git clone https://github.com/bogomips/MMM-CoupEscooters.
  3. Execute cd MMM-CoupEscooters.
  4. Execute npm install.

Module behavior

Configuration

Sample minimum configuration entry for your ~/MagicMirror/config/config.js:

...

{
    module: 'MMM-CoupEscooters',
    position: 'top_right',
    config: {
        myPosition:[xxx.xxxxx, yy.yyyyy] ,  		// Your latitude and longitude, take it from google maps.            
    }
} 							// If this isn't your last module, add a comma after the bracket

...

Config Options

Option Default Description
cityId fb7aadac-bded-4321-9223-e3c30c5e3ba5
Which city do you want to use?
Default: Berlin, Germany, I don't know yet the values for other cities

updateInterval 120
How often you wanna refresh your data?
I suggest not to set a low value to avoid blocks

scootersToDisplay 5
How many available scooter do you wanna display?

highlightWithin 150 Highlight the scooter included in this range (in meters)
highlightColor #f06595
The color to use to highlight closer scooters

batteryColor ['#ff0000','#F9D71C','#00ff00']
The color of the battery (red, yellow, green)

About

A module to display the closest Coup scooters in Berlin on the the MagicMirror

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published