HTTPMOD für Website weatherpro.com - Höchstwerte des aktuellen Tages auslesen

Begonnen von Dirk070, 01 Juli 2022, 11:54:53

Vorheriges Thema - Nächstes Thema

Dirk070

Hallo zusammen,

ich nutze zuhause eine Netatmo, die auch in FHEM eingebunden ist. Mit den prognostizierten Temperatur-Höchstwerten steuere ich teils die Rolladen.
Nun sind die Netatmo-Werte gerne zu hoch und ich nutze auf dem iPhone die App WeaterPro, die hier deutlich realistischere Daten liefert.

Zur App gibt es diese Website:
https://www.weatherpro.com/de/deutschland/nordrhein-westfalen/k%C3%B6ln/forecast

Mit dem Firefox Inspector habe ich mir die Webiste angeschaut, bin Entwickler aber kein Web-Entwickler und komme da nicht weiter.
Hat jemand einen Tipp, wie ich hier vorgehen müsste, um die Höchstwerte des aktuellen Tages auslesen zu können?

Danke Euch vorab und schöne Grüße
Dirk

Dirk070

Ich habe mal nach Wiki und Posts etwas ausprobiert, klappt leider nicht, aber vielleicht hilft es, mir zu helfen  ;)
Im Quelltext der Website gibt es div class="celsius" mit dem Wert 22. Daher der Versuch, diesen Part abzufragen.

RAW

defmod WeatherPro HTTPMOD https://www.weatherpro.com/de/deutschland/nordrhein-westfalen/pulheim/forecast 2000
attr WeatherPro get1CheckAllReadings 1
attr WeatherPro get1Name WeatherHolen
attr WeatherPro reading01Name Temperatur
attr WeatherPro reading1Regex <div class="celsius">\s*([\d:]+)\s*<
attr WeatherPro room System->Test
attr WeatherPro verbose 5


LOG

2022.07.01 18:04:27 3: WeatherPro: Defined with URL https://www.weatherpro.com/de/deutschland/nordrhein-westfalen/pulheim/forecast and interval 2000 featurelevel 6.1
2022.07.01 18:05:51 5: WeatherPro: get called with WeatherHolen
2022.07.01 18:05:51 5: WeatherPro: get found option WeatherHolen in attribute get1Name
2022.07.01 18:05:51 4: WeatherPro: get will now request WeatherHolen, no optional value
2022.07.01 18:05:51 5: WeatherPro: AddToQueue adds type get1 to URL https://www.weatherpro.com/de/deutschland/nordrhein-westfalen/pulheim/forecast, no data, no headers, retry 0, initial queue len: 0
2022.07.01 18:05:51 5: WeatherPro: HandleSendQueue called from AddToSendQueue, qlen = 1
2022.07.01 18:05:51 4: WeatherPro: HandleSendQueue sends get1 with timeout 2 to https://www.weatherpro.com/de/deutschland/nordrhein-westfalen/pulheim/forecast, No Data, No Header
2022.07.01 18:05:51 5: WeatherPro: ReadCallback called from __ANON__
2022.07.01 18:05:51 4: WeatherPro: Read callback: request type was get1 retry 0,
header: HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 5864
Connection: close
Last-Modified: Wed, 29 Jun 2022 07:18:22 GMT
Accept-Ranges: bytes
Server: AmazonS3
Date: Fri, 01 Jul 2022 15:33:05 GMT
Cache-Control: max-age=3600, no-transform, public
ETag: "181b6ba755293b5f70610ab860f13104"
Vary: Accept-Encoding
X-Cache: Error from cloudfront
Via: 1.1 27a205ba0937fb032aa2efb66ec66a80.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: DUS51-P1
X-Amz-Cf-Id: KatXcseIRLqAiQYhR3lWkoEOH5i8K62Pk8L2SNKaI4OeROiy-K0iZw==
Age: 1982, body length 5864
2022.07.01 18:05:51 5: WeatherPro: Read callback: body
<!doctype html>
<html>
  <head>
    <title>WeatherPro - Step outside with WeatherPro!</title><meta data-n-head="1" charset="utf-8"><meta data-n-head="1" name="viewport" content="width=device-width,initial-scale=1"><meta data-n-head="1" data-hid="description" name="description" content="At WeatherPro, we believe that good things happen when people step outside and great things happen to those who are prepared. We strive to empower life's outdoor moments."><meta data-n-head="1" name="apple-itunes-app" content="app-id=294631159"><meta data-n-head="1" name="apple-mobile-web-app-capable" content="yes"><meta data-n-head="1" name="apple-mobile-web-app-status-bar-style" content="black"><meta data-n-head="1" name="og:image" property="og:image" content="/apple-touch-icon.png"><meta data-n-head="1" data-hid="charset" charset="utf-8"><meta data-n-head="1" data-hid="mobile-web-app-capable" name="mobile-web-app-capable" content="yes"><meta data-n-head="1" data-hid="apple-mobile-web-app-title" name="apple-mobile-web-app-title" content="WeatherPro"><meta data-n-head="1" data-hid="author" name="author" content="WeatherPro"><meta data-n-head="1" data-hid="og:type" name="og:type" property="og:type" content="website"><meta data-n-head="1" data-hid="og:title" name="og:title" property="og:title" content="WeatherPro"><meta data-n-head="1" data-hid="og:site_name" name="og:site_name" property="og:site_name" content="WeatherPro"><meta data-n-head="1" data-hid="og:description" name="og:description" property="og:description" content="WeatherPro"><link data-n-head="1" rel="icon" type="image/x-icon" href="/favicon.ico"><link data-n-head="1" rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/brands.css" as="style" onload='this.onload=null,this.rel="stylesheet"'><link data-n-head="1" rel="preload" href="/assets/fonts/MaisonNeue-Bold.woff2" as="font" crossorigin="anonymous"><link data-n-head="1" rel="apple-touch-icon" sizes="128x128" href="/apple-touch-icon.png"><link data-n-head="1" rel="apple-touch-startup-image" href="/apple-touch-startup-image.jpg"><link data-n-head="1" rel="dns-prefetch" href="https://events.mapbox.com"><link data-n-head="1" rel="dns-prefetch" href="https://api.mapbox.com"><link data-n-head="1" rel="dns-prefetch" href="https://www.google-analytics.com"><link data-n-head="1" rel="dns-prefetch" href="https://stats.g.doubleclick.net"><link data-n-head="1" data-hid="shortcut-icon" rel="shortcut icon" href="/_nuxt/icons/icon_64x64.99f126.png"><link data-n-head="1" data-hid="apple-touch-icon" rel="apple-touch-icon" href="/_nuxt/icons/icon_512x512.99f126.png" sizes="512x512"><link data-n-head="1" rel="manifest" href="/_nuxt/manifest.4484d417.json" data-hid="manifest"><script data-n-head="1" data-hid="fuseplatform" src="https://cdn.fuseplatform.net/publift/tags/2/2603/fuse.js" async></script><script data-n-head="1" data-hid="taboola" type="text/javascript">window._taboola=window._taboola||[],function(e,o,t){document.getElementById(t)||(e.async=1,e.src="//cdn.taboola.com/libtrc/weatherzone-weatherprocomde/loader.js",e.id=t,o.parentNode.insertBefore(e,o))}(document.createElement("script"),document.getElementsByTagName("script")[0],"tb_loader_script"),window.performance&&"function"==typeof window.performance.mark&&window.performance.mark("tbl_ic")</script><script data-n-head="1" src="//www.googletagmanager.com/gtm.js?id=GTM-5CXQXJ7&l=dataLayer" async></script><noscript data-n-head="1">We're sorry, WeatherPro does not work without JavaScript.</noscript><base href="/"><link rel="preload" href="/_nuxt/f8a38ad.js" as="script"><link rel="preload" href="/_nuxt/9810c98.js" as="script"><link rel="preload" href="/_nuxt/cbe4d6c.js" as="script"><link rel="preload" href="/_nuxt/00d5a5e.js" as="script">
  </head>
  <body>
    <noscript data-n-head="1" data-hid="gtm-noscript" data-pbody="true"><iframe src="//www.googletagmanager.com/ns.html?id=GTM-5CXQXJ7&l=dataLayer" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><div id="__nuxt"><style>#nuxt-loading{background:#fff;visibility:hidden;opacity:0;position:absolute;left:0;right:0;top:0;bottom:0;display:flex;justify-content:center;align-items:center;flex-direction:column;animation:nuxtLoadingIn 10s ease;-webkit-animation:nuxtLoadingIn 10s ease;animation-fill-mode:forwards;overflow:hidden}@keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}@-webkit-keyframes nuxtLoadingIn{0%{visibility:hidden;opacity:0}20%{visibility:visible;opacity:0}100%{visibility:visible;opacity:1}}#nuxt-loading>div,#nuxt-loading>div:after{border-radius:50%;width:5rem;height:5rem}#nuxt-loading>div{font-size:10px;position:relative;text-indent:-9999em;border:.5rem solid #f5f5f5;border-left:.5rem solid #ed186f;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);-webkit-animation:nuxtLoading 1.1s infinite linear;animation:nuxtLoading 1.1s infinite linear}#nuxt-loading.error>div{border-left:.5rem solid #ff4500;animation-duration:5s}@-webkit-keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes nuxtLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}</style><script>window.addEventListener("error",function(){var e=document.getElementById("nuxt-loading");e&&(e.className+=" error")})</script><div id="nuxt-loading" aria-live="polite" role="status"><div>Loading...</div></div></div><script>window.__NUXT__={config:{_app:{basePath:"/",assetsPath:"/_nuxt/",cdnURL:null}}}</script>
  <script src="/_nuxt/f8a38ad.js"></script><script src="/_nuxt/9810c98.js"></script><script src="/_nuxt/cbe4d6c.js"></script><script src="/_nuxt/00d5a5e.js"></script></body>
</html>

2022.07.01 18:05:51 4: WeatherPro: BodyDecode is not decoding the response body (charset utf-8, bodyDecode defaults to none)
2022.07.01 18:05:51 5: WeatherPro: GetCookies is looking for Cookies
2022.07.01 18:05:51 5: WeatherPro: ExtractSid called, context get, num 1
2022.07.01 18:05:51 4: WeatherPro: checking for redirects, code=200, ignore=0
2022.07.01 18:05:51 4: WeatherPro: no redirects to handle
2022.07.01 18:05:51 5: WeatherPro: Read callback sets LAST_REQUEST to get1
2022.07.01 18:05:51 5: WeatherPro: CheckAuth decided no authentication required
2022.07.01 18:05:51 5: WeatherPro: ExtractReading for context get, num 1 - no individual parse definition
2022.07.01 18:05:51 5: WeatherPro: Read starts parsing response to get1 with defined readings: 01,1
2022.07.01 18:05:51 5: WeatherPro: ExtractReading for context reading, num 01 - no individual parse definition
2022.07.01 18:05:51 5: WeatherPro: ExtractReading reading1 with regex /(?^:<div class="celsius">\s*([\d:]+)\s*<)/...
2022.07.01 18:05:51 5: WeatherPro: ExtractReading reading1 did not match
2022.07.01 18:05:51 4: WeatherPro: Read response to get1 didn't match any Reading
2022.07.01 18:05:51 5: WeatherPro: HandleSendQueue called from ReadCallback, qlen = 0
2022.07.01 18:05:51 5: WeatherPro: HandleSendQueue found no usable entry in queue

StefanStrobel

Hallo Dirk,

hast Du mal überprüft, ob die Daten wirklich gelesen werden?
In den Daten aus dem Log sehe ich kein "Celsius"
Vielleicht ist schon der Request der falsche?

Gruß
    Stefan

yersinia

