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. Reading Single OBIS Code Using DLMS Python

reading single OBIS code using DLMS python

By _Aparna_ , 18 May, 2023
Forums
Gurux.DLMS

I have successfully received SNRM and ARQ. When i try to read clock object receiving the wrong frame which i found it as error frame. I am trying to use as below
reader= GXDLMSReader(settings.client, settings.media, settings.trace, settings.invocationCounter)
reader.initializeConnection()
d =GXDLMSClock("0.0.1.0.0.255")
reader.read(d, 8)

the output frame for clock is

TX: 12:55:37 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 08 00 00 01 00 00 FF 08 00 10 E7 7E 8
RX: 12:55:42 7E A0 0C 21 03 97 3E 21 10 22 08 29 D6 7E 8

Profile picture for user Kurumi

Kurumi

3 years ago

Hi, HDLC frame error doesn't…

Hi,

HDLC frame error doesn't tell anything. Can you read the clock object with GXDLMSDirector? I can't solve this without all the frames.

BR,
Mikko

_Aparna_

3 years ago

HI Mikko, Thankyou for the…

HI Mikko,

Thankyou for the response. The issue is resolved now.

Regards
Aparna

Reese

2 years 10 months ago

Hi, the only way I get this…

Hi, the only way I get this works is by using getAssociationView(), all data is saved in a file and get the value using obis code (voltage = 1.1.32.7.0.255).
Is there another way to get data by using obis code without using getAssociationView and a file?

Profile picture for user Kurumi

Kurumi

2 years 9 months ago

Hi Reese, Please, create a…

Hi Reese,

Please, create a new topic if you have a new question. You can also create objects to the code if you don't want to use the file.

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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin