Problem VOC values from KNX to HA different

Hi,

i add a VOC - Sensor via KNX:

- name: "VOC HWR"
  state_address: "5/0/18"
  type: "2byte_unsigned"
  device_class: "volatile_organic_compounds_parts"
  state_class: "measurement"

It’s works.
But my KNX Sensor output via KNX Bus is:
104.96.
In HA Dashboard i get 7.456.

  1. Any idea why thats happening?
  2. How can i fix this?

I also tright to add:
unit_of_measurement: “ppb”
but it won’t work. Ive got a error:

Invalid config for 'knx' at knx_sensor.yaml, line 159: 'unit_of_measurement' is an invalid option for 'knx', check: knx->sensor->41->unit_of_measurement

Any idea why? I thought was fixed, but i have no idea, why isn’t show up in the
dashboard or how i get the unit to the dashboard.

Thx for help.

VOC is a DTP 9.008 object and thus a float 2 byte value that can be negative (All 9.xxx are float)
so type: "2byte_unsigned" should be type: "2byte_float" or type: "ppm"

That does not exist in KNX data points

1 Like