Hello everyone,
after I switched from 1x binding to 2x Version of the KNX-Binding (and a whole lot of time passed as I did not have time to debug it ) I am currently having the following problem:
I have binary dry contacts that publish on the knx bus with 1.001 DPT
I set them up in my Thing file as follows:
Type contact : Presence_1_0_32 âPrĂ€senz E6 BĂŒroâ [ ga=â1.001:9/0/5â ]
I omitted the < as the value has no Readflag on the bus (so is push-by-sensor only from my understanding)
Items are setup as follow:
Contact Presence_E6 âPresence [MAP(presence.map):%d]â (GF_Office,Presence_GF) { channel=âknx:device:bridge:dev_1_0_32:Presence_1_0_32â }
The presence.map is as follows (including some debugging stuff ):
OPEN=anwesend
CLOSED=abwesend
NULL=undefiniert(NULL)
OFF=abwesend
ON=anwesend
0=abwesend
1=anwesend
-=undefiniert
The dry contact is always shown as undefined in openHAB.
If I setup the item as a switch instead of a contact (the item not the Thing) it works fine and the mapping also works.
Shouldnât it also work correctly with item-type contact?
The bus delivers 1 or 0 values which i presume openhab/the binding should translate to OPEN/CLOSED for the Thing type âcontactâ
Thats why I am wondering about it acually being mapped to the ONOFF values as it seems (maybe due to DPT being 1.001?!
Can anybody help me clarify the problem?
Best regards