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. Forums
  3. DLMS Python - How To Read Selected Object?

DLMS Python - How to read selected object?

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 Vimukthi , 10 March, 2021
Forums
Gurux.DLMS

I want to read some specific objects of the DLMS meter (ex: 1.0.32.7.0.255). Can you tell me how to do this by changing the main.py without reading the association view?

R374

5 years 4 months ago

you can use switch -g to read

you can use switch -g to read any OBIS EX: -g "1.0.32.7.0.255:2"
you should Cache association view to make reading faster. Ex. -o C:\\device.xml"
here is a complete Ex on serial port :
python Gurux.DLMS.Client.Example.python\main.py -S COM10:19200:8None1 -g "1.0.32.7.0.255:2" -o C:\\device.xml

Note that it will read using public client : -c 16 -s 1

If you want to read LLS or HighGMac Authentication and different Security Level you should consider proper switches based on GXSettings.py Help!

  • 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

Who's new

  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
  • ratirvivege1979
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin