When changing the position of an actuator (window, rollershutter, etc.) that has an item linked limitMinimum or limitMaximum channel, the binding shortly also updates these channels to the value of the position channel. However, the values for the limitMinimum and limitMaximum channels are not communicated by the bridge in one message with the position, but have a different API call.
Expected Behavior
Only GW_LIMITATION_STATUS should update the limitMinimum and limitMaximum channels.
Current Behavior
The binding iterates over all the linked channels when a GW_NODE_STATE_POSITION_CHANGED is received and updates all channels of a Thing, although according to the API of the Velux KLF 200, GW_NODE_STATE_POSITION(_CHANGED) does not give information about limitMinimum or limitMaximum. Only GW_LIMITATION_STATUS does.
Possible Solution
The function syncChannelsWithProducts() in VeluxBridgeHandler.java should receive an additional "if" filter, to filter out the limitMinimum and limitMaximum channels.
Context
limitMinimum is an indication if the rain Sensor on a window has triggered, which sets the limitMinimum to prevent rain entering the house.
Your Environment
Openhab 3.4.4 running on Debian Bullseye with OpenJDK 11.
When changing the position of an actuator (window, rollershutter, etc.) that has an item linked limitMinimum or limitMaximum channel, the binding shortly also updates these channels to the value of the position channel. However, the values for the limitMinimum and limitMaximum channels are not communicated by the bridge in one message with the position, but have a different API call.
Expected Behavior
Only GW_LIMITATION_STATUS should update the limitMinimum and limitMaximum channels.
Current Behavior
The binding iterates over all the linked channels when a GW_NODE_STATE_POSITION_CHANGED is received and updates all channels of a Thing, although according to the API of the Velux KLF 200, GW_NODE_STATE_POSITION(_CHANGED) does not give information about limitMinimum or limitMaximum. Only GW_LIMITATION_STATUS does.
Possible Solution
The function syncChannelsWithProducts() in VeluxBridgeHandler.java should receive an additional "if" filter, to filter out the limitMinimum and limitMaximum channels.
Context
limitMinimum is an indication if the rain Sensor on a window has triggered, which sets the limitMinimum to prevent rain entering the house.
Your Environment
Openhab 3.4.4 running on Debian Bullseye with OpenJDK 11.