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