Page 1 of 1
Smart meter
Posted: Fri May 02, 2014 11:31 am
by gertjuhh
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
Re: Smart meter
Posted: Tue May 13, 2014 12:02 pm
by gertjuhh
Surely I can't be the first who wants to do this?
Re: Smart meter
Posted: Fri Jun 06, 2014 9:35 am
by sj3fk3
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.
Re: Smart meter
Posted: Tue Dec 02, 2014 1:55 am
by BasVDL
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.
Re: Smart meter
Posted: Thu Jan 08, 2015 5:42 pm
by GertK
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
Re: Smart meter
Posted: Mon Jan 19, 2015 10:13 am
by gertjuhh
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.
Re: Smart meter
Posted: Tue Jan 20, 2015 1:54 am
by GertK
I saw that you got an answer there.
Gert
Re: Smart meter
Posted: Fri Feb 13, 2015 8:08 pm
by gertjuhh
FYI, my problems were resolved by the binding maintainer.
It's been running stable over a week now.