I get this error: "Gurux.DLMS.AMI.Agent.Worker.GXAgentWorker[0] Failed to establish the connection. Value cannot be null. (Parameter 'PortName')" after connecting the agent and adding a new task. The connection is successful but once a task is added, it throws the error above.
I have been using the Gurux DLMS python code with Kelin Electric Smart Meter. The meter gives me values using the DLMS director but when I use the Python code it gives me gibberish or invalid Data.
Has anyone else faced this problem? How should I be able to get the correct data using the Python code.
Just came across this DLMS AMI project and had some questions on recommended process on how to integrate to the AMI.
What I would like to achieve is to:
- Have the AMI read the meters
- Have an external system create, update and delete meters
- Have an external system read all newly read data
The meter creation etc. via API looks doable, but I'm having a hard time understanding if the value API is the way to go to export values as I need some meter identifier along with the value identifier.
issue 1:
When writing object Attr data, the data submitted on the page is inconsistent with the data in the input box. The submitted data is the old data before editing.
issue 2:
When the write operation is completed, the XML format Value will be stored in the DB, which will cause an exception the next time the Attr data is edited again.
issue 3:
Nothing happens after clicking the Save button of the Object Page, and the edited data is not saved.
When I try to write Clock Timezone data, the following error occurs on the Agent client
-----------------------------------------------------
fail: Gurux.DLMS.AMI.Agent.Worker.GXAgentWorker[0]
2024/5/10 15:59:22 Failed to execute task Write #3 started String '<Int16 Value="-480" />
' was not recognized as a valid DateTime. String '<Int16 Value="-480" />
' was not recognized as a valid DateTime.