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
Smart meter
Moderator: raymonvdm
Re: Smart meter
Surely I can't be the first who wants to do this?
Re: Smart meter
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.

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.
Greg.
Re: Smart meter
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.
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
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
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
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.
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
I saw that you got an answer there.
Gert
Gert
Re: Smart meter
FYI, my problems were resolved by the binding maintainer.
It's been running stable over a week now.
It's been running stable over a week now.