Smart meter

Forum about OpenHAB open Source Home Automation.

Moderator: raymonvdm

Smart meter

Postby gertjuhh » Fri May 02, 2014 10:31 am

This is most likely a question of how rather then is it possible given the vast amount of features openHAB offers, but I'm at a loss.
Does anybody know how to read the electric/gas data from a smart meter with one of these?

I'm currently in the process of moving my HA over from Domoticz to OpenHAB
gertjuhh
Starting Member
Starting Member
 
Posts: 8
Joined: September 2013

Re: Smart meter

Postby gertjuhh » Tue May 13, 2014 11:02 am

Surely I can't be the first who wants to do this?
gertjuhh
Starting Member
Starting Member
 
Posts: 8
Joined: September 2013

Re: Smart meter

Postby sj3fk3 » Fri Jun 06, 2014 8:35 am

Also very much interested in a easy way to do this! :-)

One could use the serial binding and do some scripting and read the values, but it would be nice if it was a simple dedicated binding.
Kind Regards,
Greg.
User avatar
sj3fk3
Member
Member
 
Posts: 119
Joined: April 2012
Location: Abcoude

Re: Smart meter

Postby BasVDL » Tue Dec 02, 2014 12:55 am

I managed to read the smartmeter with an Arduino Uno+ethernet shield and publish the values with MQTT.
Every 10 seconds the smartmeter sends the values to the Arduino and are split into 7 values (+T1, -T1, +T2, -T2, power usage, power redelivery, gas usage) and are published to Mosquitto as a string.
In an openHAB rule every value is translated to a number with a state change rule
Now I've got them almost realtime on my sitemap.
I did the same with my Solaredge inverter. This one is connected via Modbus/RS485 to a second Arduino Uno+ethernet shield and pulishes the values to Mosquitto. The actual power usage in the house is calculated in openHAB by adding/substracting the AC solar power with the power usage/redelivery from the smart meter.
BasVDL
Starting Member
Starting Member
 
Posts: 2
Joined: December 2014

Re: Smart meter

Postby GertK » Thu Jan 08, 2015 4:42 pm

Openhab has a smart meter binding for the Dutch Smart Meter since today. It is the DSMR binding. You can download it here
https://openhab.ci.cloudbees.com/job/openHAB/
and read the documentation here
https://github.com/openhab/openhab/wiki/DSMR-binding
I did not try it yet. If you do, please show your results here.

Gert
GertK
Member
Member
 
Posts: 50
Joined: February 2012
Location: Nijmegen, The Netherlands

Re: Smart meter

Postby gertjuhh » Mon Jan 19, 2015 9:13 am

Thanks, didn't spot any reference to this on the openHAB Google Groups.
With my meter electricity is being parsed properly, gas usage not though (reported here).
But as different meters can produce different readouts your results may be different.
gertjuhh
Starting Member
Starting Member
 
Posts: 8
Joined: September 2013

Re: Smart meter

Postby GertK » Tue Jan 20, 2015 12:54 am

I saw that you got an answer there.

Gert
GertK
Member
Member
 
Posts: 50
Joined: February 2012
Location: Nijmegen, The Netherlands

Re: Smart meter

Postby gertjuhh » Fri Feb 13, 2015 7:08 pm

FYI, my problems were resolved by the binding maintainer.
It's been running stable over a week now.
gertjuhh
Starting Member
Starting Member
 
Posts: 8
Joined: September 2013


Return to OpenHAB Forum

Who is online

Users browsing this forum: No registered users and 1 guest