Smartmeter Optical pulse reader

7 replies [Last post]
AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012

Has anyone looked into using an optical sensor hooked up to a room node to capture smartmeter pulses?

im considering replacing the current cost clamp with something more accurate with pulse counting or prehaps use both as a comparison

Current Cost have a unit called the optismart but im finding it practically impossible to find one as i beleive they had issues and pulled the unit from release.

the openenergymonitor project store sells readers and transmitters so we could interface one a plugboard script and a serial port but im thinking a modified node would be a cheaper approach

 

Andrew

magill
Offline
Joined: 27 Apr 2012
Andrew I did that some time

Andrew 

I did that some time ago. Unfortunately I can't find specific details (I never write anything down!) Also I don't have accesss to my HAH at the moment but...

You need a phototransistor, something like:

https://jonarcher.info/2014/03/arduino-based-electricity-monitor/

You need a sketch running on the node (attached meter4.txt, rename to meter4.ino) I'm not sure if this is the one I've got running but look at it for guidance.

You need an applet running (JMPleccyApplet.lua)

and a support file (JMPleccy.lua)

I'm not sure if this will work, but it will give you a start.

John

 

John

AttachmentSize
JMPleccyApplet.lua 1.54 KB
JMPleccy.lua 675 bytes
meter4.txt 1.96 KB
brett
Offline
Providence, United States
Joined: 9 Jan 2010
To get you started there is

To get you started there is some Arduino src in the HAH git area i wrote this but never got around to writing the LUA side of thing, still that the easy bit once you have a pulse counter working.

https://github.com/dbzoo/hah/tree/master/userapps/arduino/PulseCounter

AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012
Thank you John & Brett.

Thank you John & Brett.

AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012
Hi John,Im currently sourcing

Hi John,

Im currently sourcing parts, I read an article that mentioned not all smart meters are enabled to provide optical output in normal running mode and need to be in an engineering mode or upload to do this, a quick test with my cameras CCD sensor didnt pick up any IR light output from the LEDs so im wondering if my meter is one of these and i should stick with the CT clamp which appears to be fairly accurate

checking on the manafactures website - https://www.edmi-meters.com/ProdDetail.aspx?L0=1&PID=31

My meter appears to support the optical connectivity but theres no mention if this is only in one of these eng modes.

They do however supply a read head but i guess this is aimed at supporting the meters and not for customer use

https://www.edmi-meters.com/ProdDetail.aspx?L0=3&PID=6

Can you see the output from your own meter?

 

Thanks Andrew

brett
Offline
Providence, United States
Joined: 9 Jan 2010
The LED in the location where

The LED in the location where you have the writing 1000imp/kWh should flash red as you consume power.   Using the sketch I supplied use an LDR and a bit of blue tack to hold it in place and you have a counter.

This is similar to my meter.

AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012
Thanks Brett, I dont see any

Thanks Brett,

 

I dont see any visible or IR activity from the LEDs, im going to try a few tests and throw some load on the ring circuit to see if the activity increases
my avergage consumption is around 330w (0.3kwh) so i should expect to see 300 pulses

 

Andrew

 

Edit - can confirm Red Led is flashing 1000 / kwh so we are good to go once my photodiode arrives

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Andrew,Good one.   That

Andrew,

Good one.   That sketch I posted works just fine with an LDR if you have one of them laying around you can try it out.  The wiring for the LDR is included in the sketch at the top in a comment, you an also attach a external LED that will flash in time with your meter given the LDR is now covering it up.  You have inspired me to finished off this project I started and didn't complete.

Brett

Hardware Info