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
By eriktrif , 17 July, 2026

Incorrect timezone offset calculation

Project
Gurux.DLMS.Python
Status
Active

Incorrect timezone offset calculation in setDateTime() in _GXCommon.py

Current code:

d = int(dt.value.utcoffset().seconds / 60)

Should be:
d = int(dt.value.utcoffset().total_seconds() / 60)

Reason:

timedelta.seconds does not preserve the sign of the timedelta. It returns only the seconds component in the range 0...86399.

For example, for UTC-3 offset:
timedelta(seconds=-10800).seconds
returns 75600 instead of -10800.

As a result, negative UTC offsets are encoded incorrectly.

total_seconds() correctly preserves the sign of the offset.

Priority
Normal
Category
Bug report
By jack 001 , 16 July, 2026

DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses

Forums
Gurux DLMS for ANSI C++

Hi Mikko, i have a question

By Dmitry , 16 July, 2026

CGXDLMSProfileGeneric::SetValue for attribute 3. Possible memory leak

Forums
Gurux.DLMS

Hi, Mikko!

In CGXDLMSProfileGeneric::setValue() in else if (e.getIndex()== 3) calls m_CaptureObjects.clear(); but there is no memory release, like in the destructor.
After m_CaptureObjects.clear(); in the loop, calls AddCaptureObject(), where it calls the new operator: CGXDLMSCaptureObject* pCO = new CGXDLMSCaptureObject(attributeIndex, dataIndex);

Thanks!

By craqdi , 14 July, 2026

Clou

Forums
General discussion

I want to put a simulator in clou format how should it be done?

By jack 001 , 12 July, 2026

DLMS Server how to set server logical address, and attach object to different association

Forums
Gurux DLMS for ANSI C++

Hello, good day
I want to ask regarding DLMS server:
- how to set the server's logical address? I havent yet found the methods regarding that, i only found:

By Administrator , 9 July, 2026

Gurux.DLMS.Python 1.0.201

The following important issues are resolved in this version:

fix: _GXCommon.__decryptManufacturer corrected to decryptManufacturer

By Administrator , 9 July, 2026

fix: _GXCommon.__decryptManufacturer corrected to decryptManufacturer.

Project
Gurux.DLMS.Python
Status
Closed (fixed)
Priority
Normal
Category
Bug report
By Administrator , 26 June, 2026

Gurux.Service 3.0.2606.2601

The following important issues are resolved in this version:

feat: add DB2, PostgreSQL, and SAP HANA support

By Administrator , 26 June, 2026

feat: add DB2, PostgreSQL, and SAP HANA support

Project
Gurux.Service
Status
Closed (fixed)
Priority
Normal
Category
Feature request
By Administrator , 24 June, 2026

Gurux.DLMS.Python 1.0.200

The following important issues are resolved in this version:

fix: add missing object types to GXDLMSConverter valueOfObjectType and objectTypeToString methods

Pagination

  • First page
  • Previous page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • …
  • Next page
  • Last page
  • 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

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin