I’m not happy with various aspects of Fronius’s push service so I’m looking to develop a small app which runs on my Raspberry Pi, pulls values from my Fronius, and pushes them to PVO’s /service/r2/addstatus.jsp every 5 mins. It seems to me most accurate to push energy values v1/v3 and leave out the power values v2/v4 and thus let PVO automatically calculate the average powers which is the best representation of power gen/use over the 5 min period. I can extract accurate lifetime energy values for v1/v3 from the Fronius. However, the documentation at https://pvoutput.org/help.html#api-addstatus only describes a “c1” flag, not a “c3” flag. Is there a “c3” flag? I’d prefer to pass cumulative values otherwise my app has to process day rollover and record (and save on disk) the counter start values for each day.
Also, after thinking about coding for day rollover, I can’t see how PVO 100% accurately accumulates a full days energy because looking at the data it seems to discard the last 5 min energy value for each day, i.e. v1 and v3 at 00:00 on the following date which gives the incremental value between the previous 23:55 -> 00:00. Won’t the total consumption for each day be missing this last increment? Since the 00:00 push actually records values for the end of the previous day’s 23:55->24:00 I am thinking that each day should start at a 00:05 value and end at a 24:00 value. I.e. 00:00 values are actually 24:00 for the previous day. That way, all the energy values could be shown and not missing in the totals.