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. Forums
  3. Not Able To Read Data and No Error Message Gurux Python

Not able to read data and no error message Gurux Python

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By ravichandra99 , 14 May, 2022
Forums
Gurux.DLMS

Hi

Im using Gurux.DLMS.python to connect meter

using ipv6 protocol

im able to connect using GuruxDirector, but when i connect using python with same parameters using Gurux python Im not getting any output, It just gets stuck

I m using
python main.py -h 2402:3A80:1702:106::1 -a High -P asciixxxxxxxxxx -C AuthenticationEncryption -p 4059 -d DLMS -W 1 -T hexxxxxxxxxxx -A hexxxxxxxxxxx -B hexxxxxxxxxxxx -L TIS -s 1 -c 30 -l 0 -t Verbose -i WRAPPER

Am I missing anything.?

Edit:

I go this error msg

gurux_dlms version: 1.0.121
gurux_net version: 1.0.18
gurux_serial version: 1.0.18
TCP 2402:3A80:1702:106::1:0
Authentication: Authentication.HIGH
ClientAddress: 0x1e
ServerAddress: 0x1
^CTraceback (most recent call last):
File "main.py", line 88, in main
settings.media.open()
File "/usr/local/lib/python3.8/dist-packages/gurux_net/GXNet.py", line 268, in open
self.__socket.connect((self.__host_name, self.__port))
KeyboardInterrupt
Ended. Press any key to continue.
root@localhost:/var/www/gurux/Gurux.DLMS.Python-master/Gurux.DLMS.Client.Example.python#

Later i changed gurux_net module GXNet.py to useIPv6 = True and

in Network.TCP else

self.__socket = socket.socket(self.__getInet(self.__host_name), socket.SOCK_DGRAM,0)
print(self.__getInet(self.__host_name),self.__port)
self.__socket.connect((self.__host_name, self.__port,0,0))

So now no error but no reply also

Profile picture for user Kurumi

Kurumi

4 years ago

Hi,

Hi,

You don't need to do any changes for the client-side to read the meter using Ipv6.

You need to change useIPv6 = True only for the server (meter side). I tested this and it worked without problems with IPv6. From the trace, I can see that your meter is not listening to the IP v6 address or your address is wrong.

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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin