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

2 years 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 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 12 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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • gurux_dlms.GXDateTime.GXDateTime object Error in Python
  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin