Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


dolsen

1483 posts

Uber Geek
+1 received by user: 319

Trusted
Lifetime subscriber

#269829 9-Apr-2020 21:51
Send private message

Over the long weekend I think I will set up power monitoring of my smart meter to track power usage over the day.

 

What I will probably do is just use the 1000 imp / kWh light with a phototransistor to measure power usage using an esp-01 sending back via mqtt to openhab.

 

Before I do that though, has anyone successfully interfaced with the optical serial port on the meter? Mine is a EDMI MK7C meter that supposedly supports through the Optical port: FLAG (IEC 62056-21) or
 ANSI Type 2 (ANSI C12.18) as well as the option for passive RS-232. I've had a quick look at https://tasmota.github.io/docs/Smart-Meter-Interface/ but, I'm not sure about using that. Also - sending data to it might show up on a report somewhere (local communication initiated), so, I'm less keen on actively communicating with it.

 

Looking at the optical port though my phones camera I can see the led flickering, so, I think it's currently sending something (passive 232?). Has anyone here looked into this?

 

 

 

 

 

 


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
Chippo
129 posts

Master Geek
+1 received by user: 52

Trusted

  #2458677 9-Apr-2020 21:54
Send private message

I did a ton of research into this - unfortunately they only have a single serial port, which is where the 3G modem is connected. 

 

AFAIK there's no specific optical serial port. Just an LED that flashes every KWh.

 

I opted for a separate CT clamp for monitoring instead, I'm using my Zappi car charger for this.

 

These Meters do also include Zigbee, but unfortunately it would take co-operation from their owner to get it paired with your own hub.





I work for a global Data Protection Software company - But my opinions are my own.




dolsen

1483 posts

Uber Geek
+1 received by user: 319

Trusted
Lifetime subscriber

  #2458679 9-Apr-2020 22:06
Send private message

Chippo:

 

AFAIK there's no specific optical serial port. Just an LED that flashes every KWh.

 

 

 

 

According to this, https://www.edmi-meters.com/wordpress/wp-content/uploads/2018/03/Mk7C-Factsheet-English.pdf there are 3 separate interfaces. A serial port (where the 2g modem is connected to, but, looks like it can be upgraded to 3G / 4g etc by swapping the module), the optical port (on the front in the silver circle, has transmit and receive diodes), and another port (probably behind the tamper seals).

 

In addition, mine has a connection led and the 1000 pulse / kWh led.

 

There's a few different smart meters, yours may only have the 1 interface.

 

Looks like the mk7c supports modbus, and the tasomota firmware supports modbus as well...

 

 

 

 


snnet
1413 posts

Uber Geek
+1 received by user: 556


  #2458682 9-Apr-2020 22:15
Send private message

To get to the serial port you would need to cut the meter seal - if they audit your meter you'll be in for a bit of a bill to recalibrate/replace and recertify the installation.




dolsen

1483 posts

Uber Geek
+1 received by user: 319

Trusted
Lifetime subscriber

  #2458687 9-Apr-2020 22:22
Send private message

snnet:

To get to the serial port you would need to cut the meter seal - if they audit your meter you'll be in for a bit of a bill to recalibrate/replace and recertify the installation.



For the rs-232 and rs-485 ports, yes. But, the optical serial port is stuck right on the front of it and is accessible.

It's a no contact, electrically isolated interface (similar to what was on the old hp printers many years ago)

neb

neb
11294 posts

Uber Geek
+1 received by user: 10018

Trusted
Lifetime subscriber

  #2458937 10-Apr-2020 14:51
Send private message

dolsen:

Also - sending data to it might show up on a report somewhere (local communication initiated), so, I'm less keen on actively communicating with it.

 

 

What are they going to do, send someone out to check? :-).

snnet
1413 posts

Uber Geek
+1 received by user: 556


  #2458940 10-Apr-2020 14:52
Send private message

neb:
dolsen:

 

Also - sending data to it might show up on a report somewhere (local communication initiated), so, I'm less keen on actively communicating with it.

 

What are they going to do, send someone out to check? :-).

 

Haha, you might be surprised - I was surprised at how much information they keep per meter, photographs - retailers even have special investigation teams


 
 
 

Want to support Geekzone and browse the site without the ads? Subscribe to Geekzone now (monthly, annual and lifetime options).

neb

neb
11294 posts

Uber Geek
+1 received by user: 10018

Trusted
Lifetime subscriber

  #2458941 10-Apr-2020 14:57
Send private message

Chippo:

