I have a question, we have to develop a Push listener, we have make some tests with an iskra meter, it uses the DLMS DataNotification service for various event types (on connect, on installation, last gasp, alarms, ...) or scheduled push messages (load profiles, ...).
The problem when we decode the received message, in the <NotificationBody> node we can have different objects and we are unable to differentiate what
king of push event it is...
The push message of the meter might be configured to send anything.
There is usually a Logical Device Name (Meter serial number) and then the OBIS code that tells what push message is sent. When you know what message is sent you know what content it should include.
Thank you for your reply, This confirms that we haven't missed something :)
It's a pity that the default behavior of meters they don't send something that describes the push message content... I don't understand how it can be used without that ?
It makes sense if we only have one type of message.
To be sure to understand, I have attached a screenshot of our push setup objects, for example the first contains Logical Device Name (attr 2) and ip4Setup (attr 3).
So I have to add an object with LN 0.0.25.9.0.255 (attr 1) ?
Hi Mansour, The push message…
Hi Mansour,
The push message of the meter might be configured to send anything.
There is usually a Logical Device Name (Meter serial number) and then the OBIS code that tells what push message is sent. When you know what message is sent you know what content it should include.
BR,
Mikko
Hi Mikko, Thank you for your…
Hi Mikko,
Thank you for your reply, This confirms that we haven't missed something :)
It's a pity that the default behavior of meters they don't send something that describes the push message content... I don't understand how it can be used without that ?
It makes sense if we only have one type of message.
To be sure to understand, I have attached a screenshot of our push setup objects, for example the first contains Logical Device Name (attr 2) and ip4Setup (attr 3).
So I have to add an object with LN 0.0.25.9.0.255 (attr 1) ?
The actual notification message looks like that :
<DataNotification>
<LongInvokeIdAndPriority Value="0000002F" />
<DateTime Value="07E7020F0310291500FFC400" />
<NotificationBody>
<DataValue>
<Structure Qty="02" >
<OctetString Value="49534B........." />
<UInt32 Value="..." />
</Structure>
</DataValue>
</NotificationBody>
</DataNotification>
Best regards,
Mansour