Problem with Homematic HM-SEC-WDS-2

Hi!

I’m running openHAB2 with homematic.
I’ve a water sensor HM-SEC-WDS-2.

My problem is that there are only two states for it in openHAB.
CLOSED=dry
OPEN=wet

I’m missing the third state which should be “damp”.

I found a small wiki with a short description for the sensor:
https://code.google.com/archive/p/openhab-homematic/wikis/SupportedDevices.wiki

Is it possible to get the states 0, 1 and 2 instead of CLOSED and OPEN?

Thanks for your help!

Hi,

If you use the item type “String” you get the values “DRY”, “WET” and “WATER”.

My item type definition is as follows

  String kitchenWaterSensor "Wasserstand [%s]" (watersensors, locationKitchen) { channel="homematic:HM-Sec-WDS-2:CHANNEL#STATE" }

regards, andré

Have you repalced CHANNEL with a channel number or is that line copy-pasted directly from your config?
I am asking because I have problems receiving the STATE of both of my HM-SEC-WDS-2. Regardless of the item type I choose, the state change ist not being published from my CCU2 to Openhab2.

Hi,

The line is directly copied from my config. What I deleted is the name of the device. I typically copy the channel from the Paper UI

"channel=“homematic:HM-Sec-WDS-2:xyz:zyq:1#STATE”