Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Push Action Scheduler With 'Every X Min' (python)

Push Action Scheduler with 'Every X min' (python)

By mick93, 1 July, 2025
Forums
Gurux.DLMS

I have obis "0.3.15.0.4.255" - Class: 22 (Single Action Schedule), Push Action Scheduler and in attribute 4 there's execution time. So far, to change push interval to 'Every X min' I was using gurux.xml and I executed ready xml files, below is one of examples:

<?xml version="1.0" encoding="utf-8"?>
<Messages>
<SetRequest>
<SetRequestNormal>
<!-- Priority: Normal, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="41" />
<AttributeDescriptor>
<!-- ActionSchedule -->
<ClassId Value="0022" />
<!-- 0.3.15.0.4.255 -->
<InstanceId Value="00030F0004FF" />
<!-- Execution time -->
<AttributeId Value="04" />
</AttributeDescriptor>
<Value>
<Array Qty="01" >
<Structure Qty="02" >
<!-- *:*:00 -->
<OctetString Value="FF8F0000" />
<!-- */*/* -->
<OctetString Value="FFFFFFFFFF" />
</Structure>
</Array>
</Value>
</SetRequestNormal>
</SetRequest>
</Messages>

The example above uses 'FF8F0000' which means 'Every 15min' (second OctetString will be always empty [FFFFFFFFFF] for my cases).
But as xml executing takes some time, and I want to make it quicker, I tried to use reader.write() instead - and failed. I only managed to set exact date/time (like 07.07.2025 15:00), but I dont know how to change it to 'Every X min'?

Furthermore, 2nd question: I have this object: obis 0.3.25.9.0.255, Method:1, Push_Setup (class ID:40). Like with previous example, I was executing 'method 1' using gurux.xml for Python, see below:

<?xml version="1.0" encoding="utf-8"?>
<Messages>
<ActionRequest>
<ActionRequestNormal>
<!-- Priority: Normal, ServiceClass: Confirmed, Invoke ID: 1 -->
<InvokeIdAndPriority Value="41" />
<MethodDescriptor>
<!-- PushSetup -->
<ClassId Value="0040" />
<!-- 0.3.25.9.0.255 -->
<InstanceId Value="0003190900FF" />
<!-- Push -->
<MethodId Value="01" />
</MethodDescriptor>
<MethodInvocationParameters>
<Int8 Value="00" />
</MethodInvocationParameters>
</ActionRequestNormal>
</ActionRequest>
</Messages>

and it actually worked, but it's slow. Is it possible to execute this method using another way?

Profile picture for user Kurumi

Kurumi

5 months ago

Hi, You don't need to invoke…

Hi,

You don't need to invoke the push. It's invoked automatically when you add the time to Single action schedule. There is an error in your time. It's not FF8F0000. You must use FF0F0000 instead of. When you write that value to the meter, it starts sending push messages every 15 minutes.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195
  • Thu, 12/11/2025 - 13:22
    Gurux.DLMS.Python 1.0.194
  • Thu, 12/11/2025 - 11:01
    gurux.dlms.java 4.0.86
  • Wed, 12/10/2025 - 08:45
    gurux.dlms.java 4.0.85
  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201

New forum topics

  • Inhemeter i210 dlms director
  • Gurux.Net
  • GXTIME Conversion Issue
  • DLMS Meter Gurux DLMS Director Properties
  • Using MAX3232 + FT232RL to Energy meter with GXDLMS Director
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin