Skip to main content
Home
for DLMS smart meters

Main navigation

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

Breadcrumb

  1. Home
  2. Forums
  3. Read DLMS.python From Meter

Read DLMS.python From meter

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 janenarong, 24 December, 2019
Forums
Gurux.DLMS

Hello Mikko
I'm interested in experimenting with DLMS/COSEM protocol I'm using Gurux.DLMS.Python example for readout data from meter

~/Downloads/Gurux.DLMS.Python-master/Gurux.DLMS.Client.Example.python (master ✘)✭ ᐅ python main.py
GuruxDlmsSample reads data from the DLMS/COSEM device.
GuruxDlmsSample -h [Meter IP Address] -p [Meter Port No] -c 16 -s 1 -r SN
-h host name or IP address.
-p port number or name (Example: 1000).
-S serial port.
-i IEC is a start protocol.
-a Authentication (None, Low, High).
-P Password for authentication.
-c Client address. (Default: 16)
-s Server address. (Default: 1)
-n Server address as serial number.
-r [sn, sn] Short name or Logican Name (default) referencing is used.
-w WRAPPER profile is used. HDLC is default.
-t [Error, Warning, Info, Verbose] Trace messages.
-g "0.0.1.0.0.255:1; 0.0.1.0.0.255:2" Get selected object(s) with given attribute index.
Example:
Read LG device using TCP/IP connection.
GuruxDlmsSample -r SN -c 16 -s 1 -h [Meter IP Address] -p [Meter Port No]
Read LG device using serial port connection.
GuruxDlmsSample -r SN -c 16 -s 1 -sp COM1 -i
Read Indian device using serial port connection.
GuruxDlmsSample -S COM1 -c 16 -s 1 -a Low -P [password]
------------------------------------------------------
Available serial ports:
[COM1]
Ended. Press any key to continue.

Please help me

BR
Janenarong

Image

janenarong

6 years 5 months ago

Hi Mikko

Hi Mikko

Image

janenarong

6 years 5 months ago

Hello Mikko

Hello Mikko
Gurux GXDLMSDriector is work for my meter
My settings Gurux GXDLMSDirector
Manufacturer: Gurux
Physical Address: 1
Logical Address : 0
Client Address: 5
Authentication: Low
Password: 22222222222222222222
Baud rate: 19200
Port COM1

BR
Janenarong

Profile picture for user Kurumi

Kurumi

6 years 5 months ago

Hi,

Hi,

Happy holidays. Back on the office. Try with this:
python main.py -S COM1:19200:8None1 -a Low -P 22222222222222222222

BR,

Mikko

janenarong

6 years 5 months ago

In reply to Hi, by Kurumi

Hi

Hi
Thank you very much for your quick response and Happy new year :) ;)

BR
Janenarong Kundern

  • 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