Weather (Internet)| With
this function block, a simple weather forecast
can be integrated. This block is connected to the control element
Internet Weather. Important
|
Inputs |
||
Outputs |
||
| KF |
Query
error |
Communication error when the data
could not be retrieved. |
| TP |
Temperature |
Temperature in °C |
| LF |
Humidity |
Relative humidity in percent |
| LD |
Air pressure hPa |
Air pressure in hPa |
| WK |
Wind km/h |
Wind in km/h |
| BW |
Cloud cover |
Cloud cover in % |
| Rain | Rain |
1 when rain |
| ID | ID |
Weather condition as ID, see Openweathermap
Weather condition codes. These IDs are also output with the
data source Open-Meteo, the weather condition is converted to them. |
| GR | ID group | ID as group, see Openweathermap
Weather condition codes When an ID of 500 to 531 is output, category rain, 5 is output at this output. This provides the distinction between rain, storm etc. |
Parameters |
||
| Longitude |
Longitude in decimal degrees |
|
| Latitude |
Latitude in decimal degrees | |
| Data source | Service that provides the weather data: OpenWeather or Open-Meteo. The default is OpenWeather, i.e. the previous behaviour. The controls display both sources in the same way; with Open-Meteo the weather description comes in the language of the APP. | |
| Update |
Update interval.
OpenWeatherMap provides the weather data in the free account only
every 3 hours; a smaller interval therefore does not bring higher accuracy in the
free variant. |
|
| API key | API key that is generated during registration. Required for OpenWeather, for Open-Meteo only for the paid, commercial access. | |
| Language | Language of the weather description: German, English, Slovenian, French, Italian, Spanish, Hungarian or Turkish. The default is German, i.e. the previous behaviour. Only with the data source OpenWeather. | |
List of IDs.
For a current description, see Openweathermap Weather condition codes.





