question

der-neue avatar image
der-neue asked

Simulate energy meters with NodeRed?

Does anyone know a way to simulate an energy meter with NodeRed (Large OS)?

That must be theoretically possible.


Via Tasmota I get my yield from the PV system sent via MQTT.

Node-RED
1 comment
2 |3000

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

tompeel avatar image tompeel commented ·

Bump!


8 just spent some time with what I thought was a solution but I can't read the delta between the energy meter and the load on the inverter.

I can read my emonpi energy use through mqtt into node red on largeOS.

I can subtract a safe number or you 'grid setpoint' in normal ESS

And I can feed a number from nodered into the ESS grid setpoint.

This was the manual process I was doing untill I get my CT clamp wired in.

Its so close, but without another number like the load on the inverter I can't see how it will work as my current method will cancel it's self out and not work.

Would be a super cool feature!






0 Likes 0 ·
3 Answers
tompeel avatar image
tompeel answered ·

Ok, I have an answer, ill test it for a few days and assess the quality and ill post the flow here!


although reading your comment you want an energy meter for solar... Im using an external CT senor Via MQTT to act as a Grid meter to keep the import to a low number via setting the GridSetpoint via the ESS node.

May not help you but I'm sure it will help others!


3 comments
2 |3000

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

master-lu avatar image master-lu commented ·
Hi...how did you manage to have a Grid meter via MQTT?
0 Likes 0 ·
horemansp avatar image horemansp master-lu commented ·

I have an external ET340 (3 phase) grid meter that connects to the system via a serial connection. https://www.victronenergy.com/accessories/energy-meter?_ga=2.61970857.403123835.1670891844-1560824671.1661089301

The information from that grid meter will be available via MQTT.

0 Likes 0 ·
Andrew Ellis avatar image Andrew Ellis commented ·
Did you get to a point where you were happy with the node-red flow? Would you might posting it please?

Thanks

0 Likes 0 ·
dergrossedennis avatar image
dergrossedennis answered ·

I'm using this

https://github.com/fabian-lauer/dbus-shelly-3em-smartmeter

for my Shelly 3EM to be an Grid Meter for ESS.


And this

https://github.com/vikt0rm/dbus-shelly-1pm-pvinverter


for my Shelly 1PM to be an PV-Inverter in my ESS.


This phyton-scripts uses http-requests to access shelly devices.

It's possible to modify the script and get data with http-in and http-response node from Node-Red

2 |3000

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

mr-manuel avatar image
mr-manuel answered ·

Hi, check my GitHub repository. I have different drivers for that. PV, grid and battery. You can then feed the values over MQTT:

https://github.com/mr-manuel/venus-os_dbus-mqtt-pv

https://github.com/mr-manuel/venus-os_dbus-mqtt-grid

https://github.com/mr-manuel/venus-os_dbus-mqtt-battery

2 |3000

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