RalfZim / venus.dbus-fronius-smartmeter

A service for Venus OS, reading smart meter data from a Fronius system and making the values available on dbus.
MIT License
50 stars 28 forks source link

Cerbo GX already reading data from Fronius Symo? #14

Closed kLOsk closed 2 years ago

kLOsk commented 2 years ago

Hi Ralf,

I just setup my multiplus ii with Cerbo GX and realized that the Cerbo is automatically detecting the Fronius Symo already and interpreting its data from the smart gateway automatically. Can you quickly explain what's the difference to your script? It seems to me that the Cerbo is handling the Fronius Data just fine and there's no need for a script?

Thanks Daniel

tosog commented 2 years ago

This script is about reading data from The Fronius SmartMeter, not the Symo. Victron does not support the Fronius SmartMeter so this scripts emulates an EM24 SmartMeter.

SamuelBrucksch commented 2 years ago

Hey,

just saw this question and I'm interested in this as well.

I thought this script can only be executed on a Raspberry Pi, but i saw another project that advertises to run at a Cerbo, so it seems to be fine to use a GX device with this script (am i right?)

The Fronius dbus Implementation really only get's inverter data: https://github.com/victronenergy/dbus-fronius/blob/cf2009cfb5dcf6ac0d7c6f49c421be43a0d82ccd/software/src/froniussolar_api.cpp

So i was wondering, if it would make sense to open a PR at their side, to also add the meter data if it exists. Then we would get native Fronius Meter support and then I wonder if we could use it instead of this script.

I also created an issue at their own project repo: https://github.com/victronenergy/dbus-fronius/issues/1

I would be willing to add smart meter support to that so it will be part of the official venus os image later on. Hopefully they provide some feedback, but if anyone is interested in joining/helping let me know. I do not have the hardware available yet.

kLOsk commented 2 years ago

This script is about reading data from The Fronius SmartMeter, not the Symo. Victron does not support the Fronius SmartMeter so this scripts emulates an EM24 SmartMeter.

Oh, I see I somehow thought it also shows the loads on each phase. I only had a quick look... @SamuelBrucksch yes, @RalfZim modified the script and it now runs on CerboGX as well. Have yet to try it. Will do today probably.

kraber2 commented 2 years ago

It also works on my Raspberry Pi 4, but the service has always crashed and has to be started manually. But then it only runs as long as the appointment is open and goes to disconnect when it closes. svstat /service/dbus-fronius-smartmeter results in 0 or 1 second, starting it manually runs without errors until the terminal is closed