Toggling State of a Contact Item

  • Platform information:
    • Hardware: RPi 4 4GB
    • OS: OH3 Image
    • Java Runtime Environment: which java platform is used and what version
    • openHAB version: 3.0.2
  • Issue of the topic:
    I have a clean OH3 setup and use UI only for configuration.
    I defined a Contact Thing, Channel and linked it to an Item. All is up and running.

My door contact sends its status periodically every 30s in order to have a kind of heartbeat.

It results within OH3 in a toggling state of the contact which does not reflect reality and cannot be used further.

That’s strange and I don’t have an idea how I can fix it.

  • Please post configurations (if applicable):
    • Items configuration related to the issue
UID: knx:device:ec179fb13d:DL_Tuer
label: KNX Device EG DL Tür
thingTypeUID: knx:device
configuration:
  pingInterval: 600
  readInterval: 0
  fetch: false
bridgeUID: knx:ip:ec179fb13d
location: Diele
channels:
  - id: dl_tuer
    channelTypeUID: knx:contact
    label: KNX Device DL Tür
    description: ""
    configuration:
      ga: 1.009:<5/2/85

The behavior does not differ when omitting the DPT or having 5/2/85 as GA only.

I hope someone can help me here to get the real events to apply them in rules.

Thanks a lot in advance.

What’s the Item definition? Is it linked only to this Channel? Any metadata set? Any rules?

Thanks for for the hint regarding Item. I used a wrong semantic class. Now its working fine.