Dear all,
I am experiencing a wrong conversion issue with KNX DPT 20.102 objects:
Thing:
Thing device Stetigregler_GaesteWC "Stegigregler EG Gäste WC" (knx:ip:tunnel) [ address="1.1.104" ] { Type number : Temperatur "Temperatur EG Gäste WC" [ ga="<1/2/5" ] Type number : Betriebsmodus "Betriebsmodus EG Gäste WC" [ ga="20.102:<1/4/24" ]
}
Item:
Number Betriebsmodus_EG_GaesteWC “Betriebsmodus Gäste WC [MAP(rtr.map):%s]” (EG_GaesteWC, gBetriebsmodus) {channel=“knx:device:tunnel:Stetigregler_GaesteWC:Betriebsmodus”}
Expected result after update from KNX bus should be an integer, but its sometimes a float:
/var/log/openhab/events.log:2021-01-11 08:15:15.622 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Betriebsmodus_EG_GaesteWC’ changed from 2 to 1.0
/var/log/openhab/events.log:2021-01-11 08:16:24.121 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item ‘Betriebsmodus_EG_GaesteWC’ changed from 1.0 to 2.0
Any ideas how to troubleshoot this further? The result should always be an integer value (DPT HVAC enum type).
Cheers,
Klaus