Hi,
I am testing push message send using dlms C server example. I have configured the destination address and push object list. On the receiving side , python push listener client is used. How to manually activate the push message send from server side? Which function to be called to activate the push message send between the devices?
Hi, You can ask the meter to…
Hi,
You can ask the meter to send the push message if you connect to your meter with GXDLMSDirector and select Push Setup object. Then select "Push".
In the server side, you need to create a Script table object (OBIS 0.0.10.0.108.255) that invokes the push setup object. Check addscriptTablePush method.
Then create an action schedule object (0.0.15.0.4.255) that invokes the Script table object at the desired times.
Check addActionSchedulePush method from the link below.
https://github.com/Gurux/GuruxDLMS.c/blob/master/GuruxDLMSServerExample…
BR,
Mikko
Hi, I have added the above…
Hi,
I have added the above mentioned methods in the source code. After compilation I executed the binary file but I couldn't get how to test it with python push message listener.
Can you provide some idea about how to test it with python push listener?
https://github.com/Gurux/Gurux.DLMS.Python/tree/master/Gurux.DLMS.Push…
Hi, You need to set the…
Hi,
You need to set the destination address to push object.
The destination address is IP address and port number where your push listener is. For example: 192.168.68.52:4059.
You can see a trace on the Python app when the meter establishes the connection and sends the push message.
BR,
Mikko
Hi, I have set the…
Hi,
I have set the destination IP address and port number in push setup object. But I cannot able to see the output traces in python listener. Below is the output getting on my terminal. Is this the correct way of running python push listener?
$ python main.py -p 7000
gurux_dlms version: 1.0.143
gurux_net version: 1.0.22
gurux_serial version: 1.0.2
TCP Server iwave-Precision-3460:7000
Press any key to close the application.
trace:15:29:56 TraceTypes.INFO MediaState.OPENING
Media state changed. MediaState.OPENING
trace:15:29:56 TraceTypes.INFO MediaState.OPEN
Media state changed. MediaState.OPEN
Hi, The push listener is…
Hi,
The push listener is listening on TCP/IP port 7000. You should see the information on the command line interface when a TCP/IP connection is established. Check your meter settings.
BR,
Mikko