I want to read a smart meter over tcp/ip(IPV4) with python.
I can read it over serial.
But i need to read over tcp protocol.But i don't know how?
Can you share a script or sample code please?
Can you help to me please?
You can read your meter usually in the same ways as you read your meter using the serial port connection.
Commands are the same with different communication channels.
Thank you for your quick response.
I just started coding and I don't have a very detailed knowledge of the dlms-cosem standard.
But i am continue read and search.
I don't know exactly which library to use for this stuation.
When i try to read with Gurux.Net.Python i am getting this error.
I need your valuable advice and guidance.
Best Regards.
Property 'port' has hanged.
trace:12:20:45 TraceTypes.INFO MediaState.OPENING
Media state changed. MediaState.OPENING
trace:12:20:45 TraceTypes.INFO MediaState.OPEN
Media state changed. MediaState.OPEN
trace:12:20:45 TraceTypes.SENT /?!
trace:12:20:45 TraceTypes.SENT /?!
Failed to receive reply from the server.
trace:12:20:47 TraceTypes.INFO MediaState.CLOSING
Media state changed. MediaState.CLOSING
trace:12:20:47 TraceTypes.INFO MediaState.CLOSED
Media state changed. MediaState.CLOSED
Hi,
Hi,
You can read your meter usually in the same ways as you read your meter using the serial port connection.
Commands are the same with different communication channels.
BR,
Mikko
Dear Sir,
Dear Sir,
Thank you for your quick response.
I just started coding and I don't have a very detailed knowledge of the dlms-cosem standard.
But i am continue read and search.
I don't know exactly which library to use for this stuation.
When i try to read with Gurux.Net.Python i am getting this error.
I need your valuable advice and guidance.
Best Regards.
Property 'port' has hanged.
trace:12:20:45 TraceTypes.INFO MediaState.OPENING
Media state changed. MediaState.OPENING
trace:12:20:45 TraceTypes.INFO MediaState.OPEN
Media state changed. MediaState.OPEN
trace:12:20:45 TraceTypes.SENT /?!
trace:12:20:45 TraceTypes.SENT /?!
Failed to receive reply from the server.
trace:12:20:47 TraceTypes.INFO MediaState.CLOSING
Media state changed. MediaState.CLOSING
trace:12:20:47 TraceTypes.INFO MediaState.CLOSED
Media state changed. MediaState.CLOSED
Hi,
Hi,
Your example is using IEC 62056-21, not DLMS/COSEM
http://www.gurux.fi/DLMSCOSEMFAQ
You need to ask from meter vendor is your meter supporting IEC 62056-21 with TCP/IP or do you need to use DLMS?
BR,
Mikko