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. Python With Dlms Simulator

python with dlms simulator

By ALaa , 11 December, 2024
Forums
General discussion

hello i have dlms client in python code i want to connect it with server simulator test my code and i am very confussed and dont know how to do it can pls help me

Profile picture for user Kurumi

Kurumi

1 year 8 months ago

Hi, Download and compile the…

Hi,

Download and compile the simulator:

https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Simulato…

Then start it:

Gurux.DLMS.Simulator.Net.exe -p 1000 -x crystal.xml -t Verbose -N 10

Now you can connect with Python client.

python main.py -h localhost -p 1000

BR,
Mikko

ALaa

1 year 8 months ago

i did it and when i started…

i did it and when i started it it gaved me this errore

DLMS HDLC Logical Name simulator start in Tcp ports 1000-1009.
Invalid device template file crystal.xml

ALaa

1 year 8 months ago

and iam sorry i have another…

and iam sorry i have another question and thatnks by the way for helping does client have to be in gurux library only cant i use dlms_cosem library

Profile picture for user Kurumi

Kurumi

1 year 8 months ago

Hi, You can use any DLMS…

Hi,

You can use any DLMS library to read the simulated DLMS meter.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • 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

New forum topics

  • DLMS Image Transfer: “byte must be in range(0, 256)” with 512-byte block size in Python
  • Connecting to meter using Wrapper
  • DLMS Server / Meter emulation in Golang library
  • Unknown Baudrate
  • negative indexing for custom method/attribute
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin