openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.9k stars 3.59k forks source link

[knx] -control channels do not work in conjunction with timestamp-update or timestamp-change profiles #13794

Open tarag opened 1 year ago

tarag commented 1 year ago

Expected Behavior

When a -control KNX channel is linked to an Item through timestamp-update or timestamp-change profiles, the associated Item value should change when receiving a KNX telegram (different than the current item value for timestamp-change).

It does not. This works properly for non -control KNX channels.

Current Behavior

Nothing happens on the Items linked through timestamp-update or timestamp-change profiles to a -control channel when a telegram is received through the KNX bus. Tested on both number-control and switch-control channels.

Steps to Reproduce (for Bugs)

  1. Create a number-control channel on a KNX thing. I used definition 5.010:1/7/30
  2. Add a link to a new Number type item.
  3. Add a link to a new DateTime type item and select either "Timestamp on Update" or "Timestamp on Change" profile3.
  4. Send a telegram through ETS to the GA.4.
  5. Observe the Number Item state is updated but no change is made to the linked DateTime Item

Your Environment

runtimeInfo: version: 3.3.0 buildString: Release Build locale: fr-FR systemInfo: configFolder: /etc/openhab userdataFolder: /var/lib/openhab logFolder: /var/log/openhab javaVersion: 11.0.17 javaVendor: Azul Systems, Inc. javaVendorVersion: Zulu11.60+19-CA osName: Linux osVersion: 5.4.0-122-generic osArchitecture: amd64 availableProcessors: 4 freeMemory: 163446432 totalMemory: 426770432 startLevel: 100

lsiepel commented 3 months ago

As this is an older issue, i wonder if this is still a valid issue in openHAB 4.2.0. If so, maybe @holgerfriedrich can comment as he knows the KNX binding very well.