diff --git a/doc/Aidon_OBIS.txt b/doc/Aidon_OBIS.txt index ad091abc..d1ebe77a 100644 --- a/doc/Aidon_OBIS.txt +++ b/doc/Aidon_OBIS.txt @@ -1,6 +1,6 @@ -1.1.0.2.129.255 -0.0.96.1.0.255 -0.0.96.1.7.255 +1.1.0.2.129.255 - List version identifier +0.0.96.1.0.255 - Meter ID +0.0.96.1.7.255 - Meter Model 1.0.1.7.0.255 - Active+ Instantaneous value 1.0.2.7.0.255 - Active- Instantaneous value 1.0.3.7.0.255 - Reactive+ Instantaneous value diff --git a/doc/Kamstrup_encrypted_OBIS.txt b/doc/Kamstrup_encrypted_OBIS.txt index 346a3483..50bd7aff 100644 --- a/doc/Kamstrup_encrypted_OBIS.txt +++ b/doc/Kamstrup_encrypted_OBIS.txt @@ -2,12 +2,12 @@ 1.1.2.8.0.255 - Active- Energy 1.1.3.8.0.255 - Reactive+ Energy 1.1.4.8.0.255 - Reactive- Energy -1.1.0.0.1.255 +1.1.0.0.1.255 - Electricity ID? 1.1.1.7.0.255 - Active+ Instantaneous value 1.1.2.7.0.255 - Active- Instantaneous value 1.1.3.7.0.255 - Reactive+ Instantaneous value 1.1.4.7.0.255 - Reactive- Instantaneous value -0.1.1.0.0.255 +0.1.1.0.0.255 - Current date/time 1.1.32.7.0.255 - L1 Voltage Instantaneous value 1.1.52.7.0.255 - L2 Voltage Instantaneous value 1.1.72.7.0.255 - L3 Voltage Instantaneous value diff --git a/doc/Kamstrup_encrypted_data.xml b/doc/Kamstrup_encrypted_data.xml new file mode 100644 index 00000000..4474e3b4 --- /dev/null +++ b/doc/Kamstrup_encrypted_data.xml @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/AmsData.cpp b/src/AmsData.cpp index b4f70160..1b7625f8 100644 --- a/src/AmsData.cpp +++ b/src/AmsData.cpp @@ -4,7 +4,7 @@ uint8_t AMS_OBIS_VERSION[6] = { 1, 1, 0, 2, 129, 255 }; uint8_t AMS_OBIS_METER_MODEL[6] = { 0, 0, 96, 1, 7, 255 }; uint8_t AMS_OBIS_METER_ID[6] = { 0, 0, 96, 1, 0, 255 }; -uint8_t AMS_OBIS_METER_TIMESTAMP[6] = { 0, 0, 1, 0, 0, 255 }; +uint8_t AMS_OBIS_METER_TIMESTAMP[6] = { 1, 0, 0, 255 }; uint8_t AMS_OBIS_ACTIVE_IMPORT[6] = { 1, 7, 0, 255 }; uint8_t AMS_OBIS_ACTIVE_IMPORT_L1[6] = { 21, 7, 0, 255 }; uint8_t AMS_OBIS_ACTIVE_IMPORT_L2[6] = { 41, 7, 0, 255 };