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. When We Read Instant Profile Then RTC Comes As Object Address

When we read instant profile then RTC comes as Object address

By satishjyoti1998 , 17 July, 2024
Forums
Gurux.DLMS

Hi Mikko,

When we read instant profile then RTC comes as Object address. Please find below instant profile read by meter. Please help.

[[<gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF7C11D30>, 23729, -500, 16, 998, 5005, 118, -118, 1131512, 1132572, 305, <gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF84A1F40>, 305, <gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF84A19D0>, 262237, 5, 6, 2, 0, 0, True, 8640, 0, <gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF84A2BA0>, 0, <gurux_dlms.GXDateTime.GXDateTime object at 0x000001AFF84A20C0>, -51]]

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, The meter returns the…

Hi,

The meter returns the time in octet-string. You can convert this to string with the normal str-method.

BR,
Mikko

satishjyoti1998

2 years 1 month ago

Hi Mikko, How can we convert…

Hi Mikko,

How can we convert octet string to normal string . Please explain with example.

Regards
Satish

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, The received octet…

Hi,

The received octet-string value is converted to GXDateTime object. You can convert it to string like this:

print(str(YOUR_READ_VALUE))

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