AFAIK there's no specific optical serial port. Just an LED that flashes every KWh.

 

 

That's the standard way of reading them, there's a vast amount of info out there on interfacing these to anything imaginable, e.g. Arduino, Pi, whatever. There may also be a pulse-counter output that you can read directly without having to go via an optical sensor.

richms
29098 posts

Uber Geek
+1 received by user: 10207

Trusted
Lifetime subscriber

  #2458978 10-Apr-2020 15:42
Send private message

When I asked about it I was told that the optical port has its access disabled to any data and is only usable by the calibration guys. Sucks really as I am more interested in the current than accumulated watt hours, also there is no directionality with the blinking LED so I would have no way to know if I am exporting power inadvertantly.





Richard rich.ms

dolsen

1483 posts

Uber Geek
+1 received by user: 319

Trusted
Lifetime subscriber

  #2475719 3-May-2020 10:56
Send private message

In the end, I went with the standard pulse indicator to measure the power consumed. Currently, I'm using a phototransistor over the led pulse indicator, but, I have to read it via the ADC which means that I have to keep polling it.

 

I'm waiting for a LM393 Light Sensor which uses a comparator to give a nice digital pulse that I can attach an interrupt to. That way, I can have the gas / electricity and a couple of temp sensors running off 1 esp8266 to send the data back to my home automation.

 

 


boosacnoodle
1269 posts

Uber Geek
+1 received by user: 855


  #2475765 3-May-2020 13:13
Send private message

Chippo:

 

These Meters do also include Zigbee, but unfortunately it would take co-operation from their owner to get it paired with your own hub.

 

 

Where did you find that they have ZigBee?


engedib
254 posts

Ultimate Geek
+1 received by user: 93


  #2475767 3-May-2020 13:19
Send private message

Switch to PowerShop and you can see it in their app? :)

 





MCSE+M/S, MCITP


 
 
 
 

Shop now for Dell laptops and other devices (affiliate link).
SirHumphreyAppleby
2938 posts

Uber Geek
+1 received by user: 1860


  #2475772 3-May-2020 13:40
Send private message

snnet:

 

To get to the serial port you would need to cut the meter seal - if they audit your meter you'll be in for a bit of a bill to recalibrate/replace and recertify the installation.

 

 

A little off topic, but the original paint on our meter box is now a fine powder. Is disassembling the door to replace the plastic windows and repaint it an acceptable activity?

 

This is plan B. Our power company said they'd put in a request to have the door replaced, but they also indicated it may not happen.


richms
29098 posts

Uber Geek
+1 received by user: 10207

Trusted
Lifetime subscriber

  #2475774 3-May-2020 13:42
Send private message

I thought the box was the home owners property? I know one was on the quote I had a sparky do to upgrade the supply here to meet new requirements.





Richard rich.ms

snnet
1413 posts

Uber Geek
+1 received by user: 556


  #2476612 4-May-2020 20:18
Send private message

SirHumphreyAppleby:

 

snnet:

 

To get to the serial port you would need to cut the meter seal - if they audit your meter you'll be in for a bit of a bill to recalibrate/replace and recertify the installation.

 

 

A little off topic, but the original paint on our meter box is now a fine powder. Is disassembling the door to replace the plastic windows and repaint it an acceptable activity?

 

This is plan B. Our power company said they'd put in a request to have the door replaced, but they also indicated it may not happen.

 

 

 

You can replace the windows and even the whole door of the meterbox - if you need part numbers PM me 

 

The only issue with the certification of the installation is the meter seals and any MEN points (if applicable)

 

The photos available to retailers will only concern the main switch and the meter itself to ensure they were sealed and operating properly


SirHumphreyAppleby
2938 posts

Uber Geek
+1 received by user: 1860


  #2476695 5-May-2020 07:42
Send private message

snnet:

 

You can replace the windows and even the whole door of the meterbox - if you need part numbers PM me 

 

The only issue with the certification of the installation is the meter seals and any MEN points (if applicable)

 

The photos available to retailers will only concern the main switch and the meter itself to ensure they were sealed and operating properly

 

 

Thanks for that. The meter is being replaced in the next few weeks. The possibility of replacing the door was raised when that was being discussed, but it sounds like that's our responsibility. I'll PM you with photos if we need to replace parts.

 

I don't foresee us needing to replace it as aside from the paint, it seems to be in good condition. If it's not replaced with the meter, I'm intending to remove the door, spray paint the outside of the box which is firmly attached to the wall, and powder coat the door in a more appropriate colour.


 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.