Skip to content

Use of generic DPTs #445

@frankvandenhurk

Description

@frankvandenhurk

Hi Supergiovane,

Thank you for your work, it is a very powerful part of my home automation.

Is your feature request related to a problem? Please describe.
I have quite a few GAs that don't match the measurement unit of the supported sub DPTs. E.g. a sensor that send a 4Byte value to indicate the distance towards the water level in CM. But also kWh counters and some more other sensors. In the past this worked (but with a lot of warnings), in the new version it doesn't recognize this DPT anymore)

Describe the solution you'd like
I would like to be able to use the generic DPT-nn, without the sub (like -5), zo instead of having the wrong unit of measurement, there is no measurement (but it translates the value, that's the most important to me).

Describe alternatives you've considered
To prevent errors I now have assigned them a subDPT (e.g. "DPST-14-5") instead of the generic one (e.g. "DPT-14"). However, that means that in the output there is now the measurement unit "°" added, instead of having no measurement unit.

Additional context
I would like to be able to configure the GA as:

Image

In the export, it looks like:

"Group name" "Address" "Central" "Unfiltered" "Description" "DatapointType" "Security"
"debug06 - 4Byte FP" "0/0/206" "" "" "" "DPT-14" "Auto"

Thank you in advance for considering this feature.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions