mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-06 07:37:41 +00:00
since API 3.0 is default, weatherEndpoint should be set to "/onecall" Fixes #3574 ATTENTION: since lat / lon defaults to 0 / 0, the weather plugins works after this patch, but shows the weather from https://de.wikipedia.org/wiki/Null_Island if lat / lon is not manually set. --------- Co-authored-by: Karsten Hassel <hassel@gmx.de> Co-authored-by: Pedro Lamas <pedrolamas@gmail.com>
30 lines
519 B
JavaScript
30 lines
519 B
JavaScript
let config = {
|
|
modules: [
|
|
{
|
|
module: "compliments",
|
|
position: "top_bar",
|
|
config: {
|
|
compliments: {
|
|
snow: ["snow"]
|
|
},
|
|
updateInterval: 3000
|
|
}
|
|
},
|
|
{
|
|
module: "weather",
|
|
position: "bottom_bar",
|
|
config: {
|
|
location: "Munich",
|
|
weatherProvider: "openweathermap",
|
|
weatherEndpoint: "/weather",
|
|
mockData: '"#####WEATHERDATA#####"'
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|