SDM630 as meter for microgrid

Hi Forum,

There is a smaller sub-distribution in my garage with a SDM 630 meter in it. I used to meter consumption. Since yesterday I´ve installed a microgrid on the garage´s roof to get more PV power in winter.
So I´ve configured the meter as “consumption and production” and it does not show in UI at all. I know it is “production and consumption” and not “production and consumption metered”.
I guess this is a normal behaviour…
But I do not understand the reason for this.
Should I implement a separate pv-inverter module based on SDM 630?


It seems sufficient to implement two counters on the same hardware device: one for production and one for consumption. This way, generation will also appear in the UI.

However, I’m not quite clear on the energy flow yet: both production and consumption meters should provide positive values, correct?

as far as i know the meter can just measure in one direction? so it could not work as consumption as production or you have to install two of them and then one is consumption and one is produktion. hope that helped

Hi Paul,

The problem with the production “direction” ist that ActivePower can be negative. Not good for a production meter but also physically correct. So I took a modified SDM630 which does not allow negative values for production.
With consumption vice versa. Now OpenEMS shows 2 meters but uses the same hardware meter. That´s ok for my purpose.
I have to say that I am still struggeling with energy flow and the different meter types make it even more complicated.
But I am happy with my solution even if it is not out of the box any more.

It´s the same discussion that @phfeustel kicked off in this thread. By the way: his small table helped me to understand energy flow the right way.



Hi Klinki,

your approach is ok and could actually be introduced as a separate MeterType. The problem is, that with one meter you are not able to distinguish production and consumption, i.e. you will only find out if currently production on the garage is higher than the consumption there. Just like a Grid-Meter can not distinguish.

So to be completely correct you would need two meters, one measuring only the production and one only the consumption.


Hi Stefan,

Up until now, the approach has worked quite well. However, now that the sun is shining more frequently, a problem has emerged: When the production on the garage exceeds the total consumption (of the house), the difference appears as “Sonstiger” in UI.
For example: Actual consumption in the house is 600W, production on the garage is 1000W. Then “Sonstiger” is at 400W.
I don’t quite understand this, since for both (software) meters of the garage, negative values for ActivePower are not allowed.

I still have no idea what part of the whole system causes this problem. Maybe the Solaredge combination DcCharger, Ess and Gridmeter.
But that is not so easy to determine.

Best regards,

See my Issue here:

Maybe these are related to each other ? I have the same Problem with my Shelly’s aswell…

I think that I have found the reason: AC Power values to the hybrid system are not getting negative, e.g. if I charge from AC/grid.

Then AC power going to the ESS is calculated and shown as consumption. That´s quite logic.
And it is also frustrating… I´ll have to dig deeper in what SolarEdge does in that case.

Thanks for your advice anyway!