question

max78 avatar image
max78 asked

Calculate Energy ET340

Hi,

I have an ET340 with 1 Multiplus II in a 3 phase system.

The Energy Calculation is not the right for me.

Now I know the EM24 would be better, but I don’t want to change it.


It should easy be possible to calculate the Energy from and to Grid


For the dbus-shelly-3em-smartmeter is one post for a Formula Calculate Power from Energy and use it.

(I can post the formular if this is ok)


I think it will not work if I write the Energy variable with node red. Because the ET340 also writes it.

I think without recompiling the driver it would not work.


It should be easier to modify “kwhdeltas.py” with the calculation.

But I don’t know where to put the formular? It’s a bit difficult to understand the kwhdeltas.py and what the deltas function do.

And how I can read the Power in kwhdeltas.py?


Maybe it has to be implement somewhere here:

grid_in = deltas['grid']['/Ac/Energy/Forward']

grid_out = deltas['grid']['/Ac/Energy/Reverse']


result['Gc'] = grid_to_consumption


Maybe someone can help me.

Thanks, Markus

Energy Meter
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
stefank avatar image
stefank answered ·

I tried do edit the kwhdeltas.py because of a wrong logging for battery energy used. If I only use batterie energy, always an amount of grid power is logged too. When I look at the advanced graphs, there is no grid power used. But in dashboard always shown. Maybe there is an issue in kwhdeltas.py too. But I didn't get it. Using ET340,too. Maybe you have solved your problems and have an idea?

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources