brutella/hkknx-public

Wrong types

Closed this issue · 10 comments

Hi, in my knxproj temperature sensor outputs are defined as 9.001 values but hkknx interface see them as DPST-7-1. Am I missing something or there is something not working correctly?
See attachments

immagine
immagine

If you need more information ask please
Greetings,
Stefano

Is your hkknx project file identical to the ets project?

It looks like in the uploaded project file to hkknx the datatype was 7.001

hkknx will use the data type that you've defined under the "Data Type" for the characteristic "Current Temperature" – so in your case it will use 9.001. Can you verify that this works?

You can happily ignore the warning "Wrong data type" – it's just a warning.

For temperature sensor it works, even if wrong data type is showed, temperatures seem coherent.
However for writing data (eg fot thermostat) it should be nice if data type detected is correct, as it is it doesn't bring much peace of mind

However for writing data (eg fot thermostat) it should be nice if data type detected is correct, as it is it doesn't bring much peace of mind

hkknx uses the data type specified for the characteristic in the web interface. It doesn't actually matter what's specified in the ETS project.

If you want, you can send your ETS project to hkknx@hochgatterer.me so that I can take a look why the wrong data type is imported.

Thanks for providing a project. I've just uploaded version 2.8.0-b5 which should fix this issue.

(The problem was that some group addresses (with DPST-9-1) are actually used by communication objects which define their datapoint type as DPST-7-1.)

Should be fixed by version 2.8.0-b6

Confirm, fixed in b6. Thank you!