Fronius Primo Gen24 Plus no longer has a push interface

I’m getting my new converter next week and it no longer has a push interface and I have no information as to whether it will ever come back.

Is there a solution or an idea how to get my values back to PVoutput?

Can PVOutput fetch the data because the Json API interface is still available and I could release external access?

Hi @sulzbacher. If the Fronius API can extract JSON data from the Gen24 Plus [ Is it the same API as the Primo and Symo? ] it’s a fairly straightforward process to forward that data on to PVO.

You will need some sort of computer running 24 x 7 to do this. If you don’t have a suitable computer [ cheap and low power consumption] then a Raspberry Pi is a good ( and popular ) choice.

Do you also have the means of measuring consumption?

@grannos

Yes, I also have a consumption meter.

24/7 only an old tablet runs on Android 4 for visualization the Generation and Consumption coupled via Modbus TCP.

Hi @sulzbacher

To verify that the existing Fronius Solar API V1 calls are supported by tour Gen24 Plus can you perform the following API queries against your system using a web browser?

Where ‘fronius’ = the I.P. address of your inverter.

First API call provides the API Version
http://fronius/solar_api/GetAPIVersion.cgi

Second API call provides realtime / live PRODUCTION data.
http://fronius/solar_api/v1/GetInverterRealtimeData.cgi?Scope=Device&DeviceId=1&DataCollection=CommonInverterData

Third API call provides realtime / live IMPORT / EXPORT data.
http://fronius/solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0

I do not have access to any Android powered devices so I don’t know if you can run [EDIT]an[/EDIT] arbitrary script on one at a regular interval.

The Gen24 provides additional functionality over and above my Sumo so it may have a more extensive API for reporting the additional detail.

@grannos

Yes, I can do that as soon as it is installed, but first I have to convert the control cabinet here because the Gen24 has an emergency power function and a few switching devices have to be installed for this.

I think I’ll be ready in 3 weeks because a few components haven’t been delivered yet and we’re going on vacation in between.

As far as I have seen in the Fronius documentation and have read in other forums, these API queries should work.

According to Fronius - Home Assistant

For Gen24 devices (delivered with Firmware >= 1.14.1) make sure to activate the “Solar API” in the inverters web interface.

Something to check post installation. It might save you ‘hours of fun’ otherwise!

I was busy today and nailed everything together.
Query the API here:

APIVersion 1
BaseURL /solar_api/v1/
CompatibilityRange 1.7-4
Body
Data
DAY_ENERGY
Unit Wh
Value null
DeviceStatus
ErrorCode 1240
InverterState Sleeping
StatusCode 13
IAC
Unit A
Value 0
IDC
Unit A
Value 0
IDC_2
Unit A
Value 0
IDC_3
Unit A
Value null
PAC
Unit W
Value 0
SAC
Unit VA
Value 0
TOTAL_ENERGY
Unit Wh
Value 2115.536666666667
UAC
Unit V
Value 230.01666259765625
UDC
Unit V
Value 3.382577419281006
UDC_2
Unit V
Value 2.2445476055145264
UDC_3
Unit V
Value null
YEAR_ENERGY
Unit Wh
Value null
Head
RequestArguments
DataCollection CommonInverterData
DeviceId 1
Scope Device
Status
Code 0
Reason
UserMessage
Timestamp 2022-04-07T19:07:52+00:00
Body
Data
Current_AC_Phase_1 2.389
Current_AC_Sum 2.389
Details
Manufacturer Fronius
Model Smart Meter 63A-1
Serial 12345678
Enable 1
EnergyReactive_VArAC_Phase_1_Consumed 14539380
EnergyReactive_VArAC_Phase_1_Produced 56861440
EnergyReactive_VArAC_Sum_Consumed 14539380
EnergyReactive_VArAC_Sum_Produced 56861440
EnergyReal_WAC_Minus_Absolute 8093242
EnergyReal_WAC_Phase_1_Consumed 9799700
EnergyReal_WAC_Phase_1_Produced 8093242
EnergyReal_WAC_Plus_Absolute 9799700
EnergyReal_WAC_Sum_Consumed 9799700
EnergyReal_WAC_Sum_Produced 8093242
Frequency_Phase_Average 49.9
Meter_Location_Current 0
PowerApparent_S_Phase_1 553.05
PowerApparent_S_Sum 553.05
PowerFactor_Phase_1 0.86
PowerFactor_Sum 0.86
PowerReactive_Q_Phase_1 -107.27
PowerReactive_Q_Sum -107.27
PowerReal_P_Phase_1 477.69
PowerReal_P_Sum 477.69
TimeStamp 1649358403
Visible 1
Voltage_AC_Phase_1 231.5
Head
RequestArguments
DeviceId 0
Scope Device
Status
Code 0
Reason
UserMessage
Timestamp 2022-04-07T19:06:44+00:00

I have modified an existing script ( that I had written ) so that it will extract / calculate values for v1, v2, v3 & v4 from my Fronius inverter. I will run it overnight against my own system to check that it behaves okay.

In order to get “LIVE” daily energy values for CONSUMPTION I have had to dig into GetArchiveData.cgi as GetMeterRealtimeData only returns lifetime values.

A recent firmware change made by Fronius [ Comments posted elsewhere on this forum ] altered the API. Can you please run the following API call and post the segment that looks like the following? The API change alters the METER identifier.

			"**meter:IME - Smart Meter 63A - 123456789**" : 
			{
				"Data" : 
				{
					"EnergyReal_WAC_Minus_Absolute" : 
					{
						"Unit" : "Wh",
						"Values" : 
						{
							"0" : 33878158,
							"10200" : 33878158,
							"10500" : 33878158,

http://fronius/solar_api/v1/GetArchiveData.cgi?Scope=System&StartDate=2022-04-08&EndDate=2022-04-08&Channel=EnergyReal_WAC_Sum_Produced&Channel=EnergyReal_WAC_Minus_Absolute&Channel=EnergyReal_WAC_Plus_Absolute&Channel=PowerReal_PAC_Sum

404 Not Found

I think the gen24 doesn’t have an archive like the snapin inverters…
I found something about this in the API documentation

5 Archive Requests
5.1.1 Availability
Platform Since version
Fronius Hybrid 1.1.2-16
Fronius Non Hybrid 3.3.4-5
Fronius GEN24 NEVER

Edit:
in this doc is a link

2.2 Fronius GEN24
2.2.1 Client Generation using OAS
We provide an OpenAPI interface specification 1 file for GEN24 inverters to support client generation in multiple
languages.
Download the file here: https://www.fronius.com/QR-link/0025.

That throws a few flies into the ointment…

Thanks for the link to the update API document. Reading through it I can see that the GEN24 returns ‘null’ to quite a few fields which makes life rather difficult.

I have a Plan ‘B’ however but it will necessitate preserving the state of the previous API call on the device from which the script is run. The ‘DAILY’ cumulative fields which I had hoped to use do not appear to be available on the GEN24. It will be necessary to use the LIFETIME ENERGY values subtracting the previous one from the current one to obtain incremental increases in energy consumption and production.