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. Node
  3. 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 4 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

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin