Overview Block Weather station

Block function block for the control element Block Weather station. The control element must be linked to this function block.

The function block receives the readings of a connected weather station from another function block, for example from the "Weather station" block (serial weather station) or from an MQTT block. From these readings it generates the alarms for wind, frost, heat and rain as well as the switching outputs for the shading east, south and west and for twilight.

The inputs are in the same order as the outputs of the "Weather station" block. If both are placed next to each other, the first ten inputs and outputs line up directly and can be connected without crossings.

All limits and times are not set here but directly on the control element and are stored in the controller. This allows the user to adjust the values at any time without changing the project.

Every monitoring function has the same structure: a limit, a hysteresis, a switch-on delay and a reset time. The reset time defines how long the value must stay below the limit continuously before the alarm is cleared. If the limit is exceeded again during this period, the time starts over. This prevents blinds from moving up and down constantly in gusty wind.

Inputs

TP
Temperature °C
Outside temperature in degrees Celsius. Basis for the frost and the heat alarm.
HS
Brightness south
Brightness of the respective facade in lux. If the value exceeds the configured limit for longer than the switch-on delay, the corresponding shading output is set.
HW
Brightness west
HO
Brightness east
DA
Twilight
Twilight value. Depending on the setting in the control element the input is evaluated as brightness in lux or as a switching bit.
HE
Brightness
Optional input. Overall brightness in lux. If it is connected, this value determines the weather symbol, otherwise the largest of the three facade values is used.
WM
Wind m/s
Optional input. Alternative to the wind km/h input, the value is converted to km/h automatically. If both inputs are connected, the larger of the two values always applies. This keeps the safety working if one channel fails and stays at 0.
WI
Wind km/h
Wind speed in km/h. Basis for the wind alarm and for the recording of wind gusts.
RE
Rain
Rain signal. If 1 is present at the input, rain is detected.
FE
Fault
Optional input. Fault signal of the weather station, for example the "Communication error" output of the Weather station block. If 1 is present, a sensor fault is reported immediately.
LF
Humidity %
Optional inputs. They are only evaluated, displayed and recorded if they are connected. If the rain amount is connected, the rain alarm can optionally be generated from the rain amount instead of the rain bit.
LD
Air pressure hPa
WR
Wind direction °
RM
Rain amount mm/h
LZ
Heartbeat
Optional input. A continuously changing signal proving that the weather station responds. If it is connected, only this value is used for the sensor failure monitoring. If it is not connected, every change of temperature, wind or rain counts as a sign of life.

Outputs

AW
Wind alarm
Is set when the wind speed exceeds the configured limit for longer than the switch-on delay. The output is only cleared when the wind stays below the limit continuously for the configured reset time.
AF
Frost alarm
Is set when the temperature falls below the configured limit. On request only when precipitation is reported at the same time (protection against icing of awnings).
AH
Heat alarm
Is set when the temperature exceeds the configured limit.
AR
Rain alarm
Is set when it rains. Either based on the rain bit or on the rain amount in mm/h.
BO
Shading east
Is set when the brightness of the respective facade exceeds the limit for longer than the switch-on delay. The output is cleared when the brightness stays below the limit minus the hysteresis for the reset time.
BS
Shading south
BW
Shading west
DA
Twilight
Is set when it gets dark. Can be used for example to close the blinds in the evening.
SF
Sensor fault
Is set when the readings do not change for longer than the configured time or are permanently implausible. If the safe position is enabled, the wind and rain alarms are set in addition so that the shading stays protected if a sensor is defective.
ST
Info status
Combined message of all states as a numeric value. Used for the display in the control element.

Parameters


Start-up delay Time after the start of the controller in which no alarms are generated yet. During this time no valid readings are available; without the delay false alarms would occur. All outputs are 0 during this time.

Notification on storm alarm

For a notification on a mobile phone, simply connect the wind alarm output to the Pushover or IFTTT function block. The only requirement is that an address has been generated for the alarm output.

Statistics

The function block records the trends of temperature, wind and rain. Once per hour the average as well as the minimum and maximum of temperature and wind and the rain duration are stored. Strong wind gusts are recorded immediately as an additional event. If humidity, air pressure or rain amount are connected, these values are recorded as well. The evaluation is done in the control element.

See also general parameters of all function blocks.