Before this, I manage to get reading from meters thanks to this awesome package. But now, I got a problem to connect to DCU.
For direct reading from meter, I just ran this command and it worked.
- python main.py -h 183.xxx.xx.xxx -P xxx -p 5000 -a Low -t Verbose -r ln -c 20 -s 255
But, when I tried with DCU, it returned error which I could not figure it out.
- "No connection could be made because the target machine actively refused it"
Do you have any examples that could help me to get reading from meters via DCU?
I have checked, both IP address and port are correct. I found that the message sent by gurux app is a bit different with what has written in DCU docs and it showed error like this - Access Error : Device reports Read-Write denied.
From docs:
000100010001013FC101C100010000605001FF020002030A056D657465721601010102020101020216000A10534D54313035323032323030303136300121020216000A10534D5431303532303232303030313630020216010A0131020216020A0131020216030A0131020216040A0131020216050A0130020216060A0130020216070A0130020216080A0131020216090A01310202160A0A0C73656375726974795F6C6C730202160B0A01300202160C0A01310202160D0A01300202160E0A0234380202160F0A083232323232323232020216100A0130020216110A0130020216120A0130020216130A0130020216140A0130020216150A0130020216160A0130020216170A01300202161A0A01300202161B0A01300202161C0A01300202161D0A01300202161E0A01300202161F0A0130020216650A0130020216660A0130020216670A0130
Hi,
Hi,
This error is TCP/IP error and it means that your IP address or port is wrong.
Check those from the DCU documentation.
BR,
Mikko
Hi,
Hi,
I have checked, both IP address and port are correct. I found that the message sent by gurux app is a bit different with what has written in DCU docs and it showed error like this - Access Error : Device reports Read-Write denied.
Command used:
python main.py -h 183.xxx.xx.xxx -P xxxxxxxx -p 5000 -a Low -t Verbose -r ln -c 1 -i WRAPPER
From docs:
000100010001013FC101C100010000605001FF020002030A056D657465721601010102020101020216000A10534D54313035323032323030303136300121020216000A10534D5431303532303232303030313630020216010A0131020216020A0131020216030A0131020216040A0131020216050A0130020216060A0130020216070A0130020216080A0131020216090A01310202160A0A0C73656375726974795F6C6C730202160B0A01300202160C0A01310202160D0A01300202160E0A0234380202160F0A083232323232323232020216100A0130020216110A0130020216120A0130020216130A0130020216140A0130020216150A0130020216160A0130020216170A01300202161A0A01300202161B0A01300202161C0A01300202161D0A01300202161E0A01300202161F0A0130020216650A0130020216660A0130020216670A0130
From system:
00 01 00 01 00 01 00 0D C0 01 C1 00 0F 00 00 28 00 00 FF 02 00
Could you please advise on this matter? Thanks
Hi,
Hi,
At the document example data is written.
https://www.gurux.fi/GuruxDLMSTranslator?translate=000100010001013FC101…
Client asks the association view and the meter should return it. Without association view you don't know what kind of registers the meter can offer.
https://www.gurux.fi/GuruxDLMSTranslator?translate=000100010001000DC001…
BR,
Mikko