Magic Mirror Module for displaying tides from German Bundesamt für Seeschifffahrt und Hydrographie
- Navigate into your MagicMirror's modules folder
cd MagicMirror/modules
and clone this repositorygit clone https://github.com/myrdrks/MMM-bsh-tides
- cd into the module folder
cd MMM-bsh-tides
and install dependenciesnpm i
- go to https://tableau.bsh.de/views/Gezeitenvorausberechnung_V02/Download-Bereich
- Select your region (Ort) and year (Jahr)
- IMPORTANT: Select filetype (Produkt) "txt-Datei (HW/NW)"
- Accept terms of use (Akzeptieren)
- Click Download
- Put the downloaded file into MMM-bsh-tides module folder
- Edit
config/config.js
: filename: "DE_XXX2021"
To use this module, add it to the modules array in the config/config.js
file:
{
module: "MMM-bsh-tides",
position: "right",
config: {
filename: "DE__750P2021.txt", // file from https://tableau.bsh.de/views/Gezeitenvorausberechnung_V02/Download-Bereich
todayLabel: "Heute",
tomorrowLabel: "Morgen",
highTide: "Hochwasser",
lowTide: "Niedrigwasser",
showIcons: true, // Hide or show arrow icons
updateInterval: 60 * 60 * 1000, // 1 hour
}
},
- Feather Icons installed via
npm i