mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-06 15:48:05 +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>
26 lines
524 B
JavaScript
26 lines
524 B
JavaScript
let config = {
|
|
modules: [
|
|
{
|
|
module: "weather",
|
|
position: "bottom_bar",
|
|
config: {
|
|
location: "Munich",
|
|
weatherProvider: "openweathermap",
|
|
weatherEndpoint: "/weather",
|
|
mockData: '"#####WEATHERDATA#####"',
|
|
windUnits: "beaufort",
|
|
showWindDirectionAsArrow: true,
|
|
showSun: false,
|
|
showHumidity: "wind",
|
|
roundTemp: true,
|
|
degreeLabel: true
|
|
}
|
|
}
|
|
]
|
|
};
|
|
|
|
/*************** DO NOT EDIT THE LINE BELOW ***************/
|
|
if (typeof module !== "undefined") {
|
|
module.exports = config;
|
|
}
|