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