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. Request For Guidance On Developing Python Code For Reading Genus Energy Meter (India)

Request for Guidance on Developing Python Code for Reading Genus Energy meter (India)

Profile picture for user gzpmanish
By gzpmanish , 7 February, 2024
Forums
DLMSDirector

Dear Sir,

I hope this message finds you well. I am reaching out to seek your guidance and assistance regarding a project I am working on.

I am in the process of developing my own Python code to read data from a Genus energy meter (non-DLMS). While I have successfully retrieved certain data, such as the serial number, power consumption, and maximum demand, using a mobile application through the optical interface, I am now looking to develop my own Python script to perform the same task.
I have been able to capture and decode the data from the received frames, including the serial number and power consumption. However, I am encountering difficulty understanding the protocol used for transmitting data, particularly regarding the frames sent prior to receiving power consumption data.

Below, I have provided examples of both the sent and received frames:

First Frame: 01 1B AA AA AA AA AA AA AA 3F
Response: 06

Second Frame: 01 3F 47 53 54 47 FF FF FF 8F
Response: 06 02 00 00 47 45 4E 55 53 45 C5 82 03 0B FF FF FF FF FF E9

Subsequently, I have only received frames similar to the following:
06 06 02 00 00 47 45 4E 55 53 45 E8 44 00 04 FF FF FF FF FF 0E 06 06 06 06 02 01 00 00 99 0D 08 4B 45 53 43 11 01 0D 10 1C 36 B7 F4 06 02 C8 00 14 29 23 15 04 16 03 FF 02 FF FF FF FF FF FF 73 06 02 CB 00 FF FF FF FF FF FF 00 05 10 00 03 A3 FF FF FF 4E 06 02 05 B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 06 02 05 70 05 00 00 00 15 04 01 06 00 05 0C 06 00 05 E8 D7 06 02 04 40 01 2C 00 00 06 15 03 27 00 05 0C 05 03 E7 03 8B 06

Based on the received frames, I can decode information such as Meter No., kWh, MDI, CMD, and KVAH.

Meter No.: 10030344 (99 0D 08)
kWh: 129.6 (05 10)
MDI: 0.300 (01 2C)
CMD: 0.00
KVAH: 0

I am seeking your expertise to help me understand what frames I need to send in order to receive all the necessary data (Kwh, Meter No., MDI, etc.). Additionally, any guidance or resources you could provide regarding the protocol used and how to read various data using my own Python code would be immensely helpful.

Thank you very much for considering my request. I eagerly await your guidance and assistance.

Warm regards,
Manish Kumar Gupta

Profile picture for user Kurumi

Kurumi

2 years 4 months ago

Hi, This could be based on…

Hi,

This could be based on IEC 62056-21 standard, but it's Genus' own proprietary protocol. Do you have any documentation from it? Without documentation, just interpretation of the bytes will take a long time. There might be values that can't be solved without the documentation, even though this looks like a simple protocol.

Try to get the documentation for this. It will save a lot of time and money.

BR,
Mikko

Profile picture for user gzpmanish

gzpmanish

2 years 4 months ago

Hello Sir, I am currently in…

Hello Sir,
I am currently in a situation where I lack the necessary documentation. However, despite this limitation, I have managed to decode some received frames from a system. The decoded frames are provided below for your reference:

06
06 02 00 00 47 45 4E 55 53 45 B3 25 02 10 FF FF FF FF FF 54 -----Company name (Genus)
06 02 00 00 47 45 4E 55 53 45 C5 0B 03 7C FF FF FF FF FF EF --- Company name
06 06 06
06 02 01 00 00 99 0D 08 4B 45 53 43 11 01 0D 10 1C 36 B7 F4 ---Serial number
06 02 C8 00 28 53 01 15 04 19 FE FF 01 FF FF FF FF FF FF 5A
06 02 CB 00 FF FF FF FF FF FF 00 05 12 00 01 6D FF FF FF 84 --- kwh
06 02 05 B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -- KVAH
06 02 05 70 05 00 00 00 15 04 01 06 00 05 0C 06 00 05 E8 D7 --CMD
06 02 04 40 01 2C 00 00 06 15 03 27 00 05 0C 05 03 E7 03 8B -- MDI
06

I am reaching out to seek your guidance on how to proceed further. Specifically, I would greatly appreciate your assistance in determining the appropriate transmitter frame to send in order to receive the frames mentioned above.

Your expertise and guidance in this matter would be invaluable to me, and I am eager to learn from your insights.

Thank you very much for considering my request. I look forward to your prompt response.

Best regards,
Manish Kumar Gupta

  • 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