FYI: Ruf die Seite mal ohne aktiviertem JavaScript auf - dann siehst du genau das, was du im log siehst:
ZitatWe're Sorry, WeatherPro does not work without JavaScript
Und dies ist auch das, was HTTPMOD als Quelltext empfängt; da kannst du so nicht viel extrahieren. HTTPMOD müsste JavaScript entsprechend zulassen/nachladen...ob es dies kann, entzieht sich meiner Kenntnis.
viele Grüße, yersinia
----
FHEM 6.3 (SVN) on RPi 4B with RasPi OS Bullseye (perl 5.32.1) | FTUI
nanoCUL->2x868(1x ser2net)@tsculfw, 1x433@Sduino | MQTT2 | Tasmota | ESPEasy
VCCU->14xSEC-SCo, 7xCC-RT-DN, 5xLC-Bl1PBU-FM, 3xTC-IT-WM-W-EU, 1xPB-2-WM55, 1xLC-Sw1PBU-FM, 1xES-PMSw1-Pl

StefanStrobel

Das Vorgehen ist eigentlich bei allen Webseiten gleich. Mit einem Proxy wie der Burp Suite muss man den Request identifizieren, der die gesuchten Daten nachlädt. Genau den (mit allen nötigen Headern und Post-Daten) kann man dann mit HTTPMOD verwenden.
Eventuell werden dann noch Session-Keys oder Tokens benötigt, die man auch mit HTTPMOD Schritt für Schritt erzeugen / abfragen kann.
Beispiele für das Vorgehen finden sich hier im Forum zahlreich.

Gruß
    Stefan

Dirk070

Hallo zusammen,

erstmal vielen Dank für Eure Hilfe!!!

Wie gesagt, ich bin an der Stelle leider nicht ausreichend tief im Thema.
Auf Basis des Hinweises suche ich im Forum mal nach dem Stichwort "Burp Suite".

Falls noch jemand einen direkten Link zu einer Beschreibung des Vorgehens hat, dann sehr gerne.

Schöne Grüße
Dirk

Dirk070

Achtung, jetzt spricht der Blinde von der Farbe  ;)

Ohne wirkliche Kenntnisse habe ich die Burp Suite installiert und unter Target den Browser gestartet.

