OpenWeather - Internet Weather| 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 |
| 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 | |
| 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. | |
List of IDs.
For a current description, see Openweathermap Weather condition codes.





