MMM-MPKLodz is a module for the MagicMirror project by Xioner19.
It shows live public transport information for Lodz based on rozklady.lodz.pl data.
The current development status of this module is: maintained
This means: I'm open for feature requests, pull requests, bug reports, ...
The module looks like this:
-
Clone this repository in your
modules
folder:cd ~/MagicMirror/modules git clone https://github.com/Xioner19/MMM-MPKLodz.git
-
Install the dependencies:
cd MMM-MPKLodz npm install
-
Add the module to your
config/config.js
file:{ module: "MMM-MPKLodz", position: "bottom_right", // Or any other region config: { stopId: "572", // Your stop ID updateInterval: 60000, fade: true, fadePoint: 0.25, } }
You need the stopId
for the station whose departures should be displayed.
Here's how to find out the stopId
:
- Go to mpk.lodz.pl
- Go to Stops
- Select the stop you are interested in
- Copy and paste the
stopId
from the browser bar
Option | Description |
---|---|
stopId |
The ID of the stop you want to display departures for. (Default: "572" ) |
updateInterval |
Time in milliseconds between updates. (Default: 60000 ) |
fade |
Whether to fade the list of departures. (Default: true ) |
fadePoint |
Where to start the fade effect. (Default: 0.25 ) |
If you find any problems, bugs or have questions, please open a GitHub issue in this repository.