I updated push setup with destination address and port number. How to check it is working or not? We are built an application using python and hosted and it is listening meter. I have a question that if I click push through GXDLMSDirector message reach server or not? Please help me out
Hi, After you have set the…
Hi,
After you have set the destination and port number for the push object you can activate it with the Push method.
If you activate the push with the GXDLMSDirector you are not receiving an exception if the message was handled in the meter. The push message is usually sent right away.
BR,
Mikko
So if I click on push button…
So if I click on push button that time some packets will sent to server? or only when the events happen with meter? We are using IPV6 server is causing any issue with push setup
Hi, When you press the push…
Hi,
When you press the push button it will activate the push message and it's sent to the given address when TCP/IP connection is used.
If you are connected to a serial port and there is no TCP/IP connection the push message is sent to the serial port.
BR,
Mikko
I want to understand more…
I want to understand more about this push listener. Below I am given a block diagram related with if a tamper event occurs in a meter. And it is sending the packets to server which is listening the meter.
If meter sends the packet push listener example will translate to human readable form?
I created the server using python gurux library and I used below parameters for the push listener
"-p", "4059", "-T", "49534B3030303031", "-A", "000102030405060708090A0B0C0D0E0F", "-B", "000102030405060708090A0B0C0D0E0F", "-D", "6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B6B","-t", "Verbose"
here I am not mentioning the -h tag and IP address.Is it required or not?
Hi, You don't need to define…
Hi,
You don't need to define the IP Ip address because the example is bind to the local computer. You can define the used TCP/IP port with -p argument.
BR,
Mikko
I mentioned -p with meter…
I mentioned -p with meter port no 4059. If IP address is not required how the server will listen the meter? I created one dlms stack server using python how to check this push listener example through TCP/IP channel?
Hi, The meter sends push…
Hi,
The meter sends push messages to the given IP address.
Check Send destination and method:
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSPushSetup
BR,
Mikko
If I configure the address…
If I configure the address something like localhost:7000, and start the server if some events occur in, meter send the hex traces to server?
Hi, Yes, the meter is…
Hi,
Yes, the meter is sending bytes to the server, and server shows the received bytes as a hex string.
BR,
Mikko
Hi Mikko, The thing is I am…
Hi Mikko,
The thing is I am able to update IPv4 and IPv6 address. If I updadte IPv4 address it is like xx.xx.xx.xx:7000 and if IPv6 means xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx here I am not able to update the port number. Our server have both IPv4 and IPv6 address but the sim I inserted in meter will only connect to IPv6 address. In this scenario what can I do ?
Hi, You need to ask the…
Hi,
You need to ask the meter manufacturer about this. DLMS standard doesn't define this.
I believe that IPv6 is using a different separator than ':' for this meter because it's used in the IPv6 format.
BR,
Mikko
Hi Mikko, This is data…
Hi Mikko,
This is data packets I got from meter.
0|dlms | trace:20:24:07 TraceTypes.INFO Client connected.
0|dlms | trace:20:24:07 TraceTypes.RECEIVED 03 00 00 2F 2A E0 00 00 00 00 00 43 6F 6F 6B 69 65 3A 20 6D 73 74 73 68 61 73 68 3D 41 64 6D 69 6E 69 73 74 72 0D 0A 01 00 08 00 03 00 00 00
0|dlms | New data is received. 194.165.16.37:65254:03 00 00 2F 2A E0 00 00 00 00 00 43 6F 6F 6B 69 65 3A 20 6D 73 74 73 68 61 73 68 3D 41 64 6D 69 6E 69 73 74 72 0D 0A 01 00 08 00 03 00 00 00
0|dlms | trace:15:36:33 TraceTypes.INFO Client connected.
0|dlms | trace:15:36:33 TraceTypes.RECEIVED 03 00 00 2F 2A E0 00 00 00 00 00 43 6F 6F 6B 69 65 3A 20 6D 73 74 73 68 61 73 68 3D 41 64 6D 69 6E 69 73 74 72 0D 0A 01 00 08 00 03 00 00 00
0|dlms | New data is received. 194.165.16.73:65526:03 00 00 2F 2A E0 00 00 00 00 00 43 6F 6F 6B 69 65 3A 20 6D 73 74 73 68 61 73 68 3D 41 64 6D 69 6E 69 73 74 72 0D 0A 01 00 08 00 03 00 00 00
How to convert it into human readable form?
Hi, This isn't DLMS framing…
Hi,
This isn't DLMS framing. It would be best if you asked the manufacturer what format is used. Part of the data in ASCII is:
43 6F 6F 6B 69 65 3A 20 6D 73 74 73 68 61 73 68 3D 41 64 6D 69 6E 69 73 74 72
Cookie: mstshash=Administr
BR,
Mikko