Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using native KNX IP with knxconnection:knxjs is unreliable #170

Open
snowdd1 opened this issue May 23, 2020 · 0 comments
Open

Using native KNX IP with knxconnection:knxjs is unreliable #170

snowdd1 opened this issue May 23, 2020 · 0 comments

Comments

@snowdd1
Copy link
Owner

snowdd1 commented May 23, 2020

Sadly I found out that the native KNX IP broadcasting implementation KNXJS requires to know the DPT of each group address upfront.
The current implementation of homebridge-knx doesn't do that, there is a lot of "runtime guessing" involved, which also currently prohibits the use of several DPTs that are available for a long time.
E.G. all received two-byte telegrams are interpreted as DPT9 floats, but could also be 16bit signed DPT8 or unsigned DPT7 integers, which of course reqire different parsing.

It however works sufficiently well if you only have DPT1 (1-bit) devices, such as light switches.

In all other cases it won't work right now.

Sorry for that, I will get back to that later again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant