mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-07 08:00:57 +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>
23 lines
420 B
JavaScript
23 lines
420 B
JavaScript
let config = {
|
|
timeFormat: 12,
|
|
|
|
modules: [
|
|
{
|
|
module: "weather",
|
|
position: "bottom_bar",
|
|
config: {
|
|
location: "Munich",
|
|
showHumidity: "feelslike",
|
|
weatherProvider: "openweathermap",
|
|
weatherEndpoint: "/weather",
|
|
mockData: '"#####WEATHERDATA#####"'
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|