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. Simulate a DLMS Energy Meter Via Serial Port of PC

Simulate a DLMS Energy meter via Serial port of PC

By Amal mp , 3 May, 2024
Forums
Gurux.Net

I need to simulate a DLMS Meter via serial port of my PC.

I have successfully compiled the Gurux.DLMS.Server.Example.Net.

Now, how can I simulate a Meter using this application ?
How to set Client address , password etc ?
How to set Values of register objects ?

Your guidance is much appreciated
thank you

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Each association has its…

Hi,
Each association has its own client address. You can see the possible client addresses when you start the application. Passwords are also set for each association.

https://github.com/Gurux/Gurux.DLMS.Net/blob/a3598b12a759db78a4f00476bd…

You can update values dynamically in PreRead or postRead.

https://gurux.fi/Gurux.DLMS.Server

BR,
Mikko

Amal mp

2 years 1 month ago

fgdjrjstr

So I have to change it in the code before compiliing ?
I am a noob in dot net application and such and not much experienced in using command line tools .

All I can see when I run the server is this

Image
Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Yes, the available…

Hi,

Yes, the available association views must be added before compiling. You need to connect COM4 to some other serial port with the serial port cable and then connect to that serial port with a DLMS client e.g. GXDLMSDirector.

BR,
Mikko

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin