Knx dpt 7.012

Hi.

I am starting up openHAB 2.5.10 to replace openHAB 1, and I got this problem with this DPT.
openHAB see this as a float, instead of 93 mA I got 0.93 mA.
DPT 7.xxx is a two byte unsigned value, in other word, 0…65535.
ETS says 93 mA.

Here is the output from the log:
2020-11-03 11:06:07.953 [vent.ItemStateChangedEvent] - energy_VK_Pumpe_A changed from 91.0 to 93.0
knx.things:
Type number : energy_VK_Pumpe_A “Energy” [ ga=“7.012:0/0/14” ]
knx.items:
Number energy_VK_Pumpe_A “Pumpe Strøm [%d mA]” { channel=“knx:device:bridge:termostat:energy_VK_Pumpe_A” }
I have tryed with %s and %.0f and it is the same.
sitemap:
Text item=energy_VK_Pumpe_A icon=energy

I am runding this on a Raspberry Pi 4, 4GB.

Is there an error in openHAB 2?
openHAB 1 has been rung for 4 years without any problem on Raspberry Pi 2 and PiDrive, and here it is correct.

Rune

Forget this.

In desperation I rebooted and everything is OK :slight_smile:

It says right there that your Item was updated to 93.
So the binding did what it is supposed to.

May we see what you are looking at?

Hi rossko57.

Sorry by a late answer. It looked like that the SD card had been corrupted,

Started all over and everything seems OK now.

ROS

1 Like