Request
GET /search?fields=airTemperatureInCelsius&locatedAt=6.802541,50.997989&validPeriod=PT0S HTTP/1.1
Host: point-forecast-weatherpro.meteogroup.com
Sec-Ch-Ua: "Chromium";v="103", ".Not/A)Brand";v="99"
Accept: application/json, text/plain, */*
Authorization: Bearer eyJraWQiOiJhdXRoLXNlcnZlci04NmUxMTc2MC1mMDRjLTQ3NzQtOTI4MC1jYmFkYmM2NGY0NzIiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjb25zdW1lci13ZWF0aGVycHJvLXdlYiIsImFjY291bnRfdHlwZSI6InJlZ3VsYXJDdXN0b21lciIsInNjb3BlIjpbInBvaW50LW9ic2VydmF0aW9uIiwic3VucmlzZS1zdW5zZXQiLCJwb2ludC1mb3JlY2FzdCJdLCJkb21haW4iOiJ3ZWF0aGVycHJvIiwib3JnYW5pc2F0aW9uX25hbWUiOiJXZWF0aGVyUHJvIiwiZXhwIjoxNjU3Mjc2Nzc4LCJqdGkiOiJjODY4ZjMzZi1lZTNmLTRmYmQtYWUxNi1hZTRiMjJjYzUxZGYiLCJjbGllbnRfaWQiOiJjb25zdW1lci13ZWF0aGVycHJvLXdlYiJ9.BUBO09rLJOgOl4RAoo4saV2sM1zZ7z3ESYrMIWY8_8VBwaRetYh7Hh0MyoQx6rDsvp8nmTwC3tjNxFvdkCGfzA
Sec-Ch-Ua-Mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.114 Safari/537.36
Sec-Ch-Ua-Platform: "Windows"
Origin: https://www.weatherpro.com
Sec-Fetch-Site: cross-site
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://www.weatherpro.com/
Accept-Encoding: gzip, deflate
Accept-Language: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
Connection: close


Zu dem Host habe ich mir die URL's kopiert
https://point-forecast-weatherpro.meteogroup.com/
https://point-forecast-weatherpro.meteogroup.com/search
https://point-forecast-weatherpro.meteogroup.com/search?fields=airTemperatureInCelsius&locatedAt=6.802541,50.997989&validPeriod=PT0S
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-08T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-08T10:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-08T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-08T22:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-09T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-10T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-11T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-12T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-13T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit&locatedAt=6.802541,50.997989&validPeriod=PT12H,PT6H&validFrom=2022-07-14T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-07T22:00:00.000Z&validUntil=2022-07-09T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-08T04:00:00.000Z&validUntil=2022-07-08T10:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-08T04:00:00.000Z&validUntil=2022-07-08T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-08T10:00:00.000Z&validUntil=2022-07-08T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-08T16:00:00.000Z&validUntil=2022-07-08T22:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-08T22:00:00.000Z&validUntil=2022-07-09T04:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-09T04:00:00.000Z&validUntil=2022-07-09T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-10T04:00:00.000Z&validUntil=2022-07-10T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-11T04:00:00.000Z&validUntil=2022-07-11T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-12T04:00:00.000Z&validUntil=2022-07-12T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-13T04:00:00.000Z&validUntil=2022-07-13T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-14T04:00:00.000Z&validUntil=2022-07-14T16:00:00.000Z
https://point-forecast-weatherpro.meteogroup.com/sunrise-sunset
https://point-forecast-weatherpro.meteogroup.com/sunrise-sunset?locatedAt=6.802541,50.997989&validFrom=2022-07-08&validUntil=2022-07-08
https://point-forecast-weatherpro.meteogroup.com/sunrise-sunset?locatedAt=6.802541,50.997989&validFrom=2022-07-09&validUntil=2022-07-09
https://point-forecast-weatherpro.meteogroup.com/sunrise-sunset?locatedAt=6.802541,50.997989&validFrom=2022-07-10&validUntil=2022-07-10
https://point-forecast-weatherpro.meteogroup.com/sunrise-sunset?locatedAt=6.802541,50.997989&validFrom=2022-07-11&validUntil=2022-07-11
https://point-forecast-weatherpro.meteogroup.com/sunrise-sunset?locatedAt=6.802541,50.997989&validFrom=2022-07-12&validUntil=2022-07-12
https://point-forecast-weatherpro.meteogroup.com/sunrise-sunset?locatedAt=6.802541,50.997989&validFrom=2022-07-13&validUntil=2022-07-13
https://point-forecast-weatherpro.meteogroup.com/sunrise-sunset?locatedAt=6.802541,50.997989&validFrom=2022-07-14&validUntil=2022-07-14


Im Response zur Method GET (MIME type JSON) findet sich
{"forecasts":[{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T12:00:00+02:00","validUntil":"2022-07-08T12:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":19.2},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T13:00:00+02:00","validUntil":"2022-07-08T13:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":20.2},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T14:00:00+02:00","validUntil":"2022-07-08T14:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":20.9},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T15:00:00+02:00","validUntil":"2022-07-08T15:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":21.3},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T16:00:00+02:00","validUntil":"2022-07-08T16:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":21.6},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T17:00:00+02:00","validUntil":"2022-07-08T17:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":21.8},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T18:00:00+02:00","validUntil":"2022-07-08T18:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":21.7},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T19:00:00+02:00","validUntil":"2022-07-08T19:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":21.4},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T20:00:00+02:00","validUntil":"2022-07-08T20:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":21.0},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T21:00:00+02:00","validUntil":"2022-07-08T21:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":20.1},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T22:00:00+02:00","validUntil":"2022-07-08T22:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":18.9},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-08T23:00:00+02:00","validUntil":"2022-07-08T23:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":17.8},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T00:00:00+02:00","validUntil":"2022-07-09T00:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":17.0},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T01:00:00+02:00","validUntil":"2022-07-09T01:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":16.2},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T02:00:00+02:00","validUntil":"2022-07-09T02:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":15.6},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T03:00:00+02:00","validUntil":"2022-07-09T03:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":15.0},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T04:00:00+02:00","validUntil":"2022-07-09T04:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":14.6},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T05:00:00+02:00","validUntil":"2022-07-09T05:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":14.2},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T06:00:00+02:00","validUntil":"2022-07-09T06:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":14.1},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T07:00:00+02:00","validUntil":"2022-07-09T07:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":14.8},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T08:00:00+02:00","validUntil":"2022-07-09T08:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":16.3},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T09:00:00+02:00","validUntil":"2022-07-09T09:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":18.0},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T10:00:00+02:00","validUntil":"2022-07-09T10:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":19.7},
{"locatedAt":[6.802541,50.99799],"validFrom":"2022-07-09T11:00:00+02:00","validUntil":"2022-07-09T11:00:00+02:00","validPeriod":"PT0S","airTemperatureInCelsius":21.0}]}


Kompletter Response zu den GET Methoden:
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Connection: close
Date: Fri, 08 Jul 2022 09:51:06 GMT
Cache-Control: max-age=3600
Access-Control-Allow-Headers: x-requested-with, Content-Type, authorization
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: default-src 'self' 'unsafe-inline' https://cdn.meteogroup.com https://www.google-analytics.com
Access-Control-Allow-Origin: *
Last-Modified: Fri, 08 Jul 2022 08:48:50 GMT
X-Content-Type-Options: nosniff
X-Application-Context: application:weather-pro
Access-Control-Allow-Methods: GET, OPTIONS
Access-Control-Max-Age: 3600
X-Cache: Hit from cloudfront
Via: 1.1 9135737f9852a1a33e45e8c90861e8be.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: DUS51-P1
X-Amz-Cf-Id: gEW5eaQrb_alpJ9_V4SyJu7noAfxyn9H1OFd5cNESHPzR3Xx1ZOTsg==
Age: 56
Content-Length: 4023

{
"forecasts": [
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T12:00:00+02:00",
"validUntil": "2022-07-08T12:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 19.2
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T13:00:00+02:00",
"validUntil": "2022-07-08T13:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 20.2
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T14:00:00+02:00",
"validUntil": "2022-07-08T14:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 20.9
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T15:00:00+02:00",
"validUntil": "2022-07-08T15:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 21.3
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T16:00:00+02:00",
"validUntil": "2022-07-08T16:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 21.6
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T17:00:00+02:00",
"validUntil": "2022-07-08T17:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 21.8
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T18:00:00+02:00",
"validUntil": "2022-07-08T18:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 21.7
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T19:00:00+02:00",
"validUntil": "2022-07-08T19:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 21.4
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T20:00:00+02:00",
"validUntil": "2022-07-08T20:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 21.0
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T21:00:00+02:00",
"validUntil": "2022-07-08T21:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 20.1
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T22:00:00+02:00",
"validUntil": "2022-07-08T22:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 18.9
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-08T23:00:00+02:00",
"validUntil": "2022-07-08T23:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 17.8
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T00:00:00+02:00",
"validUntil": "2022-07-09T00:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 17.0
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T01:00:00+02:00",
"validUntil": "2022-07-09T01:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 16.2
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T02:00:00+02:00",
"validUntil": "2022-07-09T02:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 15.6
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T03:00:00+02:00",
"validUntil": "2022-07-09T03:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 15.0
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T04:00:00+02:00",
"validUntil": "2022-07-09T04:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 14.6
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T05:00:00+02:00",
"validUntil": "2022-07-09T05:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 14.2
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T06:00:00+02:00",
"validUntil": "2022-07-09T06:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 14.1
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T07:00:00+02:00",
"validUntil": "2022-07-09T07:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 14.8
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T08:00:00+02:00",
"validUntil": "2022-07-09T08:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 16.3
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T09:00:00+02:00",
"validUntil": "2022-07-09T09:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 18.0
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T10:00:00+02:00",
"validUntil": "2022-07-09T10:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 19.7
},
{
"locatedAt": [
6.802541,
50.99799
],
"validFrom": "2022-07-09T11:00:00+02:00",
"validUntil": "2022-07-09T11:00:00+02:00",
"validPeriod": "PT0S",
"airTemperatureInCelsius": 21.0
}
]
}


Im Bereich Sitemap findet sich unter der URL ein Bereich search. Dieser beinhaltet Aufrufe wie diesen hier
https://point-forecast-weatherpro.meteogroup.com/search?fields=maxAirTemperatureInCelsius,maxAirTemperatureInFahrenheit,minAirTemperatureInCelsius,minAirTemperatureInFahrenheit,precipitationProbabilityMoreOrEqualThan0_1MillimeterInPercent,precipitationProbabilityInPercent,precipitationAmountInMillimeter,precipitationAmountInInch,sunshineDurationInMinutes,relativeSunshineDurationInPercent,maxUVIndexWithClouds,averageWindSpeedInKilometerPerHour,averageWindSpeedInKnots,averageWindSpeedInMeterPerSecond,averageWindSpeedInMilesPerHour,averageWindSpeedInBeaufort,maxWindGustInKilometerPerHour,maxWindGustInKnots,maxWindGustInMeterPerSecond,maxWindGustInMilesPerHour,maxWindGustInMilesPerHour,airPressureAtSeaLevelInHectoPascal,averageAirPressureAtSeaLevelInHectoPascal,relativeHumidityInPercent,averageRelativeHumidityInPercent,weatherCode,effectiveCloudCoverInOcta,dominantWindDirectionInDegree&locatedAt=6.802541,50.997989&validPeriod=PT0S,PT1H,PT3H,PT6H,PT12H,PT24H&validFrom=2022-07-08T04:00:00.000Z&validUntil=2022-07-08T16:00:00.000Z

Auf der Website werden diese Werte geliefert:
Heute: 22
Sa: 24
So: 20
Mo: 23
Di: 28
Mi: 30
Do: 27

Heute Höchsttemperatur: 22 (das wäre der Wert, der für mich interessant ist)
Heute Tiefsttemperatur: 13

Jetzt 19 und 22 (tief, hoch)
Abend 17 und 22 (tief, hoch)

Jede Menge Infos und ich weiss nicht, ob diese überhaupt relevant sind.
Falls jemand die Zeit hat, einen Blick darauf zu werfen und mir einen Tipp geben kann, wie ich hier weitermachen kann, dann wäre ich sehr dankbar.

UPDATE:
Noch eine Ergänzung: ich habe mal die URL (aus Burp Seuite, Target, Host und Method GET);
https://point-forecast-weatherpro.meteogroup.com/search?fields=airTemperatureInCelsius&locatedAt=6.802541,50.997989&validPeriod=PT0S

im Firefox abgesetzt. Rückmeldung:
{"status":401,"message":"Unauthorized"}

Viele Grüße
Dirk

loescher

Hi!

Ich habe auch keine wirkliche Ahnung, wie man solche Webseiten per HTTPMOD abfragen kann, aber ich habe ein ähnliches Problem mit einem komplizierten Login-Verfahren gelöst.
Die Lösung ist ein kleines Perl-Script mit dem Modul Firefox::Marionette.
Das startet Firefox (auch gerne unsichtbar im Hintergrund) und steuert ihn fern.
In deinem Fall reicht dieser Code:

#!/usr/bin/perl -w

use FileHandle;
use Firefox::Marionette();
use v5.10;

# URL:
$url = 'https://www.weatherpro.com/en/deutschland/nordrhein-westfalen/k%C3%B6ln/forecast';
# Wartezeit in Sekunden, bis HTML vollständig inkl. JavaScript Ausgaben
$waittime    = 5;
# Soll FF sichtbar sein?
$visible     = 0;
# Zum Zuschauen/Fehlersuchen:
# $visible = 1;

my $firefox = Firefox::Marionette->new(
       visible => $visible,
      )->go($url);

sleep $waittime;

@tmp = $firefox->html();
# In @tmp is nun der komplette HTML Code der fertigen Seite.
# Ausgeben:
say @tmp;


Du musst nur noch aus dem HTML die relevanten Daten für dich extrahieren und ausgeben.
Der Weg vom Script ins FHEM ist dann ja auch keine große Sache mehr.

Vielleicht hilft es!

LG,
Stephan.