I'm trying to read out data from an Iskraemeco AM550 using the IR interface via the Gurux python interface (on Raspberry PI). I followed the setup instructions but so far I'm unable to receive any data from the device:
root@raspberrypi:/home/pi/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python# python3 main.py -S /dev/ttyUSB0 -t Verbose
gurux_dlms version: 1.0.135
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
Authentication: Authentication.NONE
ClientAddress: 0x10
ServerAddress: 0x1
Standard: Standard.DLMS
TX: 17:05:42 7E A0 07 03 21 93 0F 01 7E
Data send failed. Try to resend 1/3
Data send failed. Try to resend 2/3
RX: 17:05:57
DisconnectRequest
Traceback (most recent call last):
File "/home/pi/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/main.py", line 112, in main
reader.readAll(settings.outputFile)
My IR head claims to comply to ISO 62056-21 using an C2P2102N chip.
I also tried to use -S /dev/ttyUSB0:115200:8None1 , -S /dev/ttyUSB0:300:8None1, -S /dev/ttyUSB0:9600:8None1 without success.
DisconnectRequest
Traceback (most recent call last):
File "/home/pi/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/main.py", line 112, in main
reader.readAll(settings.outputFile)
We don't have AM550 in the office so I can't check this.
It might be that the baud rate is changed. You can try with GXDLMSDirector and search for the correct parameters. Check this video. https://youtu.be/BeaWKmyMwuE
The meter should reply something for "/?!" when the baud rate is correct and if your optical probe is working.
Hi,
Hi,
IEC 62056-21 is not DLMS. You can read more here:
http://www.gurux.fi/DLMSCOSEMFAQ
You can try this:
python3 main.py -S /dev/ttyUSB0:300:7Even1 -t Verbose -i HdlcWithModeE
The default start baud rate for IEC is 300 when an optical probe is used.
BR,
Mikko
Hi Mikko
Hi Mikko
Thanks for the fast response! Unfortunately, still no data can be read:
# python3 main.py -S /dev/ttyUSB0:300:7Even1 -t Verbose -i HdlcWithModeE
gurux_dlms version: 1.0.135
gurux_net version: 1.0.19
gurux_serial version: 1.0.20
Authentication: Authentication.NONE
ClientAddress: 0x10
ServerAddress: 0x1
Standard: Standard.DLMS
TX: 12:39:05 /?!
DisconnectRequest
Traceback (most recent call last):
File "/home/pi/Gurux.DLMS.Python/Gurux.DLMS.Client.Example.python/main.py", line 112, in main
reader.readAll(settings.outputFile)
Hi,
Hi,
We don't have AM550 in the office so I can't check this.
It might be that the baud rate is changed. You can try with GXDLMSDirector and search for the correct parameters. Check this video.
https://youtu.be/BeaWKmyMwuE
The meter should reply something for "/?!" when the baud rate is correct and if your optical probe is working.
BR,
Mikko