Fronius Primo Gen24 Plus no longer has a push interface

@sulzbacher is correct in that you will be unable to obtain any CONSUMPTION data from the GEN24 without an attached SmartMeter.

You will not be able to extract or upload values for v3 and v4 to PVO.

I’m a newbie here… Got my Gen24+'s last week (A 6kW with a 13.8kWh BYD Batter and a 4kW with an ohmpilot and a wattpilot on it - no battery on the 4kW)

I can however state that the timestamp looks like a perfectly formatted ISO timestamp. Including the current offset from GMT (Or UTC if you prefer) of the timestamp itself… Not necessarily the offset of the inverter because my inverter is in NZDT (13 hours ahead of GMT) and the timestamp is sent as +00:00. e.g. (Hoping the picture uploads ok)

It’s been a while since I banged on any PHP (I think the last time was when writing cacti modules) but it’s pretty good at reading times. And like all good systems, should be keeping all times internally as UTC/GMT anyway and only applying the offset when displaying them on a user interface. (All else is blasphemy)

Anyway… Could I get a copy of your script? I’m happy to feed back any changes I make to it. And happy to try & keep it updated as and when the API changes.

Oh, I have smart meters on both the inverter phases as well…

Hi @travellingkiwi

I have PM’d you the details.

Grannos

1 Like

not sure why but i’ve never been able to get the script to work.
Tried running the script on multiple computers but it never gets uploaded.

Hi,

I’m totally new here, and found this post very interesting. I recently installed a Symo GEN24 and was playing with the API. The undocumented one seems to provide much more data, but not all of the item meanings are clear to me.
@grannos: I have only the Inverter and no SmartMeter, but I receive the same IDs querying the readables what you’ve posted. If I query the components then I can see which number correspond to which ID:
0 = Inverter
262144 = DataManager
327680 = Site
393216 = CACHE
I also have the ID 131169 as in your screenshot, this is not listed and it contains the very same data as I get under “0”.

Can you please PM me your unpublished script?
I’m thinking about to poll the inverter about every 5 seconds to get more grenular data. Is that a bad idea?

Hi @walaki. I have PM’d you the script.

PVO only displays data at a maximum of 5 minute intervals.

I would not think that there is much benefit to be gained by logging data at finer intervals unless you are talking about a seriously large installation, for a normal domestic situation I can’t see much use.

I found that the GEN24 doesn’t necessarily make the updated data available that often via the API so more rapid querying of the inverter will not necessarily display anyway.

As an exercise I used an Arduino with attached LED display to show my Symo’s PAC figures in ‘real-time’. The Arduino polls the inverter in 15s intervals. The data are only displayed and not used for any other purpose.

Thank you very much. I have not investigated too much, but as far as I can remember the data has changed even after a few seconds. Yesterday I finished my python script to be able to pull the data to an sqlite3 database from a sample file, as a start I pull all 4 tables (Inverter, DataManager, Site, CACHE). The next step is to get the data directly from the inverter then I will see if it is being updated or not. I’m on the latest firmware Fronius Update GEN24 Tauro V1.28.7-1.

Some data updates in near real time. For PowerFlow, consumption data only updates every 5 minutes (From, the API reference doc)

e.g. Inverters.1.Site.E_Total from GetPowerFlowRealtimeData.fcgi only updates every 5 minutes according to the Fronius docs.

You can however see other fields updating between polls if you loop every few seconds. e.g.

Hi @grannos - I am new to the platform and am running a GEN24. Following some threads here and I would really appreciate a copy of your php script and instructions. Thank you for your contribution here. Cheers.

Hi @wheelie_deco. Done.

Grannos.

Hi
@grannos I use a Symo Gen24 too and would like to use my pvoutput.org account for monitoring.
Could you please send a copy of that script to run on a linux aplliance (already in use with a SMA Sunnyboy from 2011).

thamks am and regads
Alf

Done.

The script has been successfully tested & run one my iMac and on my Raspberry Pi 3B plus by quite a few others on this forum.

Grannos.

Hi @grannos , could I also trouble you for a copy of your scrips as I too have a GEN24 & my Flukso does not want to connect to the server any more. Probably just easier to run your script & move on.
Thanks in advance :pray:

Hi @dave072. Done.

For the benefit of anyone using the script, I can report that two ( 2 ) recent users have reported an issue where the PVO push fails whilst attempting to upload a -VE value for v4.

The script obtain v4 from the GEN24 via the following API call.

$P_Load = round(-$arr[“Body”][“Data”][“Site”][“P_Load”]);

In all of my original testing the returned value was never +VE value so negating a negative value worked. For reasons unknown though two users have struck an issue where the returned value is occasionally +VE so negating it caused a -VE value to be assigned to v4.

The fix [ untested ] is to use the abs() function rather than negating the returned API value.

$P_Load = abs([“Body”][“Data”][“Site”][“P_Load”]);

If anyone has an explanation for the change in sign of [“Body”][“Data”][“Site”][“P_Load”]); I would be interested to hear it.

Thanks
Grannos

Hey @grannos any chance i could grab the php script too mate? have tried using the older ones on github but they dont seem to report back the consumption data up to pvoutput. TIA

Hi @shyamv. Done.

Welcome to the PVO forum. Please see my comments [ above ] above about altering the script. If you or someone else with a GEN24 can confirm that the change works, without error, I will incorporate the change.

Gannos

1 Like

@grannos Hi grannos,
I’d like a copy of your GEN24 script.
Thanks for all the work you’ve done on this interface.
Cheers

Hi @edy2133.

Done. Please see my comments above.

Grannos

@grannos
Thanks heaps.
I’ll have a play with it once my gen24 is up & running.
Cheers.

@grannos Can you PM me your script please. Keen to get my new GEN24 system back on PVOutput