This is a module for MagicMirror²
; the purpose of the module is to show you jokes from the PegelAPI.
- Navigate into your MagicMirror's modules folder and execute git clone https://github.com/alfkoblischke/MMM-PegelAPI.git. A new folder will appear navigate into it.
- Edit your configuration file under
config/config.js
with the following configuration.
{
module: 'MMM-PegelAPI',
position: 'middle_center',
config: {
station: "a6ee8177-107b-47dd-bcfd-30960ccc6e9c" // stations at: https://www.pegelonline.wsv.de/gast/pegeltabelle
}
}
Option | Description |
---|---|
station |
The list of station names can be found at: https://www.pegelonline.wsv.de/gast/pegeltabelle |
fetchInterval |
How often (in milliseconds) a new water level should be fetched. Type: number Default value: 10 * 1000 |
MagicMirror²: MagicMirror²