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. Push Listener Notification

Push Listener Notification

Profile picture for user alfathaff
By alfathaff , 29 April, 2024
Forums
General discussion

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?

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

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

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin