Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle specific cosem values that can either have a unit or not
It appears some Luxembourg meters have a unit in the cosem value, while other meters don't report this value. This changes makes it possible to handle both cases.
- Loading branch information
Showing
5 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...ding.dsmr/src/test/resources/org/openhab/binding/dsmr/internal/smarty_with_units.telegram
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/Lux5\253663629_D | ||
|
||
1-3:0.2.8(42) | ||
0-0:1.0.0(180130102122W) | ||
0-0:42.0.0(53414731303330373030313134303034) | ||
1-0:1.8.0(012345.000*kWh) | ||
1-0:2.8.0(000000.123*kWh) | ||
1-0:3.8.0(000012.345*kvarh) | ||
1-0:4.8.0(001234.567*kvarh) | ||
1-0:1.7.0(01.234*kW) | ||
1-0:2.7.0(00.000*kW) | ||
1-0:3.7.0(00.000*kvar) | ||
1-0:4.7.0(00.000*kvar) | ||
0-0:17.0.0(12.300*kVA) | ||
0-0:96.3.10(1) | ||
0-0:96.13.0() | ||
0-0:96.13.2() | ||
0-0:96.13.3() | ||
0-0:96.13.4() | ||
0-0:96.13.5() | ||
0-1:24.1.0(003) | ||
0-1:96.1.0(1234567890ABCDEF1234567890ABCD) | ||
0-1:24.2.1(200606201530S)(01234.567*m3) | ||
0-1:24.4.0(0) | ||
!3076 |