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

7 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

6 months 4 weeks 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

6 months 3 weeks ago

Hi, Check Image updating…

Hi,

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

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 07/09/2025 - 16:41
    Gurux.Serial.Android 2.0.13
  • Wed, 07/09/2025 - 12:07
    gurux.dlms.c 9.0.2507.0901
  • Sat, 07/05/2025 - 15:04
    Gurux.DLMS.Python 1.0.188
  • Tue, 07/01/2025 - 10:09
    Gurux.DLMS.Python 1.0.187
  • Tue, 07/01/2025 - 09:54
    gurux.dlms.c 9.0.2507.0101

New forum topics

  • Regarding the dlms android project
  • Unable to read attribute =3 (1.0.94.91.0.255) IC=7 for Indian Metering, while I'm able to read attribute 3 for other Profile generic class
  • Register Activation class (class_id = 9) attribute index 3 data is not visible
  • Load profile
  • DLMS Decryption Implementation Status and Clarification Needed
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin