Fronius MPPT 1 and 2 voltages and details


Thank you Mike,it also looks like having inverter temperature is possible as on page 53 every 5 min


I have created a PHP script that extract the DC Voltage and Current data for each of the two strings and sends the derived Power information for MPP1 and MPP2 to PVOutput. The script is designed to be run ( via cron ) every five minutes. It appears to be working although it needs a little tidying up first.

The PHP version on my iMac is 7.1.23 and the PHP version on my [ 24 x 7 ] Linux host is only 5.4.16. It appears that the Array Bounds Checking is not the same in the two versions.



I’ve made a few modifications to the PHP script. I still need to to a bit more testing. I’ve manually added the data for 1st -> 3rd of March. The 4th is happening automagically - so far. I had to perform a manual overwrite though so there is so ‘future’ data on today’s date. It will get overwritten as the day wears on.

The 3rd of March is interesting as it shows what happens to my two (2) strings as my ( 5kW ) inverter clips its output. Yesterday was ‘cloud-free’.


yes it looks good,very handy to have for twin setups please keep up the good work,are you going to add mppt 1 and 2 string voltages as well and perhaps inverter temperature as well, jim D 150 kms down the road from you with Jims maxim jinkos 6625 5.050kW


Interesting. Is there a conversion factor variable in the data to convert those into AC output wattages, so that MPP1 + MPP2 = total?

Solarweb does it, so I guess it must be in there somewhere.


can you put the script up here?


The script is ready to go. I just have to figure out where to put it!


Depending how big the code is you could just post it directly in here with code tags
Or pm it
Or host on a dropbox or similar account


I havent been able to grab inverter temp. It says its available in the api document but doesnt show it when i query it.



I’ve uploaded the PHP script to github

Please let me know if you have any trouble accessing it. I’ve not used github before. Please read the readme too. If you have any questions please ask.

I am running the script on a Linux host via cron.

*/5 * * * * root /usr/bin/php /root/pushPVStringData.php >> /root/pushPVStringData.log

The Linux host is running PHP 5.4.16

Good Luck.


I suspect that Temperature_Powerstage is only being logged by the inverter whilst it is inverting. It wasn’t that cold in Perth yesterday.

The Fronius API documentation also mentions: Temperature_Channel_1 Temperature_Channel_2. I suspect that this if for the optional Fronius temperature sensors. When I made an API call no temperature data were returned. I do NOT have an optional Fronius temperature sensor attached to my system.


So this is just live 5 min readings? how do you get actual cumulative totals of each?


The DC Power readings are and can only be instantaneous. I haven’t tried to calculate energy data. The figures / chart doesn’t show cumulative data.

You could calculate a very rough energy value based upon two adjacent power settings. ( P(t) + P(t+1) / 2 ) * 300. It wouldn’t be very accurate as too much can happen in 5 minutes.

This would give you a value in Joules. 1kWh = 60 * 60 * 1 = 3600J so you could divide the result by 3600 to convert it to kWh if you wished.

I am more interested in extracting the Inverter fan RPM data to use up my remaining Extended Data fields… :wink: