Please, I need guidance on what part of the source code to implement. We have an ESP32 and a DLMS meter with RS485 interface. We just need to communicate with it. Our ESP32 already speaks to an MQTT gateway
I have downloaded the agent zip folder and tried following to instructions to setup the agent as from the terminal output below
PS F:\PROJECTS\HARDWARE\POWER\agent_4.0.2409.1101> dotnet Gurux.DLMS.AMI.Agent.dll
starting Gurux.DLMS.Agent version 4.0.2409.1101
Welcome to use Gurux.DLMS.AMI.
Gurux.DLMS.AMI address: [https://localhost:8001] https://185.239.208.202:8001
Enter agent name: [I-32]
I am trying AMI4 with push notifications from meter. I am getting the Byte Codes from the meter.
Can I get sample template of C# script for AMI4? What should be the default name of script class/functions and what are the parameters and how it should return the calculated data to server?
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.