Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Iskra - MT382 - Stored Data

Iskra - MT382 - Stored Data

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Index+Alois , 25 November, 2022
Forums
DLMSDirector

Hi community,

We are starting with DLMS with our Iskra meter.
The connection with a MT382 works perfectly with GXDLMS Director and we can get data from the meter.

I read the doc but I can't find the answer to theses questions :

1. So far we read and get the last data available from the meter with GXDLMS Director. In the futur we would like to make a code to get more data for this register (here Active Power+ in the picture). For exemple if we Read the meter at 12.00 can we get the date from 10.00 - 10.15 - 10.30 - 11.00 - 11.15 - 11.30 - 11.45 and 12.00 ?

Or do we need the read the meter every 15 minutes ?

2. Do you have an example of Python code that can help me to creat the same request than GXDLMS Director did for me :

?xml version="1.0" encoding="utf-8"?>
<GXDLMSDevice xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns="Gurux1">
<Authentication>Low</Authentication>
<Password>N/ldHcqO6hqWO+NdWbDtyQ==</Password>
<KeyAgreementScheme>0</KeyAgreementScheme>
<SystemTitle />
<ServerSystemTitle />
<DedicatedKey />
<BlockCipherKey />
<AuthenticationKey />
<Challenge />
<Signing>0</Signing>
<LogicalAddress>1</LogicalAddress>
<ClientAddress>100</ClientAddress>
<InterfaceType>1</InterfaceType>
<MacDestinationAddress>0</MacDestinationAddress>
<InactivityTimeout>120</InactivityTimeout>
<SignCipherOrder>0</SignCipherOrder>
<Name>GE4S_51339462_A+</Name>
<Conformance>12220486</Conformance>
<Manufacturer>ISK</Manufacturer>
<HDLCAddressing>0</HDLCAddressing>
<UseProtectedRelease>false</UseProtectedRelease>
<SecurityChangeCheck>false</SecurityChangeCheck>
<MediaType>Gurux.Net.GXNet</MediaType>
<MediaSettings>&lt;IP&gt;***.***.***.***&lt;/IP&gt;
&lt;Port&gt;2048&lt;/Port&gt;
</MediaSettings>
<UseLN>true</UseLN>
<Objects2>
<GXDLMSObject xsi:type="GXDLMSRegister">
<Version>0</Version>
<LogicalName>1.0.1.8.0.255</LogicalName>
<Description>Ch. 0 Sum Li Active power+ (QI+QIV) Time integral 1 Rate 0 (0 is total)</Description>
<Attributes>
<Item>
<Name>Logical Name</Name>
<Index>1</Index>
<Type>OctetString</Type>
<Access>1</Access>
<Access3>0</Access3>
<Values />
<UIValueType>0</UIValueType>
<AccessSelector>0</AccessSelector>
</Item>
<Item>
<Name>Value</Name>
<Index>2</Index>
<Type>UInt32</Type>
<UIType>String</UIType>
<Access3>0</Access3>
<Values />
<UIValueType>0</UIValueType>
<AccessSelector>0</AccessSelector>
</Item>
<Item>
<Name>Scaler and Unit</Name>
<Index>3</Index>
<Type>Structure</Type>
<Access>1</Access>
<Access3>0</Access3>
<Values />
<UIValueType>0</UIValueType>
<AccessSelector>0</AccessSelector>
</Item>
</Attributes>
<Methods>
<Item>
<Name>Reset</Name>
<Index>1</Index>
<Type>OctetString</Type>
<MethodAccess>1</MethodAccess>
<Values />
<UIValueType>0</UIValueType>
<AccessSelector>0</AccessSelector>
</Item>
</Methods>
<Unit>30</Unit>
</GXDLMSObject>
</Objects2>
</GXDLMSDevice>

Thanks for you help

Image
Profile picture for user Kurumi

Kurumi

3 years 6 months ago

Hi,

Hi,

You can use profile generic read historical data.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSProfileGeneric

If you want to read current value, ex. register you need to do it every time you want to read the value.

2. Select your device in the GXDLMSDirector. You can see the command line parameter that you need to use with the python client example.

BR,
Mikko

Index+Alois

3 years 6 months ago

Hi Kurumi,

Hi Kurumi,

Is prefectly clear, in theory, thanks for your quick answer !
Thanks also for the code for Profilgeneric !

But can you tell me how to set up GXDLMSDirector to get the historical data for this register '1.0.1.8.0.255'. I mean the tab "Data" in my picture. I think this is the only thing I should set up ?

Thanks a lot for your help.

Image

Index+Alois

3 years 6 months ago

I saw on the forum on another

I saw on the forum on another topic that I should look at Rights but I don't know how to change it.
Here are a few more screen shots of my setup.

Thanks to you

Image
Profile picture for user Kurumi

Kurumi

3 years 6 months ago

Hi,

Hi,

You don't need to add objects manually. You need to read the association view. The association view will show all the objects and access ríghts. The meter decides what the access rights are and the client can't change them.
You can read the association view if you select "File" and "Refresh". Reading the association view might take a long time.

BR,
Mikko

Index+Alois

3 years 6 months ago

Hi again Mikka,

Hi again Mikka,

Prefectly clear. And now I can make it work and use it.
One last question to fully understand how it works :

1. I refresh the meter
2. I read the ProfilGeneric 1.0.99.1.255 with this case checked "Data -> Reading -> Read last 1 Days
3. I got a lot of data every 15 minutes (what is perfect)
Entries case was like : 180 and 18912
4. Than I refresh again and I only get now the lastest values.
Entries case is now : 4 and 18912

I have the feeling that when I read all the data I cannot get it once again, like if they were deleted from the meter. Is it correct ?

Thanks for your help

Image
Profile picture for user Kurumi

Kurumi

3 years 6 months ago

Hi,

Hi,

Data is not disappearing. In your post, you told that you have read the last 1 day (today and yesterday). In the picture, you have read zero days (today, starting from midnight).

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin