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

[Enhancement] Use a generic telegram decoder to be able to parse all telegrams #47

Open
snowdd1 opened this issue Feb 25, 2017 · 2 comments

Comments

@snowdd1
Copy link
Contributor

snowdd1 commented Feb 25, 2017

Hello André,
I have been busy writing a parsing algorithm that can take any telegram (as far as known to ETS) and convert it into a interpretable JavaScript object. You might have a look at it, maybe it's worth integrating.

https://github.com/snowdd1/knx-dpt-parser

I have tried to build a simple bus monitor on top of node-eibd and knx-dpt-parser, and had to replicate some of your code to change it, because I needed the raw payload of the telegrams, which was not emitted. Of course one must know the DPTs of the destination group addresses, otherwise the differentiation between a percentage DPT5.001 and a HVAC mode 20.102 is not possible. To facilitate that, I have written a small parser that bring an ETS GroupAddress XML export (ETS5+) into a JavaScript Object Notation JSON file.

Regards
Raoul

Repository owner deleted a comment from Demonderik Nov 10, 2017
@andreek
Copy link
Owner

andreek commented Nov 10, 2017

I like to keep node-eibd as simple as it is today.

We can talk about api changes to the parser to make it more available to use another decoder as opt-in.

@farmio
Copy link

farmio commented Aug 13, 2018

There is a nice encoder/decoder library: https://github.com/Rafelder/knx-datapoints
It would be a good fit.

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

No branches or pull requests

3 participants