mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 21:00:57 +00:00
Change default for weatherEndpoint according to API 3.0 (#3583)
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>
This commit is contained in:
@@ -15,6 +15,8 @@ let config = {
|
||||
position: "bottom_bar",
|
||||
config: {
|
||||
location: "Munich",
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/weather",
|
||||
mockData: '"#####WEATHERDATA#####"'
|
||||
}
|
||||
}
|
||||
|
@@ -8,6 +8,8 @@ let config = {
|
||||
config: {
|
||||
location: "Munich",
|
||||
showHumidity: "feelslike",
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/weather",
|
||||
mockData: '"#####WEATHERDATA#####"'
|
||||
}
|
||||
}
|
||||
|
@@ -5,6 +5,8 @@ let config = {
|
||||
position: "bottom_bar",
|
||||
config: {
|
||||
location: "Munich",
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/weather",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
windUnits: "beaufort",
|
||||
showWindDirectionAsArrow: true,
|
||||
|
@@ -7,6 +7,8 @@ let config = {
|
||||
position: "bottom_bar",
|
||||
config: {
|
||||
location: "Munich",
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/weather",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
decimalSymbol: ",",
|
||||
showHumidity: "wind"
|
||||
|
@@ -8,8 +8,9 @@ let config = {
|
||||
config: {
|
||||
type: "forecast",
|
||||
location: "Munich",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/forecast/daily",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
absoluteDates: true
|
||||
}
|
||||
}
|
||||
|
@@ -8,8 +8,9 @@ let config = {
|
||||
config: {
|
||||
type: "forecast",
|
||||
location: "Munich",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
weatherEndpoint: "/forecast/daily"
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/forecast/daily",
|
||||
mockData: '"#####WEATHERDATA#####"'
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@@ -8,8 +8,9 @@ let config = {
|
||||
config: {
|
||||
type: "forecast",
|
||||
location: "Munich",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/forecast/daily",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
showPrecipitationAmount: true,
|
||||
colored: true,
|
||||
tableClass: "myTableClass"
|
||||
|
@@ -8,8 +8,9 @@ let config = {
|
||||
config: {
|
||||
type: "forecast",
|
||||
location: "Munich",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/forecast/daily",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
decimalSymbol: "_",
|
||||
showPrecipitationAmount: true
|
||||
}
|
||||
|
@@ -8,6 +8,8 @@ let config = {
|
||||
config: {
|
||||
type: "hourly",
|
||||
location: "Berlin",
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/onecall",
|
||||
mockData: '"#####WEATHERDATA#####"'
|
||||
}
|
||||
}
|
||||
|
@@ -8,6 +8,8 @@ let config = {
|
||||
config: {
|
||||
type: "hourly",
|
||||
location: "Berlin",
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/onecall",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
hourlyForecastIncrements: 2
|
||||
}
|
||||
|
@@ -8,6 +8,8 @@ let config = {
|
||||
config: {
|
||||
type: "hourly",
|
||||
location: "Berlin",
|
||||
weatherProvider: "openweathermap",
|
||||
weatherEndpoint: "/onecall",
|
||||
mockData: '"#####WEATHERDATA#####"',
|
||||
showPrecipitationAmount: true,
|
||||
showPrecipitationProbability: true
|
||||
|
Reference in New Issue
Block a user