Page 1 of 1

iec-62056-21 optical probe data logging

Posted: Sunday 08 February 2015 18:30
by geezerrr
Hi all,

i'm working on a new project, i'll like to read out my smart meter with a optical probe, using my rpi running domoticz.
i bought a sample probe at http://www.tespro.com.cn/en/TP-USB.php

i was thinking to create a couple dummy switches and write a lua script to get the data printed to these switches.
Unfortunately I do not have enough knowledge of linux and scripting and was hoping you guy could help me out to get a working schript.


when conneted to a win7 pc using http://www.meter-test-equipment.com/ i get the following out of my meter:

[==> /?!<0D><0A>
<== /ACE0\3k260V01.18
==> <06>000<0D><0A>
<== -- STX --
<== F.F(00)
<== C.1(11579441 )
<== 1.8.1(000000*kWh)
<== 1.8.2(004119*kWh)
<== 1.8.0(004119*kWh)
<== 2.8.1(000000*kWh)
<== 2.8.2(000000*kWh)
<== 2.8.0(000000*kWh)
<== C.5.0(00)
<== !
<== -- ETX --
<== -- BCC -- ]

that means the sensor is working, only need to implement in domoticz.
thought the protocal is the same as the P1 data.

hope you gus can help me out.

thanks in advance,

Gijs

Re: iec-62056-21 optical probe data logging

Posted: Monday 21 March 2016 10:16
by gerb
I have described my setup here: viewtopic.php?f=14&t=5270&p=80155#p80155
It may be of use to you.