Hi Chris, I have joined the mailing list as requested, so hopefully you shouldn't have to moderate my messages any longer.
With regard to the Ets upgrade from 5 to 6, the only differences I can see so far are the embedded XML files have different file names than they did in v5. My approach has therefore been to remove 5 from the class names and have an additional config parameter to specify the version. I will dig a little further to see if this can be automated before submitting a merge request. With regard to the data type problem. I have debugged the problem and found two lines in the Ets5ModelParser class which, only work for the first 26 I think data types, the hard coded ones from what I can tell, but then fail for all the types as defined within the XML. With some local changes I have made I can then make this work for my case, but it will then not work for the original 26. I suggest once I'm happy with this locally I will push to my forked repo and you can take a look there and perhaps offer an opinion? If you'd prefer to work in a different way then I'm more than happy to discuss. Many thanks Darren On Thu, Feb 3, 2022 at 8:31 AM Christofer Dutz <[email protected]> wrote: > 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 > -- *Darren Everley - Director* *Email: *[email protected] *| Mobile:* 07891405262 *| Website:* www.xeropoint.co.uk *Company: *Xeropoint Ltd. Registered in England and Wales. 11101907 *Address:* Henleaze House, Harbury Road, Bristol, BS9 4PN
