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 2 months 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 2 months ago

HI Mikko, Thankyou for the…

HI Mikko,

Thankyou for the response. The issue is resolved now.

Regards
Aparna

Reese

3 years 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 11 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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin