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 Python

Push Listener Python

By kevin jose minj , 30 May, 2023
Forums
General discussion

when I am run this python push listener example I am getting this data. Why I am not receiving the exact hexadecimaldata?

COM3:9600 8NONE1
Press any key to close the application.
Media state changed. MediaState.OPENING
trace:12:56:47 TraceTypes.INFO Settings: Port: COM3 Baud Rate: BaudRate.BAUD_RATE_9600 Data Bits: 8 Parity: Parity.NONE Stop Bits: StopBits.ONE Eop:126
Media state changed. MediaState.OPEN
New data is received. COM3:00
New data is received. COM3:00
New data is received. COM3:00
New data is received. COM3:00

Profile picture for user Kurumi

Kurumi

3 years ago

Hi, You need to change the…

Hi,

You need to change the trace type from info to Verbose.

BR,
Mikko

kevin jose minj

3 years ago

I changed the trace type to…

I changed the trace type to Verbose and this is command I am now

python main.py -S COM3 -t Verbose

I am getting the same output

COM3:9600 8NONE1
Press any key to close the application.
Media state changed. MediaState.OPENING
Media state changed. MediaState.OPEN
trace:14:53:17 TraceTypes.RECEIVED 00
New data is received. COM3:00
trace:14:53:18 TraceTypes.RECEIVED 00
New data is received. COM3:00

kevin jose minj

3 years ago

I have question regarding…

I have question regarding with push listener. Is there any way to get data from simulated meters to test the push listener example?
Please help me out

Profile picture for user Kurumi

Kurumi

3 years ago

Hi, I just realized that the…

Hi,

I just realized that the Python example doesn't add the hex trace for the output.

Simulators can't send push messages at this moment. You can only read them.

BR,
Mikko

kevin jose minj

3 years ago

So is there any issue with…

So is there any issue with python push listener example?

Profile picture for user Kurumi

Kurumi

3 years ago

Hi, No, there is no issue…

Hi,

No, there is no issue. The example just doesn't add the hex trace.

BR,
Mikko

kevin jose minj

3 years ago

Hi Mikko, But , I added -t…

Hi Mikko,

But , I added -t Verbose parameter. Why its not giving the hex trace ?

Profile picture for user Kurumi

Kurumi

3 years ago

Hi, Get the latest version…

Hi,

Get the latest version from the push example. It will add a hex trace if verbose argument is added,

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