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. Relay Connect VIA Python Code Using Gurux.DLMS.Client.Example.python

Relay Connect VIA Python Code using Gurux.DLMS.Client.Example.python

By Kumaresh, 10 December, 2024
Forums
Known problems

Hi, Kurmi ji

How I can connect the Smart meter relay via python code.
Am using Serial port HDLC to read the meters.
Pls give me way to resolve my issue or a sample Code to connect relay.

Profile picture for user Kurumi

Kurumi

12 months ago

Hi, You can do it like this:…

Hi,

You can do it like this:
dc = GXDLMSDisconnectControl("YOUR_LOGICAL_NAME")
#Disconnect.
data = dc.remoteDisconnect(self.client)
reply = GXReplyData()
self.readDLMSPacket(data, reply)

#Reconnect.
data = dc.remoteReconnect(self.client)
reply = GXReplyData()
self.readDLMSPacket(data, reply)

BR,
Mikko

Kumaresh

12 months ago

Hi, Kurumi ji, Thanks for…

Hi,
Kurumi ji,
Thanks for the support.

Is it possible to update the image of the meter as I want to perform Firmware upgrade in the same way.....

Profile picture for user Kurumi

Kurumi

11 months 4 weeks ago

Hi, Check Image updating…

Hi,

Check Image updating from here:
https://gurux.fi/Gurux.DLMS.Client

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 12/10/2025 - 08:45
    gurux.dlms.java 4.0.85
  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201
  • Mon, 12/01/2025 - 13:55
    Gurux.DLMS.Python 1.0.193
  • Thu, 11/13/2025 - 15:23
    Gurux.DLMS.Python 1.0.192
  • Thu, 11/13/2025 - 14:55
    gurux.dlms.java 4.0.84

New forum topics

  • GXTIME Conversion Issue
  • DLMS Meter Gurux DLMS Director Properties
  • Using MAX3232 + FT232RL to Energy meter with GXDLMS Director
  • Incomplete Firmware Upgrade Process
  • SNRM byte mening
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin