HI Darren,

first of all: Welcome :-)

Regarding ETS6 support: I just learned from your email that ETS6 is available 
... guess now I'll have to update ;-)
So, any input on how things have changed is indeed highly welcome. However, we 
need to ensure to stay compatible with ETS5 as I am sure not everyone is going 
to update to 6 instantly. 

Regarding the datatypes: I have learned in my own KNX setup, that if you simply 
create a group-address and use that, some times there is no datatype assigned 
to that. In the past I had similar problems with this. I simply ended up 
ensuring that I have the datatypes configured correctly in my ETS5. Could you 
please double check if in ETS all group addresses are shown the same way?

Chris

PS: Could you please subscribe to this list by sending an email to 
[email protected]? I had to moderate your email which was sort of 
delivered to my spam folder. Was lucky to have seen it. 

-----Original Message-----
From: Darren Everley <[email protected]> 
Sent: Donnerstag, 3. Februar 2022 01:09
To: [email protected]
Subject: A couple of questions from a PLC4X newbie. KNX related.

Hi all,

First thanks to all the contributors for the ongoing efforts with this 
marvelous set of libraries.

I've only just started using it (the Java version specifically), for 
experimentation and research initially, but hopefully something more tangible 
in the future.

My test case is a selection of reasonably modern ABB KNX equipment. In 
particular a weather station and some air quality sensors.

My first stumbling block was that I have been provided an ETS file from ETS6, 
not ETS5. So I've modified my local copy of PLC4J to now correctly parse the 
ETS6 XML files. I'll post a merge request for this over the next few days or so.

It goes without saying, I'm more than happy to be a contributor here as well as 
a user.

My second stumbling block is that, from what I can tell, the air quality sensor 
I have and the associated group address for the temperature does not have an 
associated KnxDatapointType value, and therefore only the raw value is returned 
by the PLC4J library.  I was therefore wondering if anyone has any insight they 
can share with me so that I can either reconfigure my ETS file, or even make 
changes to the PLC4x code base?  I should say that I am very happy to provide a 
sample ETS file, albeit for version 6 if this would help?

Here's a small sample of the relevant KNX data sub type definition in XML if 
it's of use....

   <DatapointType Id="DPT-9" Number="9" Name="9.xxx" Text="2-byte float value" 
SizeInBit="16" PDT="PDT-5" Default="true">
        <DatapointSubtypes>
          <DatapointSubtype Id="DPST-9-1" Number="1" Name="DPT_Value_Temp"
Text="temperature (°C)">
            <Format>
              <Float Id="DPST-9-1_F-1" Width="16" Unit="°C" MinValue="-273"
MaxValue="670760" />
            </Format>



Many thanks in advance

Darren

Reply via email to