Two Homematic Door sensors have same state

Hello,

I have configured my Homematic CCU as follows:

Bridge homematic:bridge:ccu "CCU Bridge" [gatewayAddress="192.168.178.66", callbackHost="192.168.178.53"]
{
   Thing HM-Sec-SCo  OEQ1557949 "Kontakt Haustuer"
   Thing HM-Sec-SCo  OEQ1558379 "Kontakt Dachfenster"
   Thing HM-Sec-SCo  OEQ1558420 "Kontakt Kellerfenster"
}

The items are configured as below:

Contact Haustuer "Haustuer [MAP(HM-Sec-SCo.map):%s]" {channel="homematic:HM-Sec-SCo:ccu:OEQ1557949:1#STATE"}
Contact FensterKeller "FensterKeller [MAP(HM-Sec-SCo.map):%s]" {channel="homematic:HM-Sec-SCo:ccu:OEQ1558420:1#STATE"}
Contact FensterDach "FensterDach [MAP(HM-Sec-SCo.map):%s]" {channel="homematic:HM-Sec-SCo:ccu:OEQ1558379:1#STATE"}

My sitemap looks as follows:

sitemap demo label="My Demo" {
  Frame label="Date" {
    Text item=Date
  }
  Frame label="Kontakte" {
    Text item=Haustuer
    Text item=FensterDach
    Text item=FensterKeller
  }
}

Unfortunately, when I open one of the two windows (OEQ1558420, OEQ1558379) when both are closed, the UI shows both windows as open. The same is true for closing one window and keeping the other open. This means, both optical sensors show the same state in the openhab UI.
In the CCU Web UI this is not the case, i.e. both windows and the door are reported correctly and separately from each other.

Do you have any ideas?

Openhab 2.3.0 as Docker image on a Raspberrypi 3

I have no idea and i never saw that.

You could try to rename the items to “Dach” and “Keller” and see what happens then. But this is not a usual behaviour.

Did you restart openHAB lately?