brutella / hkknx-public

hkknx is a HomeKit KNX bridge for KNX.
https://hochgatterer.me/hkknx
97 stars 6 forks source link

Support for IP Secure & Data Secure #129

Closed dkreutzer closed 1 year ago

dkreutzer commented 2 years ago

Currently, no secure devices are supported. Are there any plans for when it will be possible? In my case, it shows in HomeKit a 0.0° as temperature as it cannot be decoded properly. The raw data is shown in the group monitor.

brutella commented 2 years ago

There are currently no plans to support secured devices, but I will definitely look into this issue in the future.

nanosonde commented 2 years ago

BTW: What KNX stack do you use for this project? Is it the golang KNX stack from vapourismo? Or your own stack?

brutella commented 2 years ago

I'm using my own knx stack.

mirkolenz commented 2 years ago

Recently, xknx (the library used by Home Assistant) added support for IP Secure. If hkknx would also have support for this, I could activate it for my IP interface. Would that be possible now that there ist at least some reference implementation available?

Julian0Davinci commented 2 years ago

KNX-ULTIMATE for node-red also supports knx-secure. Hkknx is the last software in my setup which does not allow me activate knx-secure on my ip-interface.

Recently, xknx (the library used by Home Assistant) added support for IP Secure. If hkknx would also have support for this, I could activate it for my IP interface. Would that be possible now that there ist at least some reference implementation available?

brutella commented 2 years ago

Secure tunneling is now supported in the pre-release version 2.3.1.

Please test it and give feedback. Thanks!

mirkolenz commented 2 years ago

Thank you so much for working on this feature! At the moment, my IP Router with support for IP Secure is broken and my temporary unit does not have support for secure connections. I hope to have a replacement unit next week and will test v2.3.1 as soon as possible 😊

brutella commented 2 years ago

@dkreutzer @mirkolenz Did anyone already test Secure Tunneling in the latest build?

mirkolenz commented 2 years ago

Sadly not. I am still waiting for my new IP Router to arrive…

mirkolenz commented 2 years ago

Small update: I received my new router today and will install it during the weekend. If everything goes as planned I will be able to provide feedback sometime next week.

mirkolenz commented 2 years ago

I was already able to install the new router today. I updated hkknx to the newest beta, added the credentials, and it worked! I ran it for about an hour or so and so far did not experience any issues.

One remark regarding the configuration: One needs to specify the user ID along with the correct password. I was only able to figure this out due to the documentation provided by home assistant. Due to the somewhat counterintuitive numbering (tunneling connection 1 belongs to user ID 2), I think it would be helpful to provide some additional information.

Great work! 😊

brutella commented 1 year ago

A better documentation is now available in the Online Handbuch (currently German only). https://hochgatterer.me/de/hkknx/docs/config/knx-connection/#sichere-verbindung