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. Node
  3. 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 6 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 6 months ago

HI Mikko, Thankyou for the…

HI Mikko,

Thankyou for the response. The issue is resolved now.

Regards
Aparna

Reese

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

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

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin