This module fetches the temperature from the AlpLakes API every hour and displays it on your MagicMirror. It also changes the icon displayed based on the temperature.
The module is based on an idea from the MMM-SwissLakeTemperature
- Navigate to your MagicMirror
modules
directory:cd ~/MagicMirror/modules
- Clone this repository:
git clone https://github.com/lbartk/MMM-SwissAlpLakes
- Add the module to your
config.js
file.
- basic configuration
{
module: "MMM-SwissAlpLakes",
position: "top_right", // Example position
showLastUpdated: false, // Set to false if you don't want to show the last updated time
config: {
lat: '47.309263',
lng: '8.583303',
lake: 'zurich',
depth: '1'
}
}
- If you want to display information from a few lakes, you need to use an array
{
module: "MMM-SwissAlpLakes",
position: "top_left", // Or any other position
showLastUpdated: false, // Set to false if you don't want to show the last updated time
config: {
lakes: [
{ lat: '47.309263', lng: '8.583303', lake: 'zurich', depth: '1' },
{ lat: '47.363915', lng: '8.672333', lake: 'greifensee', depth: '1' }
]
}
}