KNX Secure temperature reading not coming through

I’m trying to integrate a KNX temperature sensor. KNX was setup using KNX Secure. I’m using an MDT SCN-IP100.03 with a tunnel connection from HA. From what I can tell, it all looks set up correctly. Latest HA 2024.10.4. Imported my ETS file, provided the project password etc.

My knx.yaml looks like this:

sensor:
  - name: "Temp hal 0 slaapkamer"
    state_address: "3/0/3"
    type: temperature
    state_class: measurement
    sync_state: every 120

I’m seeing the sensor show up under Project > Sensors in the KNX tab in HA with data type 9.001. When I try to set up a badge to integrate it, however, it doesn’t show any values. The Group monitor in ETS6 shows this when I request a sensor read from within ETS6:

The Group monitor in HA shows ‘Secure APDU’, with no payload or value. Is HA not able to read this encrypted packet or is there something else going on?

Edit: just switched Security to ‘Off’ in ETS6 and now the temperature is showing, so looks like a KNX Secure issue. Is there a workaround for this?

Hi :wave:! Did you set up the secured GA correctly and provide a .knxkeys file?
See Understanding KNX date, time, datetime platform usage - #6 by farmio

1 Like

Hi! I will check that, I remember it not working too well with a .knxkeys, file so i ended up setting the tunnel manually. But I will look into what you linked.

Was able to look into this today. I had indeed not assigned the group address to the tunnel endpoint. Once I had done that and manually entered the IP Secure references in HA again, it was able to read the secured GA.

Importing KNX keys did not seem to work well, but I understand there are/were issues with MDT IP routers or interfaces.

Thanks for the pointer!

1 Like