Integrate 4-byte floating point number into Home Assistant

Hi forum,

i’m looking for a solution to integrate a temperature from my heating station as an existing knx point into my home assistant environment. In the ets5 its stored as an DPT14 - 4-byte floating point number. In the KNX-ETS5 software the data looks like this:

|RawData|29 00 BC E0 11 FA 0F 00 05 00 80 41 8A 66 66|
|RawDataPointValue|41 8A 66 66|
|DecodedDataPointValue|17.3|

right now my yaml.file looks very simple, but i think i need a special template or some code to get the right DataPointValue into Home Assistant.

sensor:

  • platform: knx
    name: Outside temperature
    state_address: ‘1/7/0’
    sync_state: true
    type: ‘temperature’

the log file shows following error:

  • Error while processing telegram <CouldNotParseTelegram description=“payload invalid” device_name=“outside temperature” group_address=“1/7/0” payload=""/>

Please give me some advice… Thanks!!

You’ll have to convert to DPT9 somehow. You can do it with a native knx device or use HA (sensor and expose)

i have no knx logic module in place.
how to set up in HA with sensor and expose?

Create a sensor for DPT 14


And expose it’s entity_id with type “temperature” to a new group address.

Use this group address in your climate device. I think this should work, but have never tried it.

i found the solution. was quite easy :wink:
while creating the sensor in HA, i should have selected “common_temperature” (DPT14) as type and not only “temperature”

Oh, sure. Sorry I have misunderstood. I thought you were trying to use a ‘climate’ device with DPT 14.