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. Can't Change/write MonitoredValue In Limiter

Can't change/write MonitoredValue in Limiter

By alexcd , 24 April, 2024
Forums
Gurux.DLMS

Hello, I'm using a Python library and can't change the monitored value in the Limiter object. When I use Director everything works as expected, maybe I'm doing something wrong?

limiter = GXDLMSLimiter('0.0.17.0.0.255')
reg_obj = GXDLMSRegister('1.0.31.7.0.255')
limiter.monitoredValue= reg_obj
limiter.monitoredAttributeIndex = 2
self.reader.write(limiter,2)

Thanks for the answer.

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Are you getting an error…

Hi,

Are you getting an error from the meter? Have you changed the authentication level?

BR,
Mikko

alexcd

2 years 1 month ago

I read on the forum that the…

I read on the forum that the object should be taken from the association and updated my code. But the result remained unchanged, I add the code and log.

limiter = self.reader.client.objects.findByLN(0, "0.0.17.0.0.255")
value = self.reader.client.objects.findByLN(3, "1.0.31.7.0.255")
limiter.monitoredValue = value
limiter.monitoredAttributeIndex = 2

print("==========read===========")
read_mon = self.reader.read(limiter, 2)
print(read_mon)
print("==========write===========")
self.reader.write(limiter, 2)
print("==========read===========")
read_mon = self.reader.read(limiter, 2)
print(read_mon)

From the log

==========read===========
TX: 16:39:08 7E A0 1A 02 21 05 FE 7D 8F E6 E6 00 C0 01 C1 00 47 00 00 11 00 00 FF 02 00 9B 28 7E
RX: 16:39:08 7E A0 20 05 02 21 1E 27 0F E6 E7 00 C4 01 C1 00 02 03 12 00 03 09 06 01 00 03 07 00 FF 0F 02 B0 07 7E
1.0.3.7.0.255 Ch. 0 Sum Li Reactive power+ (QI+QII) Inst. value
==========write===========
TX: 16:39:08 7E A0 29 02 21 05 10 10 48 E6 E6 00 C1 01 C1 00 47 00 00 11 00 00 FF 02 00 02 03 10 00 03 09 06 01 00 03 07 00 FF 0F 02 FD 21 7E
RX: 16:39:08 7E A0 11 05 02 21 30 CE 18 E6 E7 00 C5 01 C1 0C 3C 43 7E
==========read===========
TX: 16:39:08 7E A0 1A 02 21 05 32 1D 83 E6 E6 00 C0 01 C1 00 47 00 00 11 00 00 FF 02 00 9B 28 7E
RX: 16:39:08 7E A0 20 05 02 21 52 4F 87 E6 E7 00 C4 01 C1 00 02 03 12 00 03 09 06 01 00 03 07 00 FF 0F 02 B0 07 7E
1.0.3.7.0.255 Ch. 0 Sum Li Reactive power+ (QI+QII) Inst. value
DisconnectRequest

Most likely the data is not being transferred correctly

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

Hi, Class id is changed from…

Hi,

Class id is changed from Int16 to UInt16.
This is fixed for version 1.0.151.

https://gurux.fi/release/guruxdlmspython-10151

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