diff --git a/test/generate-xml.sh b/test/generate-xml.sh index 6a3231f..b9662d9 100755 --- a/test/generate-xml.sh +++ b/test/generate-xml.sh @@ -37,51 +37,71 @@ if [ $# -eq 2 ]; then fi # Check if mbus_parse_hex exists -if [ ! -x $mbus_parse_hex ]; then +if [ ! -x "$mbus_parse_hex" ]; then echo "mbus_parse_hex not found" echo "path to mbus_parse_hex: $mbus_parse_hex" exit 3 fi +generate_xml() { + directory="$1" + hexfile="$2" + mode="$3" + + filename=$(basename "$hexfile" .hex) + + if [ "$mode" = "normalized" ]; then + options="-n" + mode=".norm" + else + options="" + mode="" + fi + + # Parse hex file and write XML in file + "$mbus_parse_hex" $options "$hexfile" > "$directory/$filename$mode.xml.new" + result=$? + + # Check parsing result + if [ $result -ne 0 ]; then + echo "Unable to generate XML for $hexfile" + rm "$directory/$filename$mode.xml.new" + return 1 + fi + + # Compare old XML with new XML and write in file + diff -u "$directory/$filename$mode.xml" "$directory/$filename$mode.xml.new" 2> /dev/null > "$directory/$filename$mode.dif" + result=$? + + case "$result" in + 0) + # XML equal -> remove new + rm "$directory/$filename$mode.xml.new" + rm "$directory/$filename$mode.dif" + ;; + 1) + # different -> print diff + cat "$directory/$filename$mode.dif" && rm "$directory/$filename$mode.dif" + echo "" + ;; + *) + # no old -> rename XML + echo "Create $filename$mode.xml" + mv "$directory/$filename$mode.xml.new" "$directory/$filename$mode.xml" + rm "$directory/$filename$mode.dif" + ;; + esac + + return $result +} + for hexfile in "$directory"/*.hex; do if [ ! -f "$hexfile" ]; then continue fi - filename=`basename $hexfile .hex` + generate_xml "$directory" "$hexfile" "default" - # Parse hex file and write XML in file - $mbus_parse_hex "$hexfile" > "$directory/$filename.xml.new" - result=$? - - # Check parsing result - if [ $result -ne 0 ]; then - echo "Unable to generate XML for $hexfile" - rm "$directory/$filename.xml.new" - continue - fi - - # Compare old XML with new XML and write in file - diff -u "$directory/$filename.xml" "$directory/$filename.xml.new" 2> /dev/null > "$directory/$filename.dif" - result=$? - - case "$result" in - 0) - # XML equal -> remove new - rm "$directory/$filename.xml.new" - rm "$directory/$filename.dif" - ;; - 1) - # different -> print diff - cat "$directory/$filename.dif" && rm "$directory/$filename.dif" - echo "" - ;; - *) - # no old -> rename XML - echo "Create $filename.xml" - mv "$directory/$filename.xml.new" "$directory/$filename.xml" - rm "$directory/$filename.dif" - ;; - esac + generate_xml "$directory" "$hexfile" "normalized" done diff --git a/test/test-frames/ACW_Itron-BM-plus-m.norm.xml b/test/test-frames/ACW_Itron-BM-plus-m.norm.xml new file mode 100644 index 0000000..fead0d1 --- /dev/null +++ b/test/test-frames/ACW_Itron-BM-plus-m.norm.xml @@ -0,0 +1,87 @@ + + + + + 11490378 + ACW + 14 + Itron BM +m + Cold water + 10 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 11490378.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 54.321000 + + + + Instantaneous value + 1 + - + Time point (date) + 2000-00-00 + + + + Instantaneous value + 1 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2014-03-13T11:11:00Z + + + + Instantaneous value + 0 + s + Operating time + 0.000000 + + + + Instantaneous value + 0 + + Firmware version + 2.000000 + + + + Instantaneous value + 0 + + Software version + 6.000000 + + + + Manufacturer specific + 0 + + + 00 01 75 13 + + + diff --git a/test/test-frames/ACW_Itron-CYBLE-M-Bus-14.norm.xml b/test/test-frames/ACW_Itron-CYBLE-M-Bus-14.norm.xml new file mode 100644 index 0000000..943c741 --- /dev/null +++ b/test/test-frames/ACW_Itron-CYBLE-M-Bus-14.norm.xml @@ -0,0 +1,79 @@ + + + + + 9011523 + ACW + 20 + Itron CYBLE M-Bus 1.4 + Water + 37 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 9011523.000000 + + + + Instantaneous value + 0 + - + cust. ID + 09LA076755 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2014-03-13T14:26:00Z + + + + Instantaneous value + 0 + - + bat. time + 2516.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.031000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 0.031000 + + + + Manufacturer specific + 0 + + + 00 01 1F + + + diff --git a/test/test-frames/EDC.norm.xml b/test/test-frames/EDC.norm.xml new file mode 100644 index 0000000..c43be60 --- /dev/null +++ b/test/test-frames/EDC.norm.xml @@ -0,0 +1,231 @@ + + + + + 11120895 + EDC + 2 + + Heat: Outlet + 23 + 00 + 0000 + + + + Instantaneous value + 0 + 0 + 0 + Wh + Energy + 35000.000000 + + + + Instantaneous value + 0 + 0 + 0 + Wh + Energy + 465000.000000 + + + + Instantaneous value + 0 + 0 + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 0 + 0 + °C + Flow temperature + 21.536703 + + + + Instantaneous value + 0 + 0 + 0 + °C + Return temperature + 21.605042 + + + + Instantaneous value + 0 + 0 + 1 + °C + Flow temperature + 92.000000 + + + + Instantaneous value + 0 + 0 + 1 + °C + Return temperature + 92.000000 + + + + Instantaneous value + 0 + 0 + 0 + m^3/h + Volume flow + 0.000707 + + + + Instantaneous value + 0 + 0 + 1 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 0 + 0 + 0 + m^3/h + Volume flow + 0.357622 + + + + Maximum value + 0 + 0 + 1 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + 0 + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Maximum value + 0 + 0 + 0 + W + Power + 18511.912109 + + + + Maximum value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-07-10T15:25:00Z + + + + Instantaneous value + 0 + 0 + 0 + - + C + 3571.000000 + + + + Instantaneous value + 0 + 0 + 1 + - + C + 413.000000 + + + + Instantaneous value + 0 + 0 + 0 + - + c + 1.000000 + + + + Instantaneous value + 0 + 0 + 1 + - + c + 1.000000 + + + + Manufacturer specific + 0 + + + + + + diff --git a/test/test-frames/EFE_Engelmann-Elster-SensoStar-2.norm.xml b/test/test-frames/EFE_Engelmann-Elster-SensoStar-2.norm.xml new file mode 100644 index 0000000..9522963 --- /dev/null +++ b/test/test-frames/EFE_Engelmann-Elster-SensoStar-2.norm.xml @@ -0,0 +1,229 @@ + + + + + 24083345 + EFE + 0 + Engelmann / Elster SensoStar 2 + Heat: Outlet + 102 + 27 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 24083345.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2014-03-12T14:23:00Z + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 2 + 0 + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 2 + 0 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 2 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2013-12-31 + + + + Instantaneous value + 0 + - + Time point (date) + 2014-12-31 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 3 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 0 + m^3/h + Volume flow + 0.025000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Maximum value + 0 + W + Power + 11.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 22.000000 + + + + Instantaneous value + 0 + °C + Return temperature + 21.000000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.090000 + + + + Instantaneous value + 0 + s + On time + 45273600.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000011 + + + diff --git a/test/test-frames/EFE_Engelmann-WaterStar.norm.xml b/test/test-frames/EFE_Engelmann-WaterStar.norm.xml new file mode 100644 index 0000000..c0e11e4 --- /dev/null +++ b/test/test-frames/EFE_Engelmann-WaterStar.norm.xml @@ -0,0 +1,113 @@ + + + + + 4990254 + EFE + 0 + Engelmann WaterStar + Warm water (30-90°C) + 12 + 27 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 4990254.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2014-03-13T12:10:00Z + + + + Instantaneous value + 0 + m^3 + Volume + 0.332000 + + + + Instantaneous value + 1 + m^3 + Volume + 0.331000 + + + + Instantaneous value + 2 + 0 + 0 + m^3 + Volume + 0.332000 + + + + Instantaneous value + 1 + - + Time point (date) + 2013-12-31 + + + + Instantaneous value + 0 + - + Time point (date) + 2014-12-31 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 0 + m^3/h + Volume flow + 2.070000 + + + + Instantaneous value + 0 + s + On time + 102902400.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000008 + + + diff --git a/test/test-frames/ELS_Elster-F96-Plus.norm.xml b/test/test-frames/ELS_Elster-F96-Plus.norm.xml new file mode 100644 index 0000000..e2407b3 --- /dev/null +++ b/test/test-frames/ELS_Elster-F96-Plus.norm.xml @@ -0,0 +1,151 @@ + + + + + 44493951 + ELS + 47 + Elster F96 Plus + Heat: Outlet + 161 + 70 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 2 + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Value during error state + 0 + W + Power + 13131113.000000 + + + + Value during error state + 0 + m^3/h + Volume flow + 131.113000 + + + + Instantaneous value + 0 + °C + Flow temperature + 22.700000 + + + + Instantaneous value + 0 + °C + Return temperature + 22.600000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.100000 + + + + Instantaneous value + 0 + s + Operating time + 63072000.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2014-03-13T13:09:00Z + + + + Instantaneous value + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + 2 + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2013-05-31 + + + diff --git a/test/test-frames/ELV-Elvaco-CMa10.norm.xml b/test/test-frames/ELV-Elvaco-CMa10.norm.xml new file mode 100644 index 0000000..13a9596 --- /dev/null +++ b/test/test-frames/ELV-Elvaco-CMa10.norm.xml @@ -0,0 +1,121 @@ + + + + + 24011561 + ELV + 22 + Elvaco CMa10 + Other + 63 + 00 + 0000 + + + + Instantaneous value + 0 + + Digital Input + 2.000000 + + + + Instantaneous value + 0 + - + %RH + 54.100000 + + + + Minimum value + 0 + - + %RH + 33.640000 + + + + Maximum value + 0 + - + %RH + 73.630000 + + + + Instantaneous value + 0 + °C + External temperature + 20.940000 + + + + Minimum value + 0 + °C + External temperature + 13.720000 + + + + Maximum value + 0 + °C + External temperature + 29.780000 + + + + Instantaneous value + 0 + s + Averaging Duration + 86400.000000 + + + + Instantaneous value + 1 + °C + External temperature + 20.920000 + + + + Instantaneous value + 2 + 0 + 0 + °C + External temperature + 20.790000 + + + + Instantaneous value + 0 + + Fabrication No + 24011561.000000 + + + + Instantaneous value + 0 + + Software version + 262144.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/EMU_EMU-Professional-375-M-Bus.norm.xml b/test/test-frames/EMU_EMU-Professional-375-M-Bus.norm.xml new file mode 100644 index 0000000..e1d3388 --- /dev/null +++ b/test/test-frames/EMU_EMU-Professional-375-M-Bus.norm.xml @@ -0,0 +1,287 @@ + + + + + 32629 + EMU + 16 + EMU Professional 3/75 M-Bus + Electricity + 2 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 32629.000000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 1364.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 1 + 2 + Wh + Energy + 7854.000000 + + + + Instantaneous value + 0 + 2 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + W + Power + -2.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + W + Power + -2.000000 + + + + Instantaneous value + 0 + 0 + 2 + W + Power + 14.000000 + + + + Instantaneous value + 0 + 0 + 2 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 2 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 2 + W + Power + 14.000000 + + + + Instantaneous value + 0 + V + Voltage + 225.700000 + + + + Instantaneous value + 0 + V + Voltage + 0.000000 + + + + Instantaneous value + 0 + V + Voltage + 0.000000 + + + + Minimum value + 0 + V + Voltage + 187.400000 + + + + Minimum value + 0 + V + Voltage + 0.000000 + + + + Minimum value + 0 + V + Voltage + 0.000000 + + + + Maximum value + 0 + V + Voltage + 241.000000 + + + + Maximum value + 0 + V + Voltage + 0.000000 + + + + Maximum value + 0 + V + Voltage + 0.000000 + + + + Instantaneous value + 0 + A + Current + -0.066000 + + + + Instantaneous value + 0 + A + Current + 0.000000 + + + + Instantaneous value + 0 + A + Current + 0.000000 + + + + Instantaneous value + 0 + A + Current + -0.066000 + + + + Instantaneous value + 0 + + Manufacturer specific + 13.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 500.000000 + + + + Instantaneous value + 0 + + Reset counter + 56.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + diff --git a/test/test-frames/Elster-F2.norm.xml b/test/test-frames/Elster-F2.norm.xml new file mode 100644 index 0000000..c8fdec5 --- /dev/null +++ b/test/test-frames/Elster-F2.norm.xml @@ -0,0 +1,133 @@ + + + + + 802657 + SVM + 8 + Elster F2 / Deltamess F2 + Heat: Outlet + 70 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 5272000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 1204.270000 + + + + Instantaneous value + 0 + 0 + 1 + m^3 + Volume + 917.690000 + + + + Instantaneous value + 0 + °C + Flow temperature + 28.000000 + + + + Instantaneous value + 0 + °C + Return temperature + 34.000000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.000000 + + + + Instantaneous value + 0 + s + On time + 149014800.000000 + + + + Instantaneous value + 0 + s + Operating time + 149014800.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2013-06-29T12:12:00Z + + + + Instantaneous value + 0 + 0 + 1 + Units for H.C.A. + H.C.A. + 0.000000 + + + + Instantaneous value + 0 + 0 + 2 + Units for H.C.A. + H.C.A. + 0.000000 + + + + More records follow + 0 + + + C4 09 01 01 12 00 01 01 01 07 57 26 80 00 CD 4E 08 04 07 A3 FF 03 57 26 80 00 04 04 0D 02 FF 0F 05 3C FF 62 E7 62 96 0A 89 0A 02 00 15 40 17 01 00 00 63 42 + + + diff --git a/test/test-frames/FIN-Finder-7E.23.8.230.0020.norm.xml b/test/test-frames/FIN-Finder-7E.23.8.230.0020.norm.xml new file mode 100644 index 0000000..118a1f5 --- /dev/null +++ b/test/test-frames/FIN-Finder-7E.23.8.230.0020.norm.xml @@ -0,0 +1,69 @@ + + + + + 23006207 + FIN + 35 + + Electricity + 146 + 00 + 0000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 1728680.000000 + + + + Instantaneous value + 2 + 1 + 0 + Wh + Energy + 1728680.000000 + + + + Instantaneous value + 0 + V + Voltage + 230.000000 + + + + Instantaneous value + 0 + A + Current + 0.600000 + + + + Instantaneous value + 0 + W + Power + 90.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + -30.000000 + + + diff --git a/test/test-frames/GWF-MTKcoder.norm.xml b/test/test-frames/GWF-MTKcoder.norm.xml new file mode 100644 index 0000000..6cadee1 --- /dev/null +++ b/test/test-frames/GWF-MTKcoder.norm.xml @@ -0,0 +1,31 @@ + + + + + 182007 + GWF + 53 + + Water + 76 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 182007.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 269.000000 + + + diff --git a/test/test-frames/LGB_G350.norm.xml b/test/test-frames/LGB_G350.norm.xml new file mode 100644 index 0000000..acc9144 --- /dev/null +++ b/test/test-frames/LGB_G350.norm.xml @@ -0,0 +1,65 @@ + + + + + 12082058 + LGB + 64 + + Gas + 64 + 00 + 0000 + + + + Instantaneous value + 1 + m^3 + Volume + 10834.092000 + + + + Instantaneous value + 1 + - + Time point (date & time) + 2016-07-22T08:00:00Z + + + + Instantaneous value + 0 + + Fabrication No + G0017591208205814 + + + + Instantaneous value + 0 + 0 + 1 + + Digital Output + 1.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + + Instantaneous value + 0 + + Special supplier information + 15.000000 + + + diff --git a/test/test-frames/REL-Relay-Padpuls2.norm.xml b/test/test-frames/REL-Relay-Padpuls2.norm.xml new file mode 100644 index 0000000..b5b1440 --- /dev/null +++ b/test/test-frames/REL-Relay-Padpuls2.norm.xml @@ -0,0 +1,63 @@ + + + + + 11216301 + REL + 65 + + Gas + 177 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 28760.810000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 1900-01-00T00:00:00Z + + + + Instantaneous value + 1 + - + Time point (date) + 2014-12-31 + + + + Instantaneous value + 1 + m^3 + Volume + 25973.820000 + + + + Instantaneous value + 1 + - + Time point (date) + 2015-12-31 + + + + Manufacturer specific + 0 + + + C0 01 01 0C + + + diff --git a/test/test-frames/SBC_Saia-Burgess-ALE3.norm.xml b/test/test-frames/SBC_Saia-Burgess-ALE3.norm.xml new file mode 100644 index 0000000..cc646d7 --- /dev/null +++ b/test/test-frames/SBC_Saia-Burgess-ALE3.norm.xml @@ -0,0 +1,191 @@ + + + + + 19000055 + SBC + 22 + Saia-Burgess ALE3 + Electricity + 191 + 00 + 0000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 2930.000000 + + + + Instantaneous value + 2 + 1 + 0 + Wh + Energy + 2930.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 60.000000 + + + + Instantaneous value + 2 + 2 + 0 + Wh + Energy + 60.000000 + + + + Instantaneous value + 0 + V + Voltage + 223.000000 + + + + Instantaneous value + 0 + A + Current + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + V + Voltage + 0.000000 + + + + Instantaneous value + 0 + A + Current + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + V + Voltage + 0.000000 + + + + Instantaneous value + 0 + A + Current + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + diff --git a/test/test-frames/SEN_Pollustat.norm.xml b/test/test-frames/SEN_Pollustat.norm.xml new file mode 100644 index 0000000..a69a6ee --- /dev/null +++ b/test/test-frames/SEN_Pollustat.norm.xml @@ -0,0 +1,143 @@ + + + + + 11788 + SEN + 6 + + Heat / Cooling load meter + 62 + 00 + 0000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2015-04-07T14:59:00Z + + + + Value during error state + 0 + - + Time point (date & time) + 2000-01-01T00:00:00Z + + + + Value during error state + 0 + + Error flags + 67108864.000000 + + + + Instantaneous value + 0 + s + On time + 15803026.000000 + + + + Instantaneous value + 0 + s + Operating time + 15145636.000000 + + + + Instantaneous value + 0 + Wh + Energy + 39831000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 6162.878000 + + + + Instantaneous value + 0 + W + Power + -170.721784 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 3.230039 + + + + Instantaneous value + 0 + °C + Flow temperature + 31.147324 + + + + Instantaneous value + 0 + °C + Return temperature + 31.193100 + + + + Instantaneous value + 0 + K + Temperature difference + -0.045776 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 11582321.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 756.000000 + + + + Instantaneous value + 0 + + Fabrication No + 11788.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + -19184.000000 + + + diff --git a/test/test-frames/SEN_Sensus-PolluStat-E.norm.xml b/test/test-frames/SEN_Sensus-PolluStat-E.norm.xml new file mode 100644 index 0000000..e0ac268 --- /dev/null +++ b/test/test-frames/SEN_Sensus-PolluStat-E.norm.xml @@ -0,0 +1,95 @@ + + + + + 21265095 + SEN + 14 + Sensus PolluStat E + Heat: Outlet + 181 + 10 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 20.100000 + + + + Instantaneous value + 0 + °C + Return temperature + 20.200000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.000000 + + + + Instantaneous value + 0 + + Fabrication No + 21265095.000000 + + + + Instantaneous value + 0 + + Customer location + 21265095.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/SEN_Sensus-PolluTherm.norm.xml b/test/test-frames/SEN_Sensus-PolluTherm.norm.xml new file mode 100644 index 0000000..c46e40d --- /dev/null +++ b/test/test-frames/SEN_Sensus-PolluTherm.norm.xml @@ -0,0 +1,87 @@ + + + + + 24351689 + SEN + 11 + Sensus PolluTherm + Heat: Outlet + 84 + 10 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Value during error state + 0 + °C + Flow temperature + 0.000000 + + + + Value during error state + 0 + °C + Return temperature + 0.000000 + + + + Value during error state + 0 + K + Temperature difference + 0.000000 + + + + Instantaneous value + 0 + + Fabrication No + 24351689.000000 + + + + Instantaneous value + 0 + + Customer location + 24351689.000000 + + + diff --git a/test/test-frames/SLB_CF-Compact-Integral-MK-MaXX.norm.xml b/test/test-frames/SLB_CF-Compact-Integral-MK-MaXX.norm.xml new file mode 100644 index 0000000..a5e4a4a --- /dev/null +++ b/test/test-frames/SLB_CF-Compact-Integral-MK-MaXX.norm.xml @@ -0,0 +1,139 @@ + + + + + 11817314 + SLB + 6 + CF Compact / Integral MK MaXX + Heat: Outlet + 3 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 11817314.000000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.020000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 21.800000 + + + + Instantaneous value + 0 + °C + Return temperature + 22.000000 + + + + Instantaneous value + 0 + K + Temperature difference + -0.180000 + + + + Value during error state + 0 + s + Operating time + 0.000000 + + + + Instantaneous value + 0 + s + Operating time + 101606400.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2014-03-13T14:02:00Z + + + + Instantaneous value + 0 + 0 + 1 + m^3 + Volume + 1.230000 + + + + Instantaneous value + 0 + 0 + 2 + m^3 + Volume + 3.210000 + + + + Instantaneous value + 0 + + Firmware version + 3.000000 + + + + Instantaneous value + 0 + + Software version + 18.000000 + + + + Manufacturer specific + 0 + + + 00 16 + + + diff --git a/test/test-frames/THI_cma10.norm.xml b/test/test-frames/THI_cma10.norm.xml new file mode 100644 index 0000000..86e149a --- /dev/null +++ b/test/test-frames/THI_cma10.norm.xml @@ -0,0 +1,121 @@ + + + + + 2 + ELV + 21 + Elvaco CMa10 + Other + 13 + 00 + 0000 + + + + Instantaneous value + 0 + + Digital Input + 2.000000 + + + + Instantaneous value + 0 + - + %RH + 46.600000 + + + + Minimum value + 0 + - + %RH + 37.820000 + + + + Maximum value + 0 + - + %RH + 51.220000 + + + + Instantaneous value + 0 + °C + External temperature + 22.620000 + + + + Minimum value + 0 + °C + External temperature + 22.500000 + + + + Maximum value + 0 + °C + External temperature + 23.260000 + + + + Instantaneous value + 0 + s + Averaging Duration + 0.000000 + + + + Value during error state + 1 + °C + External temperature + 0.000000 + + + + Value during error state + 2 + 0 + 0 + °C + External temperature + 0.000000 + + + + Instantaneous value + 0 + + Fabrication No + 2.000000 + + + + Instantaneous value + 0 + + Software version + 772.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/ZRM_Minol-Minocal-C2.norm.xml b/test/test-frames/ZRM_Minol-Minocal-C2.norm.xml new file mode 100644 index 0000000..7ac242f --- /dev/null +++ b/test/test-frames/ZRM_Minol-Minocal-C2.norm.xml @@ -0,0 +1,335 @@ + + + + + 31425084 + ZRM + 129 + Minol Minocal C2 + Heat: Outlet + 115 + 27 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + + Instantaneous value + 8 + 0 + 0 + - + Time point (date & time) + 2015-01-01T00:00:00Z + + + + Instantaneous value + 8 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 10 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.074000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 1 + m^3/h + Volume flow + 0.043000 + + + + Maximum value + 1 + - + Time point (date & time) + 2011-09-01T08:30:00Z + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Maximum value + 2 + 0 + 0 + W + Power + 2000.000000 + + + + Maximum value + 2 + 0 + 0 + - + Time point (date & time) + 2011-09-01T08:30:00Z + + + + Instantaneous value + 0 + °C + Flow temperature + 20.710000 + + + + Instantaneous value + 0 + °C + Return temperature + 20.380000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2014-03-13T12:45:00Z + + + + Instantaneous value + 32 + 0 + 0 + - + Time point (date) + 2014-03-01 + + + + Instantaneous value + 32 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 33 + 0 + 0 + - + Time point (date) + 2014-02-01 + + + + Instantaneous value + 33 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 34 + 0 + 0 + - + Time point (date) + 2014-01-01 + + + + Instantaneous value + 34 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 35 + 0 + 0 + - + Time point (date) + 2013-12-01 + + + + Instantaneous value + 35 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 36 + 0 + 0 + - + Time point (date) + 2013-11-01 + + + + Instantaneous value + 36 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 37 + 0 + 0 + - + Time point (date) + 2013-10-01 + + + + Instantaneous value + 37 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 38 + 0 + 0 + - + Time point (date) + 2013-09-01 + + + + Instantaneous value + 38 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 39 + 0 + 0 + - + Time point (date) + 2013-08-01 + + + + Instantaneous value + 39 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Maximum value + 32 + 0 + 0 + - + Time point (date) + 2014-03-01 + + + + Maximum value + 32 + 0 + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 32 + 0 + 0 + W + Power + 0.000000 + + + diff --git a/test/test-frames/abb_delta.norm.xml b/test/test-frames/abb_delta.norm.xml new file mode 100644 index 0000000..6b82deb --- /dev/null +++ b/test/test-frames/abb_delta.norm.xml @@ -0,0 +1,153 @@ + + + + + 78563412 + ABB + 2 + ABB Delta-Meter + Electricity + 69 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 3 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 4 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 0 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 1 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 2 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 3 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 4 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 1000000.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/abb_f95.norm.xml b/test/test-frames/abb_f95.norm.xml new file mode 100644 index 0000000..52f1866 --- /dev/null +++ b/test/test-frames/abb_f95.norm.xml @@ -0,0 +1,131 @@ + + + + + 26718590 + HYD + 40 + ABB F95 Typ US770 + Heat: Outlet + 115 + 50 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.074200 + + + + Value during error state + 0 + W + Power + 1311041.300000 + + + + Value during error state + 0 + m^3/h + Volume flow + 11.041300 + + + + Instantaneous value + 0 + °C + Flow temperature + 20.400000 + + + + Instantaneous value + 0 + °C + Return temperature + 20.400000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-13T16:34:00Z + + + + Instantaneous value + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + - + Time point (date & time) + 2011-04-30T23:59:00Z + + + + Instantaneous value + 1 + - + Time point (date & time) + 2012-04-30T23:59:00Z + + + + Instantaneous value + 2 + 0 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 2 + 0 + 0 + - + Time point (date & time) + 2011-12-31T23:59:00Z + + + + Instantaneous value + 0 + s + Operating time + 311590800.000000 + + + diff --git a/test/test-frames/allmess_cf50.norm.xml b/test/test-frames/allmess_cf50.norm.xml new file mode 100644 index 0000000..2195924 --- /dev/null +++ b/test/test-frames/allmess_cf50.norm.xml @@ -0,0 +1,95 @@ + + + + + 2205100 + SLB + 2 + Allmess Megacontrol CF-50 + Heat: Outlet + 0 + 88 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.300000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 128.800000 + + + + Instantaneous value + 0 + °C + Return temperature + 51.600000 + + + + Instantaneous value + 0 + K + Temperature difference + 77.230000 + + + + Instantaneous value + 0 + - + Time point (date) + 2012-01-12 + + + + Instantaneous value + 0 + s + Operating time + 292291200.000000 + + + + Manufacturer specific + 0 + + + 60 00 + + + diff --git a/test/test-frames/berg_dz_plus.norm.xml b/test/test-frames/berg_dz_plus.norm.xml new file mode 100644 index 0000000..b4def16 --- /dev/null +++ b/test/test-frames/berg_dz_plus.norm.xml @@ -0,0 +1,169 @@ + + + + + 0 + ABB + 2 + ABB Delta-Meter + Electricity + 0 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 3 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 4 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 0 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 1 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 2 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 3 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 4 + 2 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + More records follow + 0 + + + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + + + diff --git a/test/test-frames/electricity-meter-1.norm.xml b/test/test-frames/electricity-meter-1.norm.xml new file mode 100644 index 0000000..49b4297 --- /dev/null +++ b/test/test-frames/electricity-meter-1.norm.xml @@ -0,0 +1,191 @@ + + + + + 500023E + SBC + 18 + + Electricity + 19 + 00 + 0000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 12520.000000 + + + + Instantaneous value + 2 + 1 + 0 + Wh + Energy + 12520.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 17744330.000000 + + + + Instantaneous value + 2 + 2 + 0 + Wh + Energy + 17744330.000000 + + + + Instantaneous value + 0 + V + Voltage + 237.000000 + + + + Instantaneous value + 0 + A + Current + 3.200000 + + + + Instantaneous value + 0 + W + Power + 790.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + -180.000000 + + + + Instantaneous value + 0 + V + Voltage + 231.000000 + + + + Instantaneous value + 0 + A + Current + 3.500000 + + + + Instantaneous value + 0 + W + Power + 810.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + -150.000000 + + + + Instantaneous value + 0 + V + Voltage + 228.000000 + + + + Instantaneous value + 0 + A + Current + 6.900000 + + + + Instantaneous value + 0 + W + Power + 1600.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + -320.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + W + Power + 3200.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + -650.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 4.000000 + + + diff --git a/test/test-frames/electricity-meter-2.norm.xml b/test/test-frames/electricity-meter-2.norm.xml new file mode 100644 index 0000000..c8d95e2 --- /dev/null +++ b/test/test-frames/electricity-meter-2.norm.xml @@ -0,0 +1,191 @@ + + + + + 50002E5 + @@@ + 18 + + Electricity + 37 + 00 + 0000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 2540.000000 + + + + Instantaneous value + 2 + 1 + 0 + Wh + Energy + 2540.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 4441280.000000 + + + + Instantaneous value + 2 + 2 + 0 + Wh + Energy + 4441280.000000 + + + + Instantaneous value + 0 + V + Voltage + 233.000000 + + + + Instantaneous value + 0 + A + Current + 0.100000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + V + Voltage + 234.000000 + + + + Instantaneous value + 0 + A + Current + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + V + Voltage + 235.000000 + + + + Instantaneous value + 0 + A + Current + 0.100000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 0 + + Manufacturer specific + 4.000000 + + + diff --git a/test/test-frames/els_falcon.norm.xml b/test/test-frames/els_falcon.norm.xml new file mode 100644 index 0000000..c0f2ff4 --- /dev/null +++ b/test/test-frames/els_falcon.norm.xml @@ -0,0 +1,87 @@ + + + + + 70112345 + ELS + 10 + Elster Falcon + Water + 2 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 1234.567000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2007-02-06T13:58:00Z + + + + Instantaneous value + 1 + - + Time point (date) + 2007-01-01 + + + + Instantaneous value + 1 + m^3 + Volume + 456.951000 + + + + Instantaneous value + 1 + - + Time point (date) + 2008-01-01 + + + + Maximum value + 0 + m^3/h + Volume flow + 5.945000 + + + + Instantaneous value + 1 + - + Time point (date) + 2008-01-01 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 6.137000 + + + + Manufacturer specific + 0 + + + 0E 42 20 01 01 01 00 05 08 5E 01 20 3D 12 08 3D 12 08 00 + + + diff --git a/test/test-frames/els_tmpa_telegramm1.norm.xml b/test/test-frames/els_tmpa_telegramm1.norm.xml new file mode 100644 index 0000000..16a0681 --- /dev/null +++ b/test/test-frames/els_tmpa_telegramm1.norm.xml @@ -0,0 +1,63 @@ + + + + + 70112345 + ELS + 2 + Elster TMP-A + Water + 2 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 1234.567000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2007-02-06T13:58:00Z + + + + Instantaneous value + 1 + - + Time point (date) + 2007-01-01 + + + + Instantaneous value + 1 + m^3 + Volume + 456.951000 + + + + Instantaneous value + 1 + - + Time point (date) + 2008-01-01 + + + + Manufacturer specific + 0 + + + 00 + + + diff --git a/test/test-frames/elv_temp_humid.norm.xml b/test/test-frames/elv_temp_humid.norm.xml new file mode 100644 index 0000000..369720a --- /dev/null +++ b/test/test-frames/elv_temp_humid.norm.xml @@ -0,0 +1,121 @@ + + + + + 54000834 + ELV + 50 + Elvaco CMa11 + Other + 242 + 00 + 0000 + + + + Instantaneous value + 0 + + Digital Input + 0.000000 + + + + Instantaneous value + 0 + - + %RH + 45.640000 + + + + Minimum value + 0 + - + %RH + 45.520000 + + + + Maximum value + 0 + - + %RH + 58.120000 + + + + Instantaneous value + 0 + °C + External temperature + 22.560000 + + + + Minimum value + 0 + °C + External temperature + 21.600000 + + + + Maximum value + 0 + °C + External temperature + 23.390000 + + + + Instantaneous value + 0 + s + Averaging Duration + 86400.000000 + + + + Instantaneous value + 1 + °C + External temperature + 22.760000 + + + + Instantaneous value + 2 + 0 + 0 + °C + External temperature + 22.690000 + + + + Instantaneous value + 0 + + Fabrication No + 54000834.000000 + + + + Instantaneous value + 0 + + Software version + 262144.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/emh_diz.norm.xml b/test/test-frames/emh_diz.norm.xml new file mode 100644 index 0000000..7a9a6fc --- /dev/null +++ b/test/test-frames/emh_diz.norm.xml @@ -0,0 +1,43 @@ + + + + + 623702 + EMH + 0 + EMH DIZ + Electricity + 7 + 00 + 0000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 4090.000000 + + + + Instantaneous value + 1 + 0 + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + diff --git a/test/test-frames/engelmann_sensostar2c.norm.xml b/test/test-frames/engelmann_sensostar2c.norm.xml new file mode 100644 index 0000000..9733143 --- /dev/null +++ b/test/test-frames/engelmann_sensostar2c.norm.xml @@ -0,0 +1,225 @@ + + + + + 10380010 + EFE + 1 + Engelmann SensoStar 2C + Heat: Outlet + 30 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 10380010.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-06-06T20:50:00Z + + + + Instantaneous value + 0 + m^3 + Volume + 12.900000 + + + + Instantaneous value + 0 + Wh + Energy + 800000.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 3 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 95.000000 + + + + Instantaneous value + 0 + °C + Return temperature + 43.000000 + + + + Instantaneous value + 0 + K + Temperature difference + 52.580000 + + + + Instantaneous value + 0 + s + Operating time + 43718400.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.100000 + + + + Instantaneous value + 1 + - + Time point (date) + 2011-12-31 + + + + Instantaneous value + 1 + m^3 + Volume + 12.900000 + + + + Instantaneous value + 1 + Wh + Energy + 800000.000000 + + + + Instantaneous value + 1 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + 3 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 2 + 0 + 0 + - + Time point (date) + 2010-12-31 + + + + Instantaneous value + 2 + 0 + 0 + m^3 + Volume + 8.400000 + + + + Instantaneous value + 2 + 0 + 0 + Wh + Energy + 500000.000000 + + + + Instantaneous value + 2 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 2 + 3 + 0 + Wh + Energy + 0.000000 + + + diff --git a/test/test-frames/example_data_01.norm.xml b/test/test-frames/example_data_01.norm.xml new file mode 100644 index 0000000..54ba0bb --- /dev/null +++ b/test/test-frames/example_data_01.norm.xml @@ -0,0 +1,63 @@ + + + + + 3575845 + AMT + 52 + + Heat: Outlet + 158 + 00 + B627 + + + + Instantaneous value + 0 + Wh + Energy + 1389817000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 504647.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 41.737434 + + + + Instantaneous value + 0 + °C + Return temperature + 35.463650 + + + diff --git a/test/test-frames/example_data_02.norm.xml b/test/test-frames/example_data_02.norm.xml new file mode 100644 index 0000000..d135aae --- /dev/null +++ b/test/test-frames/example_data_02.norm.xml @@ -0,0 +1,63 @@ + + + + + 3575845 + AMT + 52 + + Heat: Outlet + 161 + 00 + B627 + + + + Instantaneous value + 0 + Wh + Energy + 1389817000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 504647.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 41.211052 + + + + Instantaneous value + 0 + °C + Return temperature + 35.385593 + + + diff --git a/test/test-frames/filler.norm.xml b/test/test-frames/filler.norm.xml new file mode 100644 index 0000000..f7a0134 --- /dev/null +++ b/test/test-frames/filler.norm.xml @@ -0,0 +1,23 @@ + + + + + 17677731 + KAM + 1 + Kamstrup 382 (6850-005) + Electricity + 0 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 5000.000000 + + + diff --git a/test/test-frames/frame1.norm.xml b/test/test-frames/frame1.norm.xml new file mode 100644 index 0000000..9287706 --- /dev/null +++ b/test/test-frames/frame1.norm.xml @@ -0,0 +1,23 @@ + + + + + 10060958 + LSE + 22 + + Bus/System + 123 + 00 + 0000 + + + + Manufacturer specific + 0 + + + 5F 42 01 11 FF FF FF FF 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 + + + diff --git a/test/test-frames/frame2.norm.xml b/test/test-frames/frame2.norm.xml new file mode 100644 index 0000000..0b29cb8 --- /dev/null +++ b/test/test-frames/frame2.norm.xml @@ -0,0 +1,43 @@ + + + + + 12345678 + PAD + 1 + + Water + 85 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 12.565000 + + + + Maximum value + 5 + 0 + 0 + m^3/h + Volume flow + 0.113000 + + + + Instantaneous value + 0 + 2 + 1 + Wh + Energy + 218370.000000 + + + diff --git a/test/test-frames/gmc_emmod206.norm.xml b/test/test-frames/gmc_emmod206.norm.xml new file mode 100644 index 0000000..da2ec22 --- /dev/null +++ b/test/test-frames/gmc_emmod206.norm.xml @@ -0,0 +1,215 @@ + + + + + 12345678 + GMC + 230 + GMC-I A230 EMMOD 206 + Electricity + 2 + 00 + 0000 + + + + Instantaneous value + 0 + 0 + 1 + V + Voltage + 86.400000 + + + + Instantaneous value + 0 + 0 + 2 + V + Voltage + 95.900000 + + + + Instantaneous value + 0 + 0 + 3 + V + Voltage + 105.600000 + + + + Instantaneous value + 0 + 0 + 1 + A + Current + 0.957000 + + + + Instantaneous value + 0 + 0 + 2 + A + Current + 1.055000 + + + + Instantaneous value + 0 + 0 + 3 + A + Current + 1.150000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + 224.000000 + + + + Instantaneous value + 0 + 0 + 1 + W + Power + -202.000000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 103880.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 150000.000000 + + + + Instantaneous value + 0 + 1 + 1 + Wh + Energy + 201590.000000 + + + + Instantaneous value + 0 + 2 + 1 + Wh + Energy + 250000.000000 + + + + Instantaneous value + 0 + 1 + 2 + Wh + Energy + 300910.000000 + + + + Instantaneous value + 0 + 2 + 2 + Wh + Energy + 350000.000000 + + + + Instantaneous value + 0 + 1 + 3 + Wh + Energy + 402370.000000 + + + + Instantaneous value + 0 + 2 + 3 + Wh + Energy + 450000.000000 + + + + Instantaneous value + 2 + 0 + 1 + W + Power + 224.000000 + + + + Instantaneous value + 4 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 6 + 0 + 1 + W + Power + 0.000000 + + + + Instantaneous value + 8 + 0 + 1 + W + Power + 202.000000 + + + diff --git a/test/test-frames/itron_bm_+m.norm.xml b/test/test-frames/itron_bm_+m.norm.xml new file mode 100644 index 0000000..cfe3327 --- /dev/null +++ b/test/test-frames/itron_bm_+m.norm.xml @@ -0,0 +1,87 @@ + + + + + 11490378 + ACW + 14 + Itron BM +m + Cold water + 41 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 11490378.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 54.321000 + + + + Instantaneous value + 1 + - + Time point (date) + 2000-00-00 + + + + Instantaneous value + 1 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-24T13:29:00Z + + + + Instantaneous value + 0 + s + Operating time + 0.000000 + + + + Instantaneous value + 0 + + Firmware version + 2.000000 + + + + Instantaneous value + 0 + + Software version + 6.000000 + + + + Manufacturer specific + 0 + + + 00 00 8F 13 + + + diff --git a/test/test-frames/itron_cf_51.norm.xml b/test/test-frames/itron_cf_51.norm.xml new file mode 100644 index 0000000..88f6934 --- /dev/null +++ b/test/test-frames/itron_cf_51.norm.xml @@ -0,0 +1,147 @@ + + + + + 11155185 + ACW + 10 + Itron CF 51 + Heat / Cooling load meter + 27 + 10 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 11155185.000000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Value during error state + 0 + W + Power + 99999900.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Value during error state + 0 + °C + Flow temperature + 999.900000 + + + + Value during error state + 0 + °C + Return temperature + 999.900000 + + + + Value during error state + 0 + K + Temperature difference + 9999.990000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-24T13:24:00Z + + + + Instantaneous value + 0 + s + Operating time + 8985600.000000 + + + + Instantaneous value + 0 + + Firmware version + 11.000000 + + + + Instantaneous value + 0 + + Software version + 26.000000 + + + + Instantaneous value + 0 + 0 + 1 + m^3 + Volume + 321.000000 + + + + Instantaneous value + 0 + 0 + 2 + m^3 + Volume + 1.230000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Manufacturer specific + 0 + + + 03 20 + + + diff --git a/test/test-frames/itron_cf_55.norm.xml b/test/test-frames/itron_cf_55.norm.xml new file mode 100644 index 0000000..f035c35 --- /dev/null +++ b/test/test-frames/itron_cf_55.norm.xml @@ -0,0 +1,119 @@ + + + + + 11127667 + ACW + 11 + Itron CF 55 + Heat: Inlet + 11 + 10 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 11127667.000000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Value during error state + 0 + W + Power + 99999900.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Value during error state + 0 + °C + Flow temperature + 999.900000 + + + + Value during error state + 0 + °C + Return temperature + 999.900000 + + + + Value during error state + 0 + K + Temperature difference + 9999.990000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-24T11:47:00Z + + + + Instantaneous value + 0 + s + Operating time + 21772800.000000 + + + + Instantaneous value + 0 + + Firmware version + 10.000000 + + + + Instantaneous value + 0 + + Software version + 21.000000 + + + + Manufacturer specific + 0 + + + 03 20 + + + diff --git a/test/test-frames/itron_cf_echo_2.norm.xml b/test/test-frames/itron_cf_echo_2.norm.xml new file mode 100644 index 0000000..d8ec609 --- /dev/null +++ b/test/test-frames/itron_cf_echo_2.norm.xml @@ -0,0 +1,119 @@ + + + + + 11100091 + ACW + 9 + Itron CF Echo 2 + Heat: Outlet + 81 + 10 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 11100091.000000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Value during error state + 0 + W + Power + 99999900.000000 + + + + Value during error state + 0 + m^3/h + Volume flow + 999.999000 + + + + Instantaneous value + 0 + °C + Flow temperature + 20.500000 + + + + Instantaneous value + 0 + °C + Return temperature + 20.600000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.090000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-24T13:29:00Z + + + + Instantaneous value + 0 + s + Operating time + 33264000.000000 + + + + Instantaneous value + 0 + + Firmware version + 19.000000 + + + + Instantaneous value + 0 + + Software version + 45.000000 + + + + Manufacturer specific + 0 + + + 20 00 + + + diff --git a/test/test-frames/itron_cyble_m-bus_v1.4_cold_water.norm.xml b/test/test-frames/itron_cyble_m-bus_v1.4_cold_water.norm.xml new file mode 100644 index 0000000..da7eb62 --- /dev/null +++ b/test/test-frames/itron_cyble_m-bus_v1.4_cold_water.norm.xml @@ -0,0 +1,79 @@ + + + + + 10020380 + ACW + 20 + Itron CYBLE M-Bus 1.4 + Cold water + 161 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 10020380.000000 + + + + Instantaneous value + 0 + - + cust. ID + + + + + Instantaneous value + 0 + - + Time point (date & time) + 2011-10-25T15:39:00Z + + + + Instantaneous value + 0 + - + bat. time + 4050.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 453.500000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 453.500000 + + + + Manufacturer specific + 0 + + + 00 04 1F + + + diff --git a/test/test-frames/itron_cyble_m-bus_v1.4_gas.norm.xml b/test/test-frames/itron_cyble_m-bus_v1.4_gas.norm.xml new file mode 100644 index 0000000..a325227 --- /dev/null +++ b/test/test-frames/itron_cyble_m-bus_v1.4_gas.norm.xml @@ -0,0 +1,79 @@ + + + + + 10020387 + ACW + 20 + Itron CYBLE M-Bus 1.4 + Gas + 154 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 10020387.000000 + + + + Instantaneous value + 0 + - + cust. ID + + + + + Instantaneous value + 0 + - + Time point (date & time) + 2011-10-25T15:43:00Z + + + + Instantaneous value + 0 + - + bat. time + 4050.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.260000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 0.250000 + + + + Manufacturer specific + 0 + + + 00 02 1F + + + diff --git a/test/test-frames/itron_cyble_m-bus_v1.4_water.norm.xml b/test/test-frames/itron_cyble_m-bus_v1.4_water.norm.xml new file mode 100644 index 0000000..4e120cd --- /dev/null +++ b/test/test-frames/itron_cyble_m-bus_v1.4_water.norm.xml @@ -0,0 +1,79 @@ + + + + + 12000071 + ACW + 20 + Itron CYBLE M-Bus 1.4 + Water + 10 + 30 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 12000071.000000 + + + + Instantaneous value + 0 + - + cust. ID + TEST CYBLE + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-24T13:43:00Z + + + + Instantaneous value + 0 + - + bat. time + 4338.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 123.490000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.200000 + + + + Instantaneous value + 1 + m^3 + Volume + 0.000000 + + + + Manufacturer specific + 0 + + + 10 01 1F + + + diff --git a/test/test-frames/itron_integral_mk_maxx.norm.xml b/test/test-frames/itron_integral_mk_maxx.norm.xml new file mode 100644 index 0000000..bfc9486 --- /dev/null +++ b/test/test-frames/itron_integral_mk_maxx.norm.xml @@ -0,0 +1,139 @@ + + + + + 11817314 + SLB + 6 + CF Compact / Integral MK MaXX + Heat: Outlet + 93 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 11817314.000000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.020000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 21.200000 + + + + Instantaneous value + 0 + °C + Return temperature + 21.100000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.070000 + + + + Value during error state + 0 + s + Operating time + 0.000000 + + + + Instantaneous value + 0 + s + Operating time + 34300800.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-24T14:17:00Z + + + + Instantaneous value + 0 + 0 + 1 + m^3 + Volume + 1.230000 + + + + Instantaneous value + 0 + 0 + 2 + m^3 + Volume + 3.210000 + + + + Instantaneous value + 0 + + Firmware version + 3.000000 + + + + Instantaneous value + 0 + + Software version + 18.000000 + + + + Manufacturer specific + 0 + + + 00 16 + + + diff --git a/test/test-frames/kamstrup_382_005.norm.xml b/test/test-frames/kamstrup_382_005.norm.xml new file mode 100644 index 0000000..d3246e1 --- /dev/null +++ b/test/test-frames/kamstrup_382_005.norm.xml @@ -0,0 +1,75 @@ + + + + + 14839120 + KAM + 1 + Kamstrup 382 (6850-005) + Electricity + 4 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + s + On time + 32400.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Maximum value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + 1 + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 2 + 1 + Wh + Energy + 0.000000 + + + + Manufacturer specific + 0 + + + 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 + + + diff --git a/test/test-frames/kamstrup_multical_601.norm.xml b/test/test-frames/kamstrup_multical_601.norm.xml new file mode 100644 index 0000000..769a90b --- /dev/null +++ b/test/test-frames/kamstrup_multical_601.norm.xml @@ -0,0 +1,259 @@ + + + + + 6855817 + KAM + 8 + Kamstrup Multical 601 + Heat: Outlet + 4 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 6855817.000000 + + + + Instantaneous value + 0 + Wh + Energy + 37351000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 561.080000 + + + + Instantaneous value + 0 + s + On time + 3546000.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 101.690000 + + + + Instantaneous value + 0 + °C + Return temperature + 46.160000 + + + + Instantaneous value + 0 + K + Temperature difference + 55.530000 + + + + Instantaneous value + 0 + W + Power + 34700.000000 + + + + Maximum value + 0 + W + Power + 44800.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.543000 + + + + Maximum value + 0 + m^3/h + Volume flow + 0.628000 + + + + Instantaneous value + 0 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + 0 + 2 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + 0 + 3 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2011-01-05T15:26:00Z + + + + Instantaneous value + 1 + Wh + Energy + 33361000.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 500.980000 + + + + Maximum value + 1 + W + Power + 55000.000000 + + + + Maximum value + 1 + m^3/h + Volume flow + 1.027000 + + + + Instantaneous value + 1 + 1 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + 0 + 1 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + 0 + 2 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + 0 + 3 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2010-12-31 + + + + Manufacturer specific + 0 + + + 00 00 00 00 E7 E4 00 00 63 66 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5B C9 A5 02 34 53 00 00 E0 B2 03 00 89 9C 68 00 00 00 00 00 01 00 01 07 07 09 01 03 00 00 00 00 00 + + + diff --git a/test/test-frames/landis+gyr_ultraheat_t230.norm.xml b/test/test-frames/landis+gyr_ultraheat_t230.norm.xml new file mode 100644 index 0000000..d30f1cd --- /dev/null +++ b/test/test-frames/landis+gyr_ultraheat_t230.norm.xml @@ -0,0 +1,327 @@ + + + + + 66660205 + LUG + 7 + Landis & Gyr Ultraheat T230 + Heat: Outlet + 1 + 10 + 0000 + + + + Instantaneous value + 0 + s + Averaging Duration + 4.000000 + + + + Instantaneous value + 0 + s + Averaging Duration + 8.000000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 19.500000 + + + + Instantaneous value + 0 + °C + Return temperature + 19.700000 + + + + Instantaneous value + 0 + K + Temperature difference + -0.200000 + + + + Instantaneous value + 0 + + Fabrication No + 66660205.000000 + + + + Instantaneous value + 0 + 1 + 0 + s + Averaging Duration + 420.000000 + + + + Value during error state + 0 + s + On time + 13568400.000000 + + + + Instantaneous value + 0 + s + On time + 13568400.000000 + + + + Instantaneous value + 0 + s + Operating time + 0.000000 + + + + Instantaneous value + 0 + 5 + 0 + Wh + Energy + 0.000000 + + + + Maximum value + 0 + 1 + 0 + W + Power + 0.000000 + + + + Maximum value + 0 + 1 + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 0 + 1 + 0 + °C + Flow temperature + 30.700000 + + + + Maximum value + 0 + 1 + 0 + °C + Return temperature + 50.700000 + + + + Maximum value + 0 + 1 + 0 + W + Power + 0.000000 + + + + Maximum value + 0 + 1 + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 0 + 1 + 0 + °C + Flow temperature + 41065374.600000 + + + + Maximum value + 0 + 1 + 0 + °C + Return temperature + 40953732.300000 + + + + Instantaneous value + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 0.000000 + + + + Value during error state + 1 + s + On time + 12488400.000000 + + + + Instantaneous value + 1 + s + Operating time + 0.000000 + + + + Instantaneous value + 1 + 5 + 0 + Wh + Energy + 0.000000 + + + + Maximum value + 1 + 1 + 0 + W + Power + 0.000000 + + + + Maximum value + 1 + 1 + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 1 + 1 + 0 + °C + Flow temperature + 30.700000 + + + + Maximum value + 1 + 1 + 0 + °C + Return temperature + 50.700000 + + + + Instantaneous value + 510 + 0 + 0 + - + Time point (date & time) + 2127-01-01T00:00:00Z + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-13T12:04:00Z + + + + Manufacturer specific + 0 + + + 09 07 00 66 01 + + + diff --git a/test/test-frames/manual_frame2.norm.xml b/test/test-frames/manual_frame2.norm.xml new file mode 100644 index 0000000..c612475 --- /dev/null +++ b/test/test-frames/manual_frame2.norm.xml @@ -0,0 +1,23 @@ + + + + + 12345678 + Water + 10 + 00 + + + + Actual value + l + 1 + + + + Actual value + reserved but historic + 135 + + + diff --git a/test/test-frames/manual_frame3.norm.xml b/test/test-frames/manual_frame3.norm.xml new file mode 100644 index 0000000..0b29cb8 --- /dev/null +++ b/test/test-frames/manual_frame3.norm.xml @@ -0,0 +1,43 @@ + + + + + 12345678 + PAD + 1 + + Water + 85 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 12.565000 + + + + Maximum value + 5 + 0 + 0 + m^3/h + Volume flow + 0.113000 + + + + Instantaneous value + 0 + 2 + 1 + Wh + Energy + 218370.000000 + + + diff --git a/test/test-frames/manual_frame7.norm.xml b/test/test-frames/manual_frame7.norm.xml new file mode 100644 index 0000000..28c78ac --- /dev/null +++ b/test/test-frames/manual_frame7.norm.xml @@ -0,0 +1,23 @@ + + + + + 12345678 + PAD + 1 + + Water + 19 + 00 + 0000 + + + + Instantaneous value + 0 + + Fabrication No + 1020304.000000 + + + diff --git a/test/test-frames/metrona_pollutherm.norm.xml b/test/test-frames/metrona_pollutherm.norm.xml new file mode 100644 index 0000000..b3f7493 --- /dev/null +++ b/test/test-frames/metrona_pollutherm.norm.xml @@ -0,0 +1,95 @@ + + + + + 44950146 + SPX + 52 + Sensus PolluTherm + Heat: Outlet + 84 + 10 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 0.000000 + + + + Instantaneous value + 0 + °C + Return temperature + 0.000000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.000000 + + + + Instantaneous value + 0 + + Fabrication No + 44950146.000000 + + + + Instantaneous value + 0 + + Customer location + 44950146.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/metrona_ultraheat_xs.norm.xml b/test/test-frames/metrona_ultraheat_xs.norm.xml new file mode 100644 index 0000000..82423fe --- /dev/null +++ b/test/test-frames/metrona_ultraheat_xs.norm.xml @@ -0,0 +1,379 @@ + + + + + 1810054 + LUG + 2 + Landis & Gyr Ultraheat 2WR5 + Heat: Outlet + 15 + 10 + 0000 + + + + Instantaneous value + 0 + s + Averaging Duration + 4.000000 + + + + Instantaneous value + 0 + s + Averaging Duration + 4.000000 + + + + Instantaneous value + 0 + Wh + Energy + 19969000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 26492.180000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 0.000000 + + + + Instantaneous value + 0 + °C + Return temperature + 0.000000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 26492.180000 + + + + Instantaneous value + 1 + Wh + Energy + 19969000.000000 + + + + Instantaneous value + 0 + + Fabrication No + 65110054.000000 + + + + Instantaneous value + 0 + 1 + 0 + s + Averaging Duration + 3600.000000 + + + + Maximum value + 0 + 1 + 0 + W + Power + 31600.000000 + + + + Maximum value + 1 + 1 + 0 + W + Power + 31600.000000 + + + + Maximum value + 0 + 1 + 0 + m^3/h + Volume flow + 8.820000 + + + + Maximum value + 0 + 1 + 0 + °C + Flow temperature + 44.000000 + + + + Maximum value + 0 + 1 + 0 + °C + Return temperature + 40.000000 + + + + Instantaneous value + 0 + s + On time + 252241200.000000 + + + + Value during error state + 0 + s + On time + 185792400.000000 + + + + Value during error state + 1 + s + On time + 172141200.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2000-01-01 + + + + Instantaneous value + 0 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 3 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + 4 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + 3 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + 4 + 0 + Wh + Energy + 0.000000 + + + + Maximum value + 2 + 1 + 0 + °C + Flow temperature + 36.000000 + + + + Maximum value + 2 + 1 + 0 + °C + Return temperature + 40.000000 + + + + Maximum value + 2 + 1 + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 2 + 1 + 0 + W + Power + 0.000000 + + + + Value during error state + 2 + 0 + 0 + s + On time + 185274000.000000 + + + + Instantaneous value + 2 + 0 + 0 + Wh + Energy + 19969000.000000 + + + + Instantaneous value + 2 + 2 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 2 + 3 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 2 + 4 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 2 + 0 + 0 + m^3 + Volume + 26492.180000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-06-07T00:38:00Z + + + + Manufacturer specific + 0 + + + 03 02 00 00 23 + + + diff --git a/test/test-frames/minol_minocal_c2.norm.xml b/test/test-frames/minol_minocal_c2.norm.xml new file mode 100644 index 0000000..bb7cafb --- /dev/null +++ b/test/test-frames/minol_minocal_c2.norm.xml @@ -0,0 +1,335 @@ + + + + + 31425084 + ZRM + 129 + Minol Minocal C2 + Heat: Outlet + 36 + 27 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + + Instantaneous value + 8 + 0 + 0 + - + Time point (date & time) + 2013-01-01T00:00:00Z + + + + Instantaneous value + 8 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 10 + 0 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.073000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 1 + m^3/h + Volume flow + 0.043000 + + + + Maximum value + 1 + - + Time point (date & time) + 2011-09-01T08:30:00Z + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Maximum value + 2 + 0 + 0 + W + Power + 2000.000000 + + + + Maximum value + 2 + 0 + 0 + - + Time point (date & time) + 2011-09-01T08:30:00Z + + + + Instantaneous value + 0 + °C + Flow temperature + 20.090000 + + + + Instantaneous value + 0 + °C + Return temperature + 19.270000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-13T11:53:00Z + + + + Instantaneous value + 32 + 0 + 0 + - + Time point (date) + 2012-01-01 + + + + Instantaneous value + 32 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 33 + 0 + 0 + - + Time point (date) + 2011-12-01 + + + + Instantaneous value + 33 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 34 + 0 + 0 + - + Time point (date) + 2011-11-01 + + + + Instantaneous value + 34 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 35 + 0 + 0 + - + Time point (date) + 2011-10-01 + + + + Instantaneous value + 35 + 0 + 0 + Wh + Energy + 3000.000000 + + + + Instantaneous value + 36 + 0 + 0 + - + Time point (date) + 2011-09-01 + + + + Instantaneous value + 36 + 0 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 37 + 0 + 0 + - + Time point (date) + 2011-08-01 + + + + Instantaneous value + 37 + 0 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 38 + 0 + 0 + - + Time point (date) + 2011-07-01 + + + + Instantaneous value + 38 + 0 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 39 + 0 + 0 + - + Time point (date) + 2011-06-01 + + + + Instantaneous value + 39 + 0 + 0 + Wh + Energy + 0.000000 + + + + Maximum value + 32 + 0 + 0 + - + Time point (date) + 2012-01-01 + + + + Maximum value + 32 + 0 + 0 + m^3/h + Volume flow + 0.001000 + + + + Maximum value + 32 + 0 + 0 + W + Power + 0.000000 + + + diff --git a/test/test-frames/minol_minocal_wr3.norm.xml b/test/test-frames/minol_minocal_wr3.norm.xml new file mode 100644 index 0000000..19ddead --- /dev/null +++ b/test/test-frames/minol_minocal_wr3.norm.xml @@ -0,0 +1,285 @@ + + + + + 31802759 + ZRM + 130 + Minol Minocal WR3 + Heat: Outlet + 43 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.010000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 0.000000 + + + + Instantaneous value + 0 + °C + Return temperature + 0.000000 + + + + Instantaneous value + 8 + 0 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 9 + 0 + 0 + - + Time point (date & time) + 2012-01-01T00:00:00Z + + + + Maximum value + 2 + 0 + 0 + W + Power + 0.000000 + + + + Maximum value + 2 + 0 + 0 + - + Time point (date & time) + 2012-01-13T11:30:00Z + + + + Maximum value + 1 + m^3/h + Volume flow + 0.010000 + + + + Maximum value + 1 + - + Time point (date & time) + 2011-03-24T07:30:00Z + + + + Instantaneous value + 0 + 0 + 1 + + (Enhanced) Identification + 0.000000 + + + + Instantaneous value + 0 + 0 + 1 + + Device type + 7.000000 + + + + Instantaneous value + 0 + 0 + 1 + m^3 + Volume + 0.001000 + + + + Instantaneous value + 9 + 0 + 0 + m^3 + Volume + 0.001000 + + + + Instantaneous value + 0 + 0 + 2 + + (Enhanced) Identification + 0.000000 + + + + Instantaneous value + 0 + 0 + 2 + m^3 + Volume + 0.001000 + + + + Instantaneous value + 0 + 0 + 2 + + Device type + 7.000000 + + + + Instantaneous value + 10 + 0 + 0 + m^3 + Volume + 0.001000 + + + + Instantaneous value + 0 + + Error flags + 4.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2012-01-13T12:01:00Z + + + + Instantaneous value + 32 + 0 + 0 + - + Time point (date) + 2012-01-01 + + + + Instantaneous value + 32 + 0 + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 32 + 0 + 1 + m^3 + Volume + 0.001000 + + + + Instantaneous value + 32 + 0 + 2 + m^3 + Volume + 0.001000 + + + + Maximum value + 32 + 0 + 0 + - + Time point (date) + 2012-01-01 + + + + Maximum value + 32 + 0 + 0 + m^3/h + Volume flow + 0.000000 + + + + Maximum value + 32 + 0 + 0 + W + Power + 0.000000 + + + diff --git a/test/test-frames/nzr_dhz_5_63.norm.xml b/test/test-frames/nzr_dhz_5_63.norm.xml new file mode 100644 index 0000000..46dfb58 --- /dev/null +++ b/test/test-frames/nzr_dhz_5_63.norm.xml @@ -0,0 +1,71 @@ + + + + + 30100608 + NZR + 1 + NZR DHZ 5/63 + Electricity + 1 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 1274.000000 + + + + Instantaneous value + 0 + Wh + Energy + 1274.000000 + + + + Instantaneous value + 0 + V + Voltage + 237.200000 + + + + Instantaneous value + 0 + A + Current + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + + Fabrication No + 30100608.000000 + + + + Manufacturer specific + 0 + + + 0E + + + diff --git a/test/test-frames/oms_frame1.norm.xml b/test/test-frames/oms_frame1.norm.xml new file mode 100644 index 0000000..1dfd864 --- /dev/null +++ b/test/test-frames/oms_frame1.norm.xml @@ -0,0 +1,39 @@ + + + + + 12345678 + ELS + 51 + + Gas + 42 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 28504.270000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2008-05-31T23:50:00Z + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + diff --git a/test/test-frames/oms_frame2.norm.xml b/test/test-frames/oms_frame2.norm.xml new file mode 100644 index 0000000..480c892 --- /dev/null +++ b/test/test-frames/oms_frame2.norm.xml @@ -0,0 +1,55 @@ + + + + + 92752244 + HYD + 41 + + Water + 31 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 2850.427000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.127000 + + + + Instantaneous value + 1 + m^3 + Volume + 1445.419000 + + + + Instantaneous value + 1 + - + Time point (date) + 2007-12-31 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + diff --git a/test/test-frames/oms_frame3.norm.xml b/test/test-frames/oms_frame3.norm.xml new file mode 100644 index 0000000..f144e0e --- /dev/null +++ b/test/test-frames/oms_frame3.norm.xml @@ -0,0 +1,87 @@ + + + + + 12345678 + HYD + 42 + + Heat: Outlet + 38 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 2850427000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 703.476000 + + + + Instantaneous value + 1 + Wh + Energy + 1445419000.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2007-12-31 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.127000 + + + + Instantaneous value + 0 + W + Power + 329.700000 + + + + Instantaneous value + 0 + °C + Flow temperature + 44.300000 + + + + Instantaneous value + 0 + °C + Return temperature + 25.100000 + + + + Instantaneous value + 0 + + Error flags + 0.000000 + + + diff --git a/test/test-frames/ram_modularis.norm.xml b/test/test-frames/ram_modularis.norm.xml new file mode 100644 index 0000000..3f6b3f9 --- /dev/null +++ b/test/test-frames/ram_modularis.norm.xml @@ -0,0 +1,311 @@ + + + + + 25776 + RAM + 3 + Rossweiner ETK/ETW Modularis + Water + 139 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 10.116000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2013-10-18T21:40:00Z + + + + Instantaneous value + 1 + - + Time point (date) + 2013-09-28 + + + + Instantaneous value + 1 + m^3 + Volume + 8.393000 + + + + Instantaneous value + 1 + - + Time point (date) + 2014-09-28 + + + + Instantaneous value + 0 + + Fabrication No + 25776.000000 + + + + Instantaneous value + 2 + 0 + 0 + - + Time point (date) + 2013-09-30 + + + + Instantaneous value + 2 + 0 + 0 + m^3 + Volume + 8.527000 + + + + Instantaneous value + 3 + 0 + 0 + - + Time point (date) + 2012-10-31 + + + + Instantaneous value + 3 + 0 + 0 + m^3 + Volume + 99999.995000 + + + + Instantaneous value + 4 + 0 + 0 + - + Time point (date) + 2012-11-30 + + + + Instantaneous value + 4 + 0 + 0 + m^3 + Volume + 99999.993000 + + + + Instantaneous value + 5 + 0 + 0 + - + Time point (date) + 2012-12-31 + + + + Instantaneous value + 5 + 0 + 0 + m^3 + Volume + 0.782000 + + + + Instantaneous value + 6 + 0 + 0 + - + Time point (date) + 2013-01-31 + + + + Instantaneous value + 6 + 0 + 0 + m^3 + Volume + 1.929000 + + + + Instantaneous value + 7 + 0 + 0 + - + Time point (date) + 2013-02-28 + + + + Instantaneous value + 7 + 0 + 0 + m^3 + Volume + 3.092000 + + + + Instantaneous value + 8 + 0 + 0 + - + Time point (date) + 2013-03-31 + + + + Instantaneous value + 8 + 0 + 0 + m^3 + Volume + 4.661000 + + + + Instantaneous value + 9 + 0 + 0 + - + Time point (date) + 2013-04-30 + + + + Instantaneous value + 9 + 0 + 0 + m^3 + Volume + 4.767000 + + + + Instantaneous value + 10 + 0 + 0 + - + Time point (date) + 2013-05-31 + + + + Instantaneous value + 10 + 0 + 0 + m^3 + Volume + 5.124000 + + + + Instantaneous value + 11 + 0 + 0 + - + Time point (date) + 2013-06-30 + + + + Instantaneous value + 11 + 0 + 0 + m^3 + Volume + 5.176000 + + + + Instantaneous value + 12 + 0 + 0 + - + Time point (date) + 2013-07-31 + + + + Instantaneous value + 12 + 0 + 0 + m^3 + Volume + 5.246000 + + + + Instantaneous value + 13 + 0 + 0 + - + Time point (date) + 2013-08-31 + + + + Instantaneous value + 13 + 0 + 0 + m^3 + Volume + 5.668000 + + + + Manufacturer specific + 0 + + + 01 00 00 + + + diff --git a/test/test-frames/rel_padpuls2.norm.xml b/test/test-frames/rel_padpuls2.norm.xml new file mode 100644 index 0000000..14f88c8 --- /dev/null +++ b/test/test-frames/rel_padpuls2.norm.xml @@ -0,0 +1,63 @@ + + + + + 4 + REL + 18 + Relay PadPuls M4 + Other + 1 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2001-09-20T13:16:00Z + + + + Instantaneous value + 1 + - + Time point (date) + 2000-12-31 + + + + Instantaneous value + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2001-12-31 + + + + Manufacturer specific + 0 + + + 43 01 01 00 + + + diff --git a/test/test-frames/rel_padpuls3.norm.xml b/test/test-frames/rel_padpuls3.norm.xml new file mode 100644 index 0000000..b6dafa7 --- /dev/null +++ b/test/test-frames/rel_padpuls3.norm.xml @@ -0,0 +1,63 @@ + + + + + 1030101 + REL + 64 + Relay PadPuls M2 + Heat Cost Allocator + 30 + 00 + 0000 + + + + Instantaneous value + 0 + Units for H.C.A. + H.C.A. + 1987.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2000-12-31T10:41:00Z + + + + Instantaneous value + 1 + - + Time point (date) + 2000-12-31 + + + + Instantaneous value + 1 + Units for H.C.A. + H.C.A. + 1302.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2001-12-31 + + + + Manufacturer specific + 0 + + + C0 01 01 0C + + + diff --git a/test/test-frames/sen_pollusonic_2.norm.xml b/test/test-frames/sen_pollusonic_2.norm.xml new file mode 100644 index 0000000..1605e32 --- /dev/null +++ b/test/test-frames/sen_pollusonic_2.norm.xml @@ -0,0 +1,23 @@ + + + + + 90919293 + Heat + 16 + 00 + + + + Actual value + kWh + 6531 + + + + Actual value + l + 69 + + + diff --git a/test/test-frames/sen_pollutherm.norm.xml b/test/test-frames/sen_pollutherm.norm.xml new file mode 100644 index 0000000..56b08c3 --- /dev/null +++ b/test/test-frames/sen_pollutherm.norm.xml @@ -0,0 +1,90 @@ + + + + + 21050076 + SPX + 49 + Sensus PolluTherm + Heat: Outlet + 81 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 8640000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 7998.920000 + + + + + + + Instantaneous value + 0 + W + Power + 54580.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 75.500000 + + + + Instantaneous value + 0 + °C + Return temperature + 59.400000 + + + + Instantaneous value + 0 + K + Temperature difference + 16.076000 + + + + Instantaneous value + 0 + + Fabrication No + 21050076.000000 + + + + Instantaneous value + 0 + + Customer location + 21050076.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/siemens_water.norm.xml b/test/test-frames/siemens_water.norm.xml new file mode 100644 index 0000000..895a7a5 --- /dev/null +++ b/test/test-frames/siemens_water.norm.xml @@ -0,0 +1,95 @@ + + + + + 8021382 + LSE + 153 + Siemens WFH21 + Warm water (30-90°C) + 235 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.101000 + + + + Instantaneous value + 0 + s + On time + 75427200.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2011-09-14T08:56:00Z + + + + Value during error state + 0 + - + Time point (date) + 2000-00-00 + + + + Instantaneous value + 0 + + Fabrication No + 8021382.000000 + + + + Instantaneous value + 0 + + Device type + 2173253517322.000000 + + + + Instantaneous value + 0 + + Parameter set identification + WFH21 + + + + Instantaneous value + 0 + + Firmware version + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Manufacturer specific + 0 + + + 37 FD 17 00 00 00 00 00 00 00 00 02 7A 0D 00 02 78 0D 00 + + + diff --git a/test/test-frames/siemens_wfh21.norm.xml b/test/test-frames/siemens_wfh21.norm.xml new file mode 100644 index 0000000..afd7f9f --- /dev/null +++ b/test/test-frames/siemens_wfh21.norm.xml @@ -0,0 +1,103 @@ + + + + + 8006491 + LSE + 153 + Siemens WFH21 + Warm water (30-90°C) + 218 + 00 + 0000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + s + On time + 158709600.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2011-12-01T10:36:00Z + + + + Value during error state + 0 + - + Time point (date) + 2000-00-00 + + + + Instantaneous value + 0 + + Fabrication No + 8006491.000000 + + + + Instantaneous value + 0 + + Device type + 2173253517322.000000 + + + + Instantaneous value + 0 + + Parameter set identification + WFH21 + + + + Instantaneous value + 0 + + Firmware version + 0.000000 + + + + Instantaneous value + 1 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2010-12-31 + + + + Manufacturer specific + 0 + + + 37 FD 17 00 00 00 00 00 00 00 00 02 7A 25 00 02 78 25 00 + + + diff --git a/test/test-frames/sontex_supercal_531_telegram1.norm.xml b/test/test-frames/sontex_supercal_531_telegram1.norm.xml new file mode 100644 index 0000000..be48c61 --- /dev/null +++ b/test/test-frames/sontex_supercal_531_telegram1.norm.xml @@ -0,0 +1,111 @@ + + + + + 8420624 + SON + 13 + Sontex Supercal 531 + Heat: Outlet + 44 + 30 + 0000 + + + + Instantaneous value + 0 + J + Energy + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 0.000000 + + + + Instantaneous value + 0 + °C + Return temperature + 0.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 1 + 0 + 0 + J + Energy + 0.000000 + + + + Instantaneous value + 1 + 0 + 0 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + 0 + 1 + m^3 + Volume + 0.000000 + + + + Instantaneous value + 1 + 0 + 2 + m^3 + Volume + 0.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/svm_f22_telegram1.norm.xml b/test/test-frames/svm_f22_telegram1.norm.xml new file mode 100644 index 0000000..48b8404 --- /dev/null +++ b/test/test-frames/svm_f22_telegram1.norm.xml @@ -0,0 +1,133 @@ + + + + + 1006089 + SVM + 9 + Elster F4 / Kamstrup SVM F22 + Heat: Inlet + 148 + 70 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 28014000.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 640.581000 + + + + Instantaneous value + 0 + 0 + 1 + m^3 + Volume + 640.581000 + + + + Instantaneous value + 0 + °C + Flow temperature + 243.000000 + + + + Instantaneous value + 0 + °C + Return temperature + 243.000000 + + + + Instantaneous value + 0 + K + Temperature difference + 0.000000 + + + + Instantaneous value + 0 + s + On time + 22932000.000000 + + + + Instantaneous value + 0 + s + Operating time + 22906800.000000 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2021-02-08T21:12:00Z + + + + Instantaneous value + 0 + 0 + 1 + Units for H.C.A. + H.C.A. + 0.000000 + + + + Instantaneous value + 0 + 0 + 2 + Units for H.C.A. + H.C.A. + 0.000000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/tch_telegramm1.norm.xml b/test/test-frames/tch_telegramm1.norm.xml new file mode 100644 index 0000000..bdaaa22 --- /dev/null +++ b/test/test-frames/tch_telegramm1.norm.xml @@ -0,0 +1,95 @@ + + + + + 21519982 + TCH + 38 + Techem m-bus S + Heat: Outlet + 133 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 0.000000 + + + + Instantaneous value + 0 + - + Time point (date & time) + 2000-09-29T13:50:00Z + + + + Instantaneous value + 1 + Wh + Energy + 0.000000 + + + + Instantaneous value + 1 + - + Time point (date) + 2000-05-29 + + + + Instantaneous value + 0 + m^3/h + Volume flow + 0.000000 + + + + Instantaneous value + 0 + °C + Flow temperature + 23.400000 + + + + Instantaneous value + 0 + °C + Return temperature + 22.400000 + + + + Instantaneous value + 0 + W + Power + 0.000000 + + + + Instantaneous value + 0 + m^3 + Volume + 0.064000 + + + + More records follow + 0 + + + + + + diff --git a/test/test-frames/wmbus-converted.norm.xml b/test/test-frames/wmbus-converted.norm.xml new file mode 100644 index 0000000..f7a0134 --- /dev/null +++ b/test/test-frames/wmbus-converted.norm.xml @@ -0,0 +1,23 @@ + + + + + 17677731 + KAM + 1 + Kamstrup 382 (6850-005) + Electricity + 0 + 00 + 0000 + + + + Instantaneous value + 0 + Wh + Energy + 5000.000000 + + +