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. Connecting Meter To Agent Via Serial

Connecting Meter to Agent via serial

Profile picture for user Frank
By Frank , 20 July, 2026
Forums
Gurux.DLMS.AMI

Hi,

I have tried to use the AMI4 and connected to a meter. the connection was via tcp and it worked.

Now im trying to connect to the meter via serial but i can't seem to initialized the serial connection to meter even with the correct serial parameters.

Do i need to make/use the scripts to connect to the meter? if so what does the script expect as an output and i am assuming that the script is in c#

Thank you very much for your support

Profile picture for user Kurumi

Kurumi

3 weeks 6 days ago

Hi, You need to select the…

Hi,

You need to select the serial port that you want to use from the agent settings.
Change the interface from WRAPPER to HDLC. Then set the correct client and meter address so you can read the meter.

The easiest way to do this is to read the meter using GXDLMSDirector and then use the same settings with AMI.

The new version from AMI will be released next month.

Regards,
Mikko

Profile picture for user Frank

Frank

3 weeks ago

Hi Mikko That is noted. Also…

Hi Mikko
That is noted.

Also ive just realized that even via tcp im having issues setting up a connection whenever the authentication is anything other than none.

for both tcp and serial devices how do i setup authentication? Via device templates and also the device? Because as far as i can observe the agent doesnt have connection properties on setup. and on edit we can only change push events, gateway, and autoconnect which i dont think is the setup i need.

Profile picture for user Kurumi

Kurumi

2 weeks ago

Hi, You need to create a new…

Hi,

You need to create a new template for the new authentication and add it to the agent.

You can't just change the authetication level in agent.

This is done because usually the access rights and available object might change when the authentication level is changed.

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

  • negative indexing for custom method/attribute
  • System title
  • Elster a1800 clock reset to year 2000 with one tariff billing
  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin