I've found the following example for changing obis' value/property:
clock = GXDLMSClock()
clock.time =datetime.datetime.now()
self.write(clock, 2)
But is here other way? For example, in my python code I'd have one function and I'd like to change with this function various things: APN, PIN, ports etc. Do we must to specify different object for each obis, like below:
clock = GXDLMSClock()
apn_change = GXDLMSGprsSetup()
mac = GXDLMSMacAddressSetup()
etc. etc?
Also, how do I make ACTION? Does it work like write method? I have obis 0-0:131.14.0*255 which is for soft reset, but I have no idea how to execute that - because I do not even know object's type (like above with GXDLMSClock())
Hi, Yes, you must create an…
Hi,
Yes, you must create an object and fill the correct parameters. APN, PIN, ports are using different objects and there is no generic object that you want use to write them all.
You must know the object type or you can't call the action. Each object has own actions. Try to connect with GXDLMSDirector and check what is the object type. Then create the object and you can call its action method.
The simple actions don't send any data, but data can be very complex.
BR,
Mikko
what object youwant to
Hi, thanks for response…
Hi, thanks for response.
Looks like that my obis 0.0.131.14.0.255 (soft reset) is manufacturer specific - GXDLMSDirector was unable to read that obis (it was not on the list), but I was able to read it directly from my meter (using manufacturer's software).
So, so far, according to some notes, it's not possible to execute method of manufacturer's specific object with python?