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 2 months 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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin