You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by Darren Everley <da...@xeropoint.co.uk> on 2022/02/10 10:01:28 UTC

KNX 16-bit Floating Points

Hi Chris,

Thanks for your time earlier.

Attached to this email are a screenshot of ETS6 showing the decoding, and
bus capture of an interested data point.

I'll get an ETS6 sample project over to you shortly.

All the best

Darren

RE: KNX 16-bit Floating Points

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi all,

changes are comitted ...

Chris

-----Original Message-----
From: Christofer Dutz <ch...@c-ware.de> 
Sent: Donnerstag, 10. Februar 2022 17:40
To: dev@plc4x.apache.org
Subject: RE: KNX 16-bit Floating Points

HI Daren,

After fixing the ETS parser (And enabling it to parse password-protected files too), I noticed the same invalid temperature values, that you described to me this morning. I got a bit confused when I saw that I generally only have two different temperatures:
19.2°C and 11.2°C as the ones with 11.2 were the ones I knew the heating was turned off, it seemed plausible and the 19.2 sounded sort of ok-ish for a living room (Actually not, if I think about it).

You said you already have an idea on what might be going on? 

I'll run the full build and check If everything still works and then I'll commit my changes so you don't have to dig though that monstrous Ets Parser ... I wrote it ... and I hate it ;-)

Chris


-----Original Message-----
From: Christofer Dutz <ch...@c-ware.de> 
Sent: Donnerstag, 10. Februar 2022 12:17
To: dev@plc4x.apache.org
Subject: RE: KNX 16-bit Floating Points

Hi Darren (sorry for the single "r" in my last message)

I just tried using my ets5 knxproj file and I couldn't use it anymore.
A quick look showed that the directory P-05CD is now a zip file inside a zip file.

I also decided to upgrade my ETS5 to ETS6 (Happy that in this case I still have both installations on my system).

So, I imported my ets5 project into ets6 and did an export of that again and compared the two. They generally were identical.

Perhaps this change to "zipping" occurred on one of the more recent updates. Gotta check my historic versions of my knxproj. 

So perhaps this is really not a ETS5 vs ETS6 thing, but a "check if P-05CD is a file or a directory" thing.


Chris

-----Original Message-----
From: Christofer Dutz <ch...@c-ware.de> 
Sent: Donnerstag, 10. Februar 2022 11:05
To: dev@plc4x.apache.org
Subject: RE: KNX 16-bit Floating Points

Hi Daren,

Unfortunately, all except the xml file got stripped. Could you please send me that email directly?

And for the others: We just had a small Zoom session, it looks as if Darren has some KNX devices from ABB, which seem to be not using the 16-bit floating point format described in the KNX spec and we’ll be trying to find out what’s going on here.

Chris

From: Darren Everley <da...@xeropoint.co.uk>
Sent: Donnerstag, 10. Februar 2022 11:01
To: Christofer Dutz <ch...@c-ware.de>
Cc: dev@plc4x.apache.org
Subject: KNX 16-bit Floating Points

Hi Chris,

Thanks for your time earlier.

Attached to this email are a screenshot of ETS6 showing the decoding, and bus capture of an interested data point.

I'll get an ETS6 sample project over to you shortly.

All the best

Darren

RE: KNX 16-bit Floating Points

Posted by Christofer Dutz <ch...@c-ware.de>.
HI Daren,

After fixing the ETS parser (And enabling it to parse password-protected files too), I noticed the same invalid temperature values, that you described to me this morning. I got a bit confused when I saw that I generally only have two different temperatures:
19.2°C and 11.2°C as the ones with 11.2 were the ones I knew the heating was turned off, it seemed plausible and the 19.2 sounded sort of ok-ish for a living room (Actually not, if I think about it).

You said you already have an idea on what might be going on? 

I'll run the full build and check If everything still works and then I'll commit my changes so you don't have to dig though that monstrous Ets Parser ... I wrote it ... and I hate it ;-)

Chris


-----Original Message-----
From: Christofer Dutz <ch...@c-ware.de> 
Sent: Donnerstag, 10. Februar 2022 12:17
To: dev@plc4x.apache.org
Subject: RE: KNX 16-bit Floating Points

Hi Darren (sorry for the single "r" in my last message)

I just tried using my ets5 knxproj file and I couldn't use it anymore.
A quick look showed that the directory P-05CD is now a zip file inside a zip file.

I also decided to upgrade my ETS5 to ETS6 (Happy that in this case I still have both installations on my system).

So, I imported my ets5 project into ets6 and did an export of that again and compared the two. They generally were identical.

Perhaps this change to "zipping" occurred on one of the more recent updates. Gotta check my historic versions of my knxproj. 

So perhaps this is really not a ETS5 vs ETS6 thing, but a "check if P-05CD is a file or a directory" thing.


Chris

-----Original Message-----
From: Christofer Dutz <ch...@c-ware.de> 
Sent: Donnerstag, 10. Februar 2022 11:05
To: dev@plc4x.apache.org
Subject: RE: KNX 16-bit Floating Points

Hi Daren,

Unfortunately, all except the xml file got stripped. Could you please send me that email directly?

And for the others: We just had a small Zoom session, it looks as if Darren has some KNX devices from ABB, which seem to be not using the 16-bit floating point format described in the KNX spec and we’ll be trying to find out what’s going on here.

Chris

From: Darren Everley <da...@xeropoint.co.uk>
Sent: Donnerstag, 10. Februar 2022 11:01
To: Christofer Dutz <ch...@c-ware.de>
Cc: dev@plc4x.apache.org
Subject: KNX 16-bit Floating Points

Hi Chris,

Thanks for your time earlier.

Attached to this email are a screenshot of ETS6 showing the decoding, and bus capture of an interested data point.

I'll get an ETS6 sample project over to you shortly.

All the best

Darren

RE: KNX 16-bit Floating Points

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Darren (sorry for the single "r" in my last message)

I just tried using my ets5 knxproj file and I couldn't use it anymore.
A quick look showed that the directory P-05CD is now a zip file inside a zip file.

I also decided to upgrade my ETS5 to ETS6 (Happy that in this case I still have both installations on my system).

So, I imported my ets5 project into ets6 and did an export of that again and compared the two. They generally were identical.

Perhaps this change to "zipping" occurred on one of the more recent updates. Gotta check my historic versions of my knxproj. 

So perhaps this is really not a ETS5 vs ETS6 thing, but a "check if P-05CD is a file or a directory" thing.


Chris

-----Original Message-----
From: Christofer Dutz <ch...@c-ware.de> 
Sent: Donnerstag, 10. Februar 2022 11:05
To: dev@plc4x.apache.org
Subject: RE: KNX 16-bit Floating Points

Hi Daren,

Unfortunately, all except the xml file got stripped. Could you please send me that email directly?

And for the others: We just had a small Zoom session, it looks as if Darren has some KNX devices from ABB, which seem to be not using the 16-bit floating point format described in the KNX spec and we’ll be trying to find out what’s going on here.

Chris

From: Darren Everley <da...@xeropoint.co.uk>
Sent: Donnerstag, 10. Februar 2022 11:01
To: Christofer Dutz <ch...@c-ware.de>
Cc: dev@plc4x.apache.org
Subject: KNX 16-bit Floating Points

Hi Chris,

Thanks for your time earlier.

Attached to this email are a screenshot of ETS6 showing the decoding, and bus capture of an interested data point.

I'll get an ETS6 sample project over to you shortly.

All the best

Darren

RE: KNX 16-bit Floating Points

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Daren,

Unfortunately, all except the xml file got stripped. Could you please send me that email directly?

And for the others: We just had a small Zoom session, it looks as if Darren has some KNX devices from ABB, which seem to be not using the 16-bit floating point format described in the KNX spec and we’ll be trying to find out what’s going on here.

Chris

From: Darren Everley <da...@xeropoint.co.uk>
Sent: Donnerstag, 10. Februar 2022 11:01
To: Christofer Dutz <ch...@c-ware.de>
Cc: dev@plc4x.apache.org
Subject: KNX 16-bit Floating Points

Hi Chris,

Thanks for your time earlier.

Attached to this email are a screenshot of ETS6 showing the decoding, and bus capture of an interested data point.

I'll get an ETS6 sample project over to you shortly.

All the best

Darren