iec-62056-21 optical probe data logging

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

Post Reply
geezerrr
Posts: 79
Joined: Tuesday 02 December 2014 22:16
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

iec-62056-21 optical probe data logging

Post 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
Attachments
smart-meter.jpg
smart-meter.jpg (213.53 KiB) Viewed 15602 times
gerb
Posts: 3
Joined: Friday 18 March 2016 22:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: iec-62056-21 optical probe data logging

Post by gerb »

I have described my setup here: viewtopic.php?f=14&t=5270&p=80155#p80155
It may be of use to you.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest