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. 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

1 year 10 months 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

1 year 10 months 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

1 year 10 months 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

  • 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