Skip to content

Landis+Gyr E450 Feature request: Get timestamp from DLMS header. #17

Description

@TheNetStriker

My Landis+Gyr E450 in switzerland does not send an OBIS code with a timestamp.

Would it be possible to add a feature to get the timestamp from the DLMS header instead? Here is an example message:

7ea084ceff0313128be6e700e04000010000700f005849660c07ea061d01153a14ff800000021c011c020412002809060008190900ff0f021200000204120001090600002a0000ff0f02120000020412000309060101010800ff0f02120000020412000309060101020800ff0f02120000020412000309060101030800ff0f02120000259d7e7ea07dceff0313d045e040000200006c020412000309060101040800ff0f02120000020412000109060000600e00ff0f02120000020412000309060100010700ff0f02120000020412000309060100020700ff0f02120000020412000309060100200700ff0f02120000020412000309060100340700ff0f02120000fef57e7ea07dceff0313d045e040000300006c020412000309060100480700ff0f021200000204120003090601001f0700ff0f02120000020412000309060100330700ff0f02120000020412000309060100470700ff0f02120000020412000309060100150700ff0f02120000020412000309060100290700ff0f02120000fb657e7ea07dceff0313d045e040000400006c0204120003090601003d0700ff0f02120000020412000309060100160700ff0f021200000204120003090601002a0700ff0f021200000204120003090601003e0700ff0f02120000020412000309060100170700ff0f021200000204120003090601002b0700ff0f02120000c8ff7e7ea087ceff0313de96e04000050000760204120003090601003f0700ff0f02120000020412000309060100180700ff0f021200000204120003090601002c0700ff0f02120000020412000309060100400700ff0f02120000020412000109060000600d00ff0f0212000009104c475a31303330363636303038323132060081329306007890d4f17a7e7ea088ceff031322fce0400006000077060000b06c06005a1ae909085241544531000000060000000206000000001200e81200e71200e71200bf1200b112011c0600000000060000005906000000e906000001400600000000060000000006000000000600000000060000000006000000ce060000016806000001690915436f6e73756d65722012727e7ea01dceff031363e4e0c0000700000c4d657373616765205465787421937e

And here is the XML output from GXDLMSDirector:

<DataNotification>
  <!-- Invoke ID: 5785958 -->
  <LongInvokeIdAndPriority Value="00584966" />
  <!-- 29.06.2026 21:58:20 -->
  <DateTime Value="07EA061D01153A14FF800000" />
  <NotificationBody>
    <DataValue>
      <Structure Qty="1C" >
        <Array Qty="1C" >
          <Structure Qty="04" >
            <UInt16 Value="0028" />
            <!-- 0.8.25.9.0.255 -->
            <OctetString Value="0008190900FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0001" />
            <!-- 0.0.42.0.0.255 -->
            <OctetString Value="00002A0000FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.1.1.8.0.255 -->
            <OctetString Value="0101010800FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.1.2.8.0.255 -->
            <OctetString Value="0101020800FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.1.3.8.0.255 -->
            <OctetString Value="0101030800FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.1.4.8.0.255 -->
            <OctetString Value="0101040800FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0001" />
            <!-- 0.0.96.14.0.255 -->
            <OctetString Value="0000600E00FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.1.7.0.255 -->
            <OctetString Value="0100010700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.2.7.0.255 -->
            <OctetString Value="0100020700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.32.7.0.255 -->
            <OctetString Value="0100200700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.52.7.0.255 -->
            <OctetString Value="0100340700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.72.7.0.255 -->
            <OctetString Value="0100480700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.31.7.0.255 -->
            <OctetString Value="01001F0700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.51.7.0.255 -->
            <OctetString Value="0100330700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.71.7.0.255 -->
            <OctetString Value="0100470700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.21.7.0.255 -->
            <OctetString Value="0100150700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.41.7.0.255 -->
            <OctetString Value="0100290700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.61.7.0.255 -->
            <OctetString Value="01003D0700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.22.7.0.255 -->
            <OctetString Value="0100160700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.42.7.0.255 -->
            <OctetString Value="01002A0700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.62.7.0.255 -->
            <OctetString Value="01003E0700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.23.7.0.255 -->
            <OctetString Value="0100170700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.43.7.0.255 -->
            <OctetString Value="01002B0700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.63.7.0.255 -->
            <OctetString Value="01003F0700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.24.7.0.255 -->
            <OctetString Value="0100180700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.44.7.0.255 -->
            <OctetString Value="01002C0700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0003" />
            <!-- 1.0.64.7.0.255 -->
            <OctetString Value="0100400700FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
          <Structure Qty="04" >
            <UInt16 Value="0001" />
            <!-- 0.0.96.13.0.255 -->
            <OctetString Value="0000600D00FF" />
            <Int8 Value="02" />
            <UInt16 Value="0000" />
          </Structure>
        </Array>
        <!-- LGZ1030666008212 -->
        <OctetString Value="4C475A31303330363636303038323132" />
        <UInt32 Value="00813293" />
        <UInt32 Value="007890D4" />
        <UInt32 Value="0000B06C" />
        <UInt32 Value="005A1AE9" />
        <OctetString Value="5241544531000000" />
        <UInt32 Value="00000002" />
        <UInt32 Value="00000000" />
        <UInt16 Value="00E8" />
        <UInt16 Value="00E7" />
        <UInt16 Value="00E7" />
        <UInt16 Value="00BF" />
        <UInt16 Value="00B1" />
        <UInt16 Value="011C" />
        <UInt32 Value="00000000" />
        <UInt32 Value="00000059" />
        <UInt32 Value="000000E9" />
        <UInt32 Value="00000140" />
        <UInt32 Value="00000000" />
        <UInt32 Value="00000000" />
        <UInt32 Value="00000000" />
        <UInt32 Value="00000000" />
        <UInt32 Value="00000000" />
        <UInt32 Value="000000CE" />
        <UInt32 Value="00000168" />
        <UInt32 Value="00000169" />
        <!-- Consumer Message Text -->
        <OctetString Value="436F6E73756D6572204D6573736167652054657874" />
      </Structure>
    </DataValue>
  </NotificationBody>
</DataNotification>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions