From 5bfd1c49d9a2af9560e97f2b83ee54f5d06fde41 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Tue, 6 Jun 2023 08:35:06 +0200 Subject: [PATCH] feat: add human-readable text of daily forecast add the proper human-readable text description of the daily forecast [Ticket: no] --- CHANGELOG.md | 47 +++++++++++- DarkSkyJSON.txt | 88 ---------------------- controls_Weather.txt | 6 +- lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm | 3 +- 4 files changed, 50 insertions(+), 94 deletions(-) delete mode 100644 DarkSkyJSON.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index 5620e3b..0fde5eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,47 @@ -### build: v2.2.22 (HEAD -> patch-package) +### fix: missing perl modules (HEAD -> patch-removePrivatFnDeklaration) +>Sun, 5 Feb 2023 09:26:04 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + + + + +### fix: failed then Readonly is missing (origin/patch-removePrivatFnDeklaration) +>Sun, 5 Feb 2023 09:20:20 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + + + + +### fix: : Undefined subroutine +>Thu, 2 Feb 2023 22:58:40 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + +&FHEM::Core::Weather::DeleteForecastreadings + +[Ticket: #46] + + + +### docs: add new entry in CHANGELOG.md (tag: v2.2.22) +>Tue, 10 Jan 2023 21:44:20 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + + + + +### build: v2.2.22 >Tue, 10 Jan 2023 21:43:26 +0100 >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) @@ -8,7 +51,7 @@ -### docs: add new modul path in to pre-commit (origin/patch-package) +### docs: add new modul path in to pre-commit >Tue, 10 Jan 2023 21:37:10 +0100 >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) diff --git a/DarkSkyJSON.txt b/DarkSkyJSON.txt deleted file mode 100644 index 75b4ab2..0000000 --- a/DarkSkyJSON.txt +++ /dev/null @@ -1,88 +0,0 @@ -{"latitude":52.390118,"longitude":13.196752,"timezone":"Europe/Berlin", - - -"currently":{"time":1546597508,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-day","precipIntensity":0.127,"precipProbability":0.13,"precipType":"rain","temperature":1.74,"apparentTemperature":-2.35,"dewPoint":0.79,"humidity":0.93,"pressure":1027.62,"windSpeed":4.32,"windGust":11.78,"windBearing":257,"cloudCover":0.83,"uvIndex":0,"visibility":11.25,"ozone":261.49}, - - -"hourly":{"summary":"Leichter Regen von heute Nacht bis morgen Vormittag.","icon":"rain", -"data":[ - - -{"time":1546596000,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-day","precipIntensity":0.0991,"precipProbability":0.11,"precipType":"rain","temperature":1.53,"apparentTemperature":-2.99,"dewPoint":0.61,"humidity":0.94,"pressure":1028.14,"windSpeed":4.98,"windGust":11.69,"windBearing":234,"cloudCover":0.79,"uvIndex":0,"visibility":8.61,"ozone":260.4}, - - -{"time":1546599600,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-day","precipIntensity":0.1651,"precipProbability":0.16,"precipType":"rain","temperature":2.03,"apparentTemperature":-2.27,"dewPoint":1.06,"humidity":0.93,"pressure":1026.9,"windSpeed":4.78,"windGust":11.9,"windBearing":291,"cloudCover":0.88,"uvIndex":1,"visibility":14.89,"ozone":263.01}, - -{"time":1546603200,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.2134,"precipProbability":0.18,"precipType":"rain","temperature":2.46,"apparentTemperature":-2.26,"dewPoint":1.38,"humidity":0.93,"pressure":1025.9,"windSpeed":5.84,"windGust":12.04,"windBearing":277,"cloudCover":0.96,"uvIndex":0,"visibility":16.09,"ozone":265.17}, - -{"time":1546606800,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.2083,"precipProbability":0.18,"precipType":"rain","temperature":2.84,"apparentTemperature":-1.85,"dewPoint":1.6,"humidity":0.92,"pressure":1025.2,"windSpeed":6,"windGust":12.16,"windBearing":280,"cloudCover":1,"uvIndex":0,"visibility":16.09,"ozone":266.23}, - -{"time":1546610400,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.1702,"precipProbability":0.16,"precipType":"rain","temperature":2.97,"apparentTemperature":-1.66,"dewPoint":1.74,"humidity":0.92,"pressure":1024.75,"windSpeed":5.95,"windGust":12.19,"windBearing":286,"cloudCover":1,"uvIndex":0,"visibility":16.09,"ozone":266.8}, - -{"time":1546614000,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.1245,"precipProbability":0.13,"precipType":"rain","temperature":3.16,"apparentTemperature":-1.38,"dewPoint":1.86,"humidity":0.91,"pressure":1024.37,"windSpeed":5.85,"windGust":12.16,"windBearing":294,"cloudCover":1,"uvIndex":0,"visibility":16.09,"ozone":266.54}, - - -{"time":1546617600,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.066,"precipProbability":0.06,"precipType":"rain","temperature":3.17,"apparentTemperature":-1.24,"dewPoint":1.89,"humidity":0.91,"pressure":1024.1,"windSpeed":5.6,"windGust":11.97,"windBearing":298,"cloudCover":0.99,"uvIndex":0,"visibility":16.09,"ozone":265.29}, - - - - - - - - - - - - - -{"time":1546621200,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0229,"precipProbability":0.03,"precipType":"rain","temperature":3.18,"apparentTemperature":-1.07,"dewPoint":1.85,"humidity":0.91,"pressure":1023.92,"windSpeed":5.25,"windGust":11.7,"windBearing":301,"cloudCover":0.97,"uvIndex":0,"visibility":16.09,"ozone":263.34},{"time":1546624800,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0127,"precipProbability":0.02,"precipType":"rain","temperature":3.33,"apparentTemperature":-0.73,"dewPoint":1.87,"humidity":0.9,"pressure":1023.74,"windSpeed":4.98,"windGust":11.54,"windBearing":301,"cloudCover":0.96,"uvIndex":0,"visibility":16.09,"ozone":261.24},{"time":1546628400,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0102,"precipProbability":0.02,"precipType":"rain","temperature":3.52,"apparentTemperature":-0.44,"dewPoint":2.07,"humidity":0.9,"pressure":1023.62,"windSpeed":4.85,"windGust":11.53,"windBearing":300,"cloudCover":0.96,"uvIndex":0,"visibility":16.09,"ozone":259.23},{"time":1546632000,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0203,"precipProbability":0.04,"precipType":"rain","temperature":3.67,"apparentTemperature":-0.23,"dewPoint":2.39,"humidity":0.91,"pressure":1023.5,"windSpeed":4.82,"windGust":11.62,"windBearing":296,"cloudCover":0.98,"uvIndex":0,"visibility":16.09,"ozone":257.08},{"time":1546635600,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0457,"precipProbability":0.07,"precipType":"rain","temperature":3.9,"apparentTemperature":0.02,"dewPoint":2.73,"humidity":0.92,"pressure":1023.23,"windSpeed":4.87,"windGust":11.85,"windBearing":293,"cloudCover":0.99,"uvIndex":0,"visibility":16.09,"ozone":254.76},{"time":1546639200,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0787,"precipProbability":0.13,"precipType":"rain","temperature":4.09,"apparentTemperature":0.17,"dewPoint":2.99,"humidity":0.93,"pressure":1022.71,"windSpeed":5.06,"windGust":12.32,"windBearing":291,"cloudCover":0.99,"uvIndex":0,"visibility":16.09,"ozone":252.22},{"time":1546642800,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.1295,"precipProbability":0.22,"precipType":"rain","temperature":4.39,"apparentTemperature":0.43,"dewPoint":3.25,"humidity":0.92,"pressure":1022,"windSpeed":5.32,"windGust":12.96,"windBearing":290,"cloudCover":0.99,"uvIndex":0,"visibility":16.09,"ozone":249.45},{"time":1546646400,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.2032,"precipProbability":0.27,"precipType":"rain","temperature":4.69,"apparentTemperature":0.73,"dewPoint":3.54,"humidity":0.92,"pressure":1021.23,"windSpeed":5.49,"windGust":13.38,"windBearing":290,"cloudCover":0.99,"uvIndex":0,"visibility":16.09,"ozone":246.74},{"time":1546650000,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.3378,"precipProbability":0.53,"precipType":"rain","temperature":4.91,"apparentTemperature":0.98,"dewPoint":3.86,"humidity":0.93,"pressure":1020.35,"windSpeed":5.53,"windGust":13.47,"windBearing":290,"cloudCover":1,"uvIndex":0,"visibility":15.98,"ozone":243.81},{"time":1546653600,"summary":"Leichter Regen","icon":"rain","precipIntensity":0.5461,"precipProbability":0.68,"precipType":"rain","temperature":5.04,"apparentTemperature":1.16,"dewPoint":4.18,"humidity":0.94,"pressure":1019.37,"windSpeed":5.52,"windGust":13.35,"windBearing":289,"cloudCover":1,"uvIndex":0,"visibility":7.21,"ozone":241.01},{"time":1546657200,"summary":"Leichter Regen","icon":"rain","precipIntensity":0.696,"precipProbability":0.72,"precipType":"rain","temperature":5.18,"apparentTemperature":1.33,"dewPoint":4.44,"humidity":0.95,"pressure":1018.48,"windSpeed":5.51,"windGust":13.19,"windBearing":290,"cloudCover":1,"uvIndex":0,"visibility":1.61,"ozone":238.7},{"time":1546660800,"summary":"Leichter Regen","icon":"rain","precipIntensity":0.668,"precipProbability":0.79,"precipType":"rain","temperature":5.38,"apparentTemperature":1.57,"dewPoint":4.68,"humidity":0.95,"pressure":1017.66,"windSpeed":5.53,"windGust":13.04,"windBearing":294,"cloudCover":1,"uvIndex":0,"visibility":1.88,"ozone":237.04},{"time":1546664400,"summary":"Leichter Regen","icon":"rain","precipIntensity":0.5436,"precipProbability":0.8,"precipType":"rain","temperature":5.52,"apparentTemperature":1.73,"dewPoint":4.87,"humidity":0.96,"pressure":1016.92,"windSpeed":5.57,"windGust":12.84,"windBearing":297,"cloudCover":1,"uvIndex":0,"visibility":5.34,"ozone":236},{"time":1546668000,"summary":"Leichter Regen","icon":"rain","precipIntensity":0.4293,"precipProbability":0.77,"precipType":"rain","temperature":5.58,"apparentTemperature":1.81,"dewPoint":5.04,"humidity":0.96,"pressure":1016.43,"windSpeed":5.58,"windGust":12.53,"windBearing":303,"cloudCover":1,"uvIndex":0,"visibility":9.29,"ozone":235.78},{"time":1546671600,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.3581,"precipProbability":0.72,"precipType":"rain","temperature":5.48,"apparentTemperature":1.7,"dewPoint":5.19,"humidity":0.98,"pressure":1016.37,"windSpeed":5.54,"windGust":12.09,"windBearing":309,"cloudCover":1,"uvIndex":0,"visibility":13.47,"ozone":236.99},{"time":1546675200,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.32,"precipProbability":0.61,"precipType":"rain","temperature":5.56,"apparentTemperature":1.81,"dewPoint":5.33,"humidity":0.98,"pressure":1016.57,"windSpeed":5.5,"windGust":11.56,"windBearing":317,"cloudCover":1,"uvIndex":0,"visibility":16.09,"ozone":238.99},{"time":1546678800,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.2769,"precipProbability":0.45,"precipType":"rain","temperature":5.78,"apparentTemperature":2.11,"dewPoint":5.37,"humidity":0.97,"pressure":1016.89,"windSpeed":5.46,"windGust":10.97,"windBearing":324,"cloudCover":1,"uvIndex":0,"visibility":16.09,"ozone":240.39},{"time":1546682400,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.1803,"precipProbability":0.24,"precipType":"rain","temperature":6.18,"apparentTemperature":2.59,"dewPoint":5.23,"humidity":0.94,"pressure":1017.29,"windSpeed":5.51,"windGust":10.26,"windBearing":331,"cloudCover":1,"uvIndex":0,"visibility":16.09,"ozone":240.5},{"time":1546686000,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0838,"precipProbability":0.16,"precipType":"rain","temperature":6.53,"apparentTemperature":3.02,"dewPoint":4.97,"humidity":0.9,"pressure":1017.84,"windSpeed":5.56,"windGust":9.51,"windBearing":339,"cloudCover":0.99,"uvIndex":1,"visibility":16.09,"ozone":239.98},{"time":1546689600,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0406,"precipProbability":0.13,"precipType":"rain","temperature":6.72,"apparentTemperature":3.29,"dewPoint":4.74,"humidity":0.87,"pressure":1018.43,"windSpeed":5.46,"windGust":8.96,"windBearing":345,"cloudCover":0.99,"uvIndex":1,"visibility":16.09,"ozone":239.57},{"time":1546693200,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0229,"precipProbability":0.12,"precipType":"rain","temperature":6.64,"apparentTemperature":3.37,"dewPoint":4.54,"humidity":0.86,"pressure":1019.09,"windSpeed":5.07,"windGust":8.8,"windBearing":346,"cloudCover":0.99,"uvIndex":0,"visibility":16.09,"ozone":239.28},{"time":1546696800,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0178,"precipProbability":0.11,"precipType":"rain","temperature":6.16,"apparentTemperature":3.02,"dewPoint":4.34,"humidity":0.88,"pressure":1019.81,"windSpeed":4.51,"windGust":8.83,"windBearing":346,"cloudCover":1,"uvIndex":0,"visibility":16.09,"ozone":239.1},{"time":1546700400,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0152,"precipProbability":0.1,"precipType":"rain","temperature":5.68,"apparentTemperature":2.66,"dewPoint":4.13,"humidity":0.9,"pressure":1020.54,"windSpeed":4.05,"windGust":8.74,"windBearing":345,"cloudCover":0.99,"uvIndex":0,"visibility":16.09,"ozone":239.58},{"time":1546704000,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0152,"precipProbability":0.07,"precipType":"rain","temperature":5.36,"apparentTemperature":2.39,"dewPoint":3.92,"humidity":0.9,"pressure":1021.23,"windSpeed":3.83,"windGust":8.44,"windBearing":346,"cloudCover":0.98,"uvIndex":0,"visibility":16.09,"ozone":241.12},{"time":1546707600,"summary":"Stark bewölkt","icon":"cloudy","precipIntensity":0.0152,"precipProbability":0.07,"precipType":"rain","temperature":5.06,"apparentTemperature":2.1,"dewPoint":3.69,"humidity":0.91,"pressure":1021.92,"windSpeed":3.71,"windGust":8.03,"windBearing":347,"cloudCover":0.95,"uvIndex":0,"visibility":16.09,"ozone":243.18},{"time":1546711200,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-night","precipIntensity":0.0127,"precipProbability":0.07,"precipType":"rain","temperature":4.82,"apparentTemperature":1.92,"dewPoint":3.43,"humidity":0.91,"pressure":1022.53,"windSpeed":3.54,"windGust":7.46,"windBearing":348,"cloudCover":0.92,"uvIndex":0,"visibility":16.09,"ozone":245.26},{"time":1546714800,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-night","precipIntensity":0.0076,"precipProbability":0.07,"precipType":"rain","temperature":4.44,"apparentTemperature":1.66,"dewPoint":3.07,"humidity":0.91,"pressure":1023.03,"windSpeed":3.25,"windGust":6.62,"windBearing":349,"cloudCover":0.89,"uvIndex":0,"visibility":16.09,"ozone":247.11},{"time":1546718400,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":3.91,"apparentTemperature":1.27,"dewPoint":2.67,"humidity":0.92,"pressure":1023.47,"windSpeed":2.91,"windGust":5.61,"windBearing":350,"cloudCover":0.85,"uvIndex":0,"visibility":16.09,"ozone":248.87},{"time":1546722000,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":3.29,"apparentTemperature":0.79,"dewPoint":2.27,"humidity":0.93,"pressure":1023.83,"windSpeed":2.6,"windGust":4.67,"windBearing":351,"cloudCover":0.82,"uvIndex":0,"visibility":16.09,"ozone":250.43},{"time":1546725600,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":2.89,"apparentTemperature":0.58,"dewPoint":1.93,"humidity":0.93,"pressure":1024.08,"windSpeed":2.32,"windGust":3.8,"windBearing":350,"cloudCover":0.81,"uvIndex":0,"visibility":16.09,"ozone":251.74},{"time":1546729200,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":2.6,"apparentTemperature":0.48,"dewPoint":1.6,"humidity":0.93,"pressure":1024.25,"windSpeed":2.08,"windGust":3,"windBearing":348,"cloudCover":0.8,"uvIndex":0,"visibility":16.09,"ozone":252.88},{"time":1546732800,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-night","precipIntensity":0.0076,"precipProbability":0.04,"precipType":"rain","temperature":2.29,"apparentTemperature":0.33,"dewPoint":1.23,"humidity":0.93,"pressure":1024.4,"windSpeed":1.9,"windGust":2.43,"windBearing":347,"cloudCover":0.77,"uvIndex":0,"visibility":16.09,"ozone":253.94},{"time":1546736400,"summary":"Überwiegend bewölkt","icon":"partly-cloudy-night","precipIntensity":0.0051,"precipProbability":0.04,"precipType":"rain","temperature":1.93,"apparentTemperature":-0.02,"dewPoint":0.81,"humidity":0.92,"pressure":1024.56,"windSpeed":1.85,"windGust":2.24,"windBearing":348,"cloudCover":0.66,"uvIndex":0,"visibility":16.09,"ozone":254.61},{"time":1546740000,"summary":"Leicht bewölkt","icon":"partly-cloudy-night","precipIntensity":0.0051,"precipProbability":0.03,"precipAccumulation":0,"precipType":"snow","temperature":1.51,"apparentTemperature":-0.53,"dewPoint":0.36,"humidity":0.92,"pressure":1024.7,"windSpeed":1.86,"windGust":2.28,"windBearing":352,"cloudCover":0.52,"uvIndex":0,"visibility":16.09,"ozone":255.26},{"time":1546743600,"summary":"Leicht bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":1.09,"apparentTemperature":-0.97,"dewPoint":-0.03,"humidity":0.92,"pressure":1024.88,"windSpeed":1.83,"windGust":2.28,"windBearing":355,"cloudCover":0.42,"uvIndex":0,"visibility":16.09,"ozone":256.41},{"time":1546747200,"summary":"Leicht bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":0.73,"apparentTemperature":-1.29,"dewPoint":-0.35,"humidity":0.92,"pressure":1025.12,"windSpeed":1.76,"windGust":2.12,"windBearing":0,"cloudCover":0.43,"uvIndex":0,"visibility":16.09,"ozone":258.71},{"time":1546750800,"summary":"Leicht bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":0.2,"apparentTemperature":-1.77,"dewPoint":-0.6,"humidity":0.94,"pressure":1025.4,"windSpeed":1.66,"windGust":1.9,"windBearing":5,"cloudCover":0.49,"uvIndex":0,"visibility":16.09,"ozone":261.48},{"time":1546754400,"summary":"Leicht bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":-0.28,"apparentTemperature":-2.13,"dewPoint":-0.81,"humidity":0.96,"pressure":1025.71,"windSpeed":1.54,"windGust":1.66,"windBearing":8,"cloudCover":0.49,"uvIndex":0,"visibility":16.09,"ozone":263.49},{"time":1546758000,"summary":"Leicht bewölkt","icon":"partly-cloudy-night","precipIntensity":0,"precipProbability":0,"temperature":-0.22,"apparentTemperature":-1.81,"dewPoint":-0.93,"humidity":0.95,"pressure":1026.08,"windSpeed":1.39,"windGust":1.39,"windBearing":10,"cloudCover":0.35,"uvIndex":0,"visibility":16.09,"ozone":264.07},{"time":1546761600,"summary":"Heiter","icon":"clear-day","precipIntensity":0,"precipProbability":0,"temperature":0.02,"apparentTemperature":0.02,"dewPoint":-1,"humidity":0.93,"pressure":1026.44,"windSpeed":1.19,"windGust":1.2,"windBearing":9,"cloudCover":0.16,"uvIndex":0,"visibility":16.09,"ozone":263.93},{"time":1546765200,"summary":"Heiter","icon":"clear-day","precipIntensity":0,"precipProbability":0,"temperature":0.52,"apparentTemperature":0.52,"dewPoint":-1.03,"humidity":0.89,"pressure":1026.77,"windSpeed":1.06,"windGust":1.07,"windBearing":3,"cloudCover":0.02,"uvIndex":0,"visibility":16.09,"ozone":263.8},{"time":1546768800,"summary":"Heiter","icon":"clear-day","precipIntensity":0,"precipProbability":0,"temperature":1.44,"apparentTemperature":1.44,"dewPoint":-0.98,"humidity":0.84,"pressure":1026.94,"windSpeed":1.04,"windGust":1.05,"windBearing":350,"cloudCover":0,"uvIndex":0,"visibility":16.09,"ozone":264.07}]}, - - - - - - -"daily":{"summary":"Leichter Regen morgen mit fallender Temperatur von 3°C am Donnerstag.","icon":"rain", -"data":[{"time":1546556400,"summary":"Den ganzen Tag lang überwiegend bewölkt.","icon":"partly-cloudy-day","sunriseTime":1546586274,"sunsetTime":1546614506,"moonPhase":0.95,"precipIntensity":0.0584,"precipIntensityMax":0.2134,"precipIntensityMaxTime":1546603200,"precipProbability":0.27,"precipType":"rain","temperatureHigh":3.33,"temperatureHighTime":1546624800,"temperatureLow":3.52,"temperatureLowTime":1546628400,"apparentTemperatureHigh":-0.73,"apparentTemperatureHighTime":1546624800,"apparentTemperatureLow":-0.44,"apparentTemperatureLowTime":1546628400,"dewPoint":0.26,"humidity":0.92,"pressure":1028.18,"windSpeed":4,"windGust":12.32,"windGustTime":1546639200,"windBearing":281,"cloudCover":0.85,"uvIndex":1,"uvIndexTime":1546599600,"visibility":16,"ozone":261.95,"temperatureMin":-1.5,"temperatureMinTime":1546556400,"temperatureMax":4.09,"temperatureMaxTime":1546639200,"apparentTemperatureMin":-4.87,"apparentTemperatureMinTime":1546556400,"apparentTemperatureMax":0.17,"apparentTemperatureMaxTime":1546639200},{"time":1546642800,"summary":"Leichter Regen am Vormittag.","icon":"rain","sunriseTime":1546672655,"sunsetTime":1546700979,"moonPhase":0.98,"precipIntensity":0.2057,"precipIntensityMax":0.696,"precipIntensityMaxTime":1546657200,"precipProbability":0.87,"precipType":"rain","temperatureHigh":6.72,"temperatureHighTime":1546689600,"temperatureLow":-0.28,"temperatureLowTime":1546754400,"apparentTemperatureHigh":3.37,"apparentTemperatureHighTime":1546693200,"apparentTemperatureLow":-2.13,"apparentTemperatureLowTime":1546754400,"dewPoint":4.11,"humidity":0.93,"pressure":1019.81,"windSpeed":4.29,"windGust":13.47,"windGustTime":1546650000,"windBearing":320,"cloudCover":0.96,"uvIndex":1,"uvIndexTime":1546686000,"visibility":16.09,"ozone":242.11,"temperatureMin":2.89,"temperatureMinTime":1546725600,"temperatureMax":6.72,"temperatureMaxTime":1546689600,"apparentTemperatureMin":0.43,"apparentTemperatureMinTime":1546642800,"apparentTemperatureMax":3.37,"apparentTemperatureMaxTime":1546693200},{"time":1546729200,"summary":"Nachmittags überwiegend bewölkt.","icon":"partly-cloudy-night","sunriseTime":1546759032,"sunsetTime":1546787454,"moonPhase":0.02,"precipIntensity":0.0025,"precipIntensityMax":0.0076,"precipIntensityMaxTime":1546732800,"precipProbability":0.09,"precipAccumulation":0.025,"precipType":"snow","temperatureHigh":2.85,"temperatureHighTime":1546776000,"temperatureLow":0.22,"temperatureLowTime":1546804800,"apparentTemperatureHigh":2.85,"apparentTemperatureHighTime":1546776000,"apparentTemperatureLow":-1.88,"apparentTemperatureLowTime":1546808400,"dewPoint":-0.69,"humidity":0.88,"pressure":1026.72,"windSpeed":0.79,"windGust":3,"windGustTime":1546729200,"windBearing":335,"cloudCover":0.45,"uvIndex":1,"uvIndexTime":1546772400,"visibility":16.09,"ozone":263.55,"temperatureMin":-0.28,"temperatureMinTime":1546754400,"temperatureMax":2.85,"temperatureMaxTime":1546776000,"apparentTemperatureMin":-2.13,"apparentTemperatureMinTime":1546754400,"apparentTemperatureMax":2.85,"apparentTemperatureMaxTime":1546776000},{"time":1546815600,"summary":"Den ganzen Tag lang überwiegend bewölkt.","icon":"partly-cloudy-night","sunriseTime":1546845406,"sunsetTime":1546873931,"moonPhase":0.05,"precipIntensity":0.0203,"precipIntensityMax":0.0432,"precipIntensityMaxTime":1546862400,"precipProbability":0.33,"precipType":"rain","temperatureHigh":3.28,"temperatureHighTime":1546862400,"temperatureLow":1.98,"temperatureLowTime":1546930800,"apparentTemperatureHigh":1.59,"apparentTemperatureHighTime":1546866000,"apparentTemperatureLow":-3.15,"apparentTemperatureLowTime":1546930800,"dewPoint":1.03,"humidity":0.93,"pressure":1027.75,"windSpeed":1.88,"windGust":5.61,"windGustTime":1546898400,"windBearing":218,"cloudCover":0.66,"uvIndex":1,"uvIndexTime":1546858800,"visibility":16.09,"ozone":276.16,"temperatureMin":0.53,"temperatureMinTime":1546815600,"temperatureMax":3.28,"temperatureMaxTime":1546862400,"apparentTemperatureMin":-1.18,"apparentTemperatureMinTime":1546840800,"apparentTemperatureMax":1.59,"apparentTemperatureMaxTime":1546866000},{"time":1546902000,"summary":"Nebel in der Nacht.","icon":"fog","sunriseTime":1546931776,"sunsetTime":1546960412,"moonPhase":0.08,"precipIntensity":0.1321,"precipIntensityMax":0.4775,"precipIntensityMaxTime":1546938000,"precipProbability":0.82,"precipType":"rain","temperatureHigh":4.83,"temperatureHighTime":1546970400,"temperatureLow":3.54,"temperatureLowTime":1547017200,"apparentTemperatureHigh":0.42,"apparentTemperatureHighTime":1546956000,"apparentTemperatureLow":-1.37,"apparentTemperatureLowTime":1547017200,"dewPoint":1.73,"humidity":0.88,"pressure":1009.19,"windSpeed":5.97,"windGust":15.45,"windGustTime":1546970400,"windBearing":229,"cloudCover":0.94,"uvIndex":0,"uvIndexTime":1546902000,"visibility":13.07,"ozone":316.77,"temperatureMin":1.98,"temperatureMinTime":1546930800,"temperatureMax":5.57,"temperatureMaxTime":1546984800,"apparentTemperatureMin":-3.15,"apparentTemperatureMinTime":1546930800,"apparentTemperatureMax":1.28,"apparentTemperatureMaxTime":1546984800},{"time":1546988400,"summary":"Nebel am Vormittag.","icon":"fog","sunriseTime":1547018143,"sunsetTime":1547046894,"moonPhase":0.11,"precipIntensity":0.2464,"precipIntensityMax":0.6833,"precipIntensityMaxTime":1547002800,"precipProbability":0.93,"precipType":"rain","temperatureHigh":4.03,"temperatureHighTime":1547013600,"temperatureLow":0.93,"temperatureLowTime":1547103600,"apparentTemperatureHigh":-0.79,"apparentTemperatureHighTime":1547013600,"apparentTemperatureLow":-3.79,"apparentTemperatureLowTime":1547103600,"dewPoint":1.33,"humidity":0.87,"pressure":999.25,"windSpeed":5.53,"windGust":17.56,"windGustTime":1546999200,"windBearing":308,"cloudCover":1,"uvIndex":0,"uvIndexTime":1546988400,"visibility":8.59,"ozone":390.15,"temperatureMin":1.95,"temperatureMinTime":1547038800,"temperatureMax":5.49,"temperatureMaxTime":1546988400,"apparentTemperatureMin":-3.42,"apparentTemperatureMinTime":1547038800,"apparentTemperatureMax":1.23,"apparentTemperatureMaxTime":1546988400},{"time":1547074800,"summary":"Nebel am Vormittag.","icon":"fog","sunriseTime":1547104507,"sunsetTime":1547133379,"moonPhase":0.14,"precipIntensity":0.0991,"precipIntensityMax":0.2337,"precipIntensityMaxTime":1547100000,"precipProbability":0.75,"precipAccumulation":0.851,"precipType":"snow","temperatureHigh":1.56,"temperatureHighTime":1547100000,"temperatureLow":-0.97,"temperatureLowTime":1547157600,"apparentTemperatureHigh":0.07,"apparentTemperatureHighTime":1547139600,"apparentTemperatureLow":-5.63,"apparentTemperatureLowTime":1547157600,"dewPoint":-1.38,"humidity":0.84,"pressure":1017.26,"windSpeed":4.29,"windGust":10.79,"windGustTime":1547074800,"windBearing":328,"cloudCover":0.9,"uvIndex":0,"uvIndexTime":1547074800,"visibility":12.18,"ozone":383.67,"temperatureMin":-0.97,"temperatureMinTime":1547157600,"temperatureMax":2.71,"temperatureMaxTime":1547074800,"apparentTemperatureMin":-5.63,"apparentTemperatureMinTime":1547157600,"apparentTemperatureMax":0.07,"apparentTemperatureMaxTime":1547139600},{"time":1547161200,"summary":"Überwiegend bewölkt bis abends.","icon":"partly-cloudy-day","sunriseTime":1547190868,"sunsetTime":1547219866,"moonPhase":0.17,"precipIntensity":0.033,"precipIntensityMax":0.0838,"precipIntensityMaxTime":1547186400,"precipProbability":0.19,"precipAccumulation":0.409,"precipType":"snow","temperatureHigh":3.68,"temperatureHighTime":1547211600,"temperatureLow":0.23,"temperatureLowTime":1547272800,"apparentTemperatureHigh":1.46,"apparentTemperatureHighTime":1547211600,"apparentTemperatureLow":-3.36,"apparentTemperatureLowTime":1547276400,"dewPoint":-0.28,"humidity":0.87,"pressure":1021.09,"windSpeed":3.69,"windGust":8.99,"windGustTime":1547161200,"windBearing":297,"cloudCover":0.65,"uvIndex":0,"uvIndexTime":1547161200,"visibility":16.09,"ozone":384.24,"temperatureMin":-0.85,"temperatureMinTime":1547161200,"temperatureMax":3.68,"temperatureMaxTime":1547211600,"apparentTemperatureMin":-5.58,"apparentTemperatureMinTime":1547161200,"apparentTemperatureMax":1.46,"apparentTemperatureMaxTime":1547211600}]}, - - - - - - - - - - - - - -"flags":{"sources":["meteoalarm","cmc","gfs","icon","isd","madis"],"meteoalarm-license":"Based on data from EUMETNET - MeteoAlarm [https://www.meteoalarm.eu/]. Time delays between this website and the MeteoAlarm website are possible; for the most up to date information about alert levels as published by the participating National Meteorological Services please use the MeteoAlarm website.","nearest-station":8.842,"units":"si"},"offset":1} - - - - - - - - - - - - - - - - - - - - - - - - - - -Response Temperature: {"code":400,"error":"The given location (or time) is invalid."} diff --git a/controls_Weather.txt b/controls_Weather.txt index 1dfe74d..14e15ce 100644 --- a/controls_Weather.txt +++ b/controls_Weather.txt @@ -1,5 +1,5 @@ UPD 2023-01-29_16:14:48 25809 FHEM/59_Weather.pm -UPD 2023-02-05_09:25:24 34254 lib/FHEM/Core/Weather.pm +UPD 2023-06-06_07:31:00 34254 lib/FHEM/Core/Weather.pm UPD 2023-01-29_16:14:48 50106 lib/FHEM/APIs/Weather/DarkSkyAPI.pm -UPD 2023-01-29_16:14:48 33422 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm -UPD 2023-01-29_16:14:48 36101 lib/FHEM/APIs/Weather/wundergroundAPI.pm +UPD 2023-06-06_08:24:10 33488 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm +UPD 2023-06-02_05:03:58 36607 lib/FHEM/APIs/Weather/wundergroundAPI.pm diff --git a/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm b/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm index bd2a2dc..3785f24 100644 --- a/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm +++ b/lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm @@ -788,6 +788,7 @@ sub _FillSelfHashWithWeatherResponseForOnecallDaily { 'moonset' => strftime( "%a, %H:%M", localtime( $data->{daily}->[$i]->{moonset} ) ), + 'summary' => $data->{daily}->[$i]->{summary}, 'temperature' => int( sprintf( "%.0f", $data->{daily}->[$i]->{temp}->{day} ) ), 'temperature_morn' => int( @@ -1031,7 +1032,7 @@ sub _strftimeWrapper { ], "release_status": "stable", "license": "GPL_2", - "version": "v3.2.6", + "version": "v3.2.7", "author": [ "Marko Oldenburg " ],