Skip to content

Get how many public bikes are currently available at your favorites stations

License

Notifications You must be signed in to change notification settings

bibaldo/MMM-MiBiciTuBici

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-MiBiciTuBici

A MagicMirror² helper module to get how many public bikes are currently available at your favorites stations in Rosario, Argentina.

license

Example

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/bibaldo/MMM-MiBiciTuBici.git

Add the module to the modules array in the config/config.js file:

  {
    module: "MMM-MiBiciTuBici"
  },

Configuration options

The following properties can be configured:

Option Description
header The header text

Default value: 'Mi Bici Tu Bici'
stationsList The stations (ids) that we want to get live info
You can get the ID's from https://www.mibicitubici.gob.ar

Possible value: [ 1, 4, 6 ]
Default value: [ 2, 4, 5, 6, 10, 16, 20, 22 ]
infoClass The font size of data

Possible values: 'small', 'medium', 'big'
Default value: 'medium'
updateInterval How often does the content needs to be fetched? (Milliseconds)

Possible values: 1000 - 86400000
Default value: 300000 (5 minutes)
fadeSpeed Speed of the update animation. (Milliseconds)

Possible values:0 - 5000
Default value: 4000 (4 seconds)

Config Example

  {
    module: "MMM-MiBiciTuBici",
    position: "top_left",
    config: {
      header: 'Mi Bici Tu Bici',
      stationsList: [2, 4, 5, 6],
      updateInterval: 300000,
      infoClass: 'medium'
    }
  },

Updating

To update the module to the latest version, use your terminal to go to your MMM-MiBiciTuBici module folder and type the following command:

git pull

Feel free to open any Issue 😃

About

Get how many public bikes are currently available at your favorites stations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published