calimero-project / calimero-core

Core library for KNX network access and management
Other
128 stars 65 forks source link

dpt 229.001 isn't supported #40

Closed Darkwa closed 7 years ago

Darkwa commented 7 years ago

Hello, I'm trying to work with an energy-meter. It uses the DPT 229.001 This dpt seems to be quite new (2014). Informations about this DPT can be found in the PDF below, page 75 : pdf

Is there a way to deal with this DPT for now?

Thanks, Pierre

bmalinowsky commented 7 years ago

I would extract CountVal, use the signed 32 bit translator (DPTXlator4ByteSigned), and hardcode the scaling depending on your metering device. For the Status/Command, I created a branch feat/xlator-8bitset with a basic implementation of the bitset translator; use DptGeneralStatus.

Darkwa commented 7 years ago

Okay thanks, I'm gonna try that !

bmalinowsky commented 7 years ago

The branch now also contains a first implementation for translator 229.x. Maybe you can give it a try and provide feedback on any issues.

Darkwa commented 7 years ago

Hello ! I come back just to let you know that since it was the last day of my project, I have not been able to try this with the KNX network. After my presentation, I totally forgot this thread, sorry. Thanks again, I was suprised some months ago when I discovered that people were still working on Calimero !

calimero-project commented 7 years ago

No problem, i hope your presentation went well :)