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. IP Address of Smart Meter

IP Address of smart meter

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 kevin jose minj , 10 November, 2022
Forums
General discussion

How to get Meter IP address to connect with gurux dlms python. I Inserted sim in smart meter how to establish connectivity to gurux dlms python libary.Any Idea??

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

First, make sure that your SIM has a static IP address.
https://www.gurux.fi/Gurux.DLMS.DynamicIP

If you can connect for you your meter using serial or optical port you can read the IP address from IPv4 setup or IPv6 setup objects.

https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSIp4Setup
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSIp6Setup

BR,
Mikko

kevin jose minj

3 years 7 months ago

In reply to Hi, by Kurumi

Thanks for your quik reply.I

Thanks for your quik reply.I connected through prob and read the values.From this screenshot which one is the meter IP address??

Image
Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

It's the IP address. Check IPv6 settings, because you usually can't edit the IP address for GPRS connections. The GPRS network assigns an IP address.

BR,
Mikko

kevin jose minj

3 years 7 months ago

In reply to Hi, by Kurumi

In IPv6 settings under

In IPv6 settings under unicast one IP address is mentioned is that the ip address of meter?

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

That should be the IP address of the meter.

BR,
Mikko

kevin jose minj

3 years 7 months ago

In reply to Hi, by Kurumi

Thanks but when I execute the

Thanks but when I execute the program it is throwing error

Image
Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

First, make sure that your SIM has a static IP address.
https://www.gurux.fi/Gurux.DLMS.DynamicIP

Don't add images. They don't tell anything and plain text is easier to read.

What parameters you have used?

BR,
Mikko

kevin jose minj

3 years 7 months ago

this is the parameter i am

this is the parameter i am passing
"args": ["-h", "2202:3a80:1700:cc2::2", "-c", "48", "-a", "High", "-P", "ISK_SECRET_ASSC3",
"-C", "AuthenticationEncryption", "-T" ,"49534B3030303031", "-A", "000102030405060708090A0B0C0D0E0F",
"-B", "000102030405060708090A0B0C0D0E0F", "-D", "6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B" ,"-w", "1", "-f", "128"]

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

You need to add the TCP/IP port number. Something like -p 4059.
You can get the port number from the TcpUdpSetup.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSTcpUdpSetup

BR,
Mikko

kevin jose minj

3 years 7 months ago

Now I added still it is not

Now I added still it is not connecting throwing exception.

Traceback (most recent call last):
File "C:\Users\HP\Downloads\new_dlms/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/main.py", line 89, in main
settings.media.open()
File "C:\Users\HP\AppData\Local\Programs\Python\Python310\lib\site-packages\gurux_net\GXNet.py", line 278, in open
raise e
File "C:\Users\HP\AppData\Local\Programs\Python\Python310\lib\site-packages\gurux_net\GXNet.py", line 268, in open
self.__socket.connect((self.__host_name, self.__port))
OSError: [WinError 10051] A socket operation was attempted to an unreachable network
Ended. Press any key to continue.

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

This is a socket error. Verify that your IP address is correct and that you can access your meter from your IP address. You need to verify this from your GPRS operator.

BR,
Mikko

kevin jose minj

3 years 7 months ago

In reply to Hi, by Kurumi

The sim whatever I am using

The sim whatever I am using is IPv6 address.Using IPv6 address it is not working

Profile picture for user Kurumi

Kurumi

3 years 7 months ago

Hi,

Hi,

There is something wrong with your connection.

First, make sure that your SIM has a static IP address. If it has a dynamic IP address you can't establish the connection for the meter.
https://www.gurux.fi/Gurux.DLMS.DynamicIP

BR,
Mikko

kevin jose minj

3 years 4 months ago

In reply to Hi, by Kurumi

this is error what I am…

this is error what I am getting
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond

I am using M2M Sim card

Profile picture for user Kurumi

Kurumi

3 years 4 months ago

In reply to this is error what I am… by kevin jose minj

Hi Kevin, This is TCP/IP…

Hi Kevin,

This is TCP/IP issue. Your TCP/IP connection fails for some reason.

1. Check your IP address and port number.
2. Check that there aren't firewalls that block the messages.

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