Hello, I'm trying to run a Python listener and successfully connect to the Gurux Dlms Server running on ESP32 with a serial connection like this:
Gurux.DLMS.Push.Listener.Example.python>python main.py -i HDLC -S COM7:9600:8None1 -A D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF -B 000102030405060708090A0B0C0D0E0F -t Verbose
C:\Users\Developer\Desktop\IYUY\Gurux.DLMS.Python-master\Gurux.DLMS.Push.Listener.Example.python\main.py:37: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
gurux_dlms version: 1.0.150
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
COM1:9600 8NONE1
Press any key to close the application.
Media state changed. MediaState.OPENING
Media state changed. MediaState.OPEN
I'm still a bit confused about how to use the push listener. Can you please provide some guidance?
Hi, The meter sends push…
Hi,
The meter sends push messages with a specific interval. Push listener waits until the meter sends the push message and shows the received push message in the CLI.
If you want to read data from the DLMS meter, you need to use the example client to establish the connection to the meter and read data.
https://github.com/Gurux/Gurux.DLMS.Python/tree/master/Gurux.DLMS.Clien…
BR,
Mikko