brutella / hkknx-public

hkknx is a HomeKit KNX bridge for KNX.
https://hochgatterer.me/hkknx
97 stars 6 forks source link

KNX-Scenes - wrong error message for DPST-17-1 datatype #132

Closed Superwuzy closed 2 years ago

Superwuzy commented 2 years ago

I'm using various KNX scenes in my house (DPT 17.001 - 1 Byte scene numbers).

When trying to add a toggle switch to HKKNX I'm trying to trigger a DPT 17.001 scene but HKKNX tells me that the data type is wrong. That is not correct. When I'm triggering the scene externally the HKKNX group monitors cleary lists the correct DPT type of the scene.

What is wrong here (see pictures)?

Group monitor dump for GA 11/2/2:

Bildschirmfoto 2021-09-04 um 20 29 43

Dialog with error message when trying to attach the scene trigger GA 11/2/2:

Bildschirmfoto 2021-09-04 um 20 30 31

HKKNX-version: 2.0.0 (2021-08-11T10:39:56+02:00)

chef76 commented 2 years ago

Is the DPT Type for this Group Adress Set in your ETS Project File?

Superwuzy commented 2 years ago

Is the DPT Type for this Group Adress Set in your ETS Project File?

Yes, for several years already:

Bildschirmfoto 2021-09-04 um 22 13 45

IOBroker has also imported and mapped it correctly without any problems:

Bildschirmfoto 2021-09-04 um 22 16 03
chef76 commented 2 years ago

Strange... works fine for me. Sometimes if you don't choose from the pulldown-menue and enter the group adress directly such errors appear, but if you press Tab to leave the field it goes green.

brutella commented 2 years ago

You can easily ignore this warnings. hkknx sends the data to any group address you want, regardless of the defined DPT in your ETS project.

brutella commented 2 years ago

Should be fixed in pre-release version 2.0.1.