Replies: 13 comments 16 replies
-
Team Setup I've uploaded my data for the last few months and created a system around this. I've joined the sytem to the team Fox ESS Owners Group. To do this, once you have registered, setup a system and uploaded 10 days of output data, go to Settings and find your system (at the bottom of the page) and click Edit. Scroll down to Advanced Settings and find Team Membership. Enter 'Fox ESS Owners Group' in the box and click Join. At present, I can't see the group but I think that might be because there is a minimum of 10 members before a group is visible. |
Beta Was this translation helpful? Give feedback.
-
Output Data I've done some digging around on the site and in the forum and there isn't a formal definition of what the Generated value represents e.g. is this the daily PV energy generated or the inverter Output energy - so it's really up to us to decide which number we want to upload. The only constraint I did find when uploading data is that your export cannot exceed the generated value. The minimum data required is a Date and Generated energy for that day. I recommend adding your export (feed in) as well. Any other data you want to upload is up to you. Where you have HA access, the final values for the sensors pv_energy_today and feed_in_energy_today are recommended. If you don't have these, use pv_energy_daily and feedin_daily although I found, if HA has been rebooted during a day, these sensors fall behind the inverter energy meters and under report as a result. |
Beta Was this translation helpful? Give feedback.
-
Yeh, consumption is your load power, grid consumption is called import but I could not see a clean way to upload that. It will let you just over-write existing data but it did prompt me at one point saying wait 5 minutes between CSV uploads so there may also be some rate limiting. For the teams - go to Settings, find your system and click Edit. Go down to Advanced Settings and find Team Membership. Enter 'Fox ESS Owners Group' and click join. That worked for me. If I do it again, it tells me I already joined that team. It doesn't show up under Teams yet but I think it need 10 members minimum. I've got some python scripts to download the Fox cloud raw data and integrate the PV power values to give a reasonable approximation for PV energy today. I've used this to upload data for the days between when my system was installed and when I setup HA. It's not ready for other people to use yet, but it may provide a way to upload data for people that dont have HA. |
Beta Was this translation helpful? Give feedback.
-
Historic Data Upload For anyone familiar with Python and Jupyter Lab and wanting to upload historic data, there is some code here that generates a CSV upload for a given start date and number of days. The data contains the PV generation, Feed In, Load and Grid Consumption. https://github.com/TonyM1958/FoxESS-Cloud/blob/main/README.md#pv-output I used this to populate pvoutput with data for my system prior to setting up Home Assistant. Note: uploading data from Home Assistant, where available, is recommended as this data is more accurate than the Fox Cloud data. There are also some gaps in the Fox Cloud data when data may not have been collected when the service was taken down for maintenance around the middle of April 2023. |
Beta Was this translation helpful? Give feedback.
-
HA Data Upload via SQL If you have MySQL access to Home Assistant, you can run a query against your statistics data to upload data. The query and details of the settings are here: https://github.com/TonyM1958/HA-FoxESS-Modbus/wiki/Exporting-Data#pv-output I used this to populate pvoutput with my data from the day I setup Home Assistant. This takes data directly from the inverter energy meters via the _today sensors available over RS-485. Depending on your integration, you daily energy sensors might have different names. Also be aware, if you have a second solar inverter, double check the load energy reported by HA as it may not be correct. |
Beta Was this translation helpful? Give feedback.
-
Automatic upload from HA I now have an automation that uploads energy data to pvoutput every hour. You could just run this once a day but its running more often just now for testing. I'll run it for a day or two to make sure it works before posting details of how to setup it up. The gist of it is this:
|
Beta Was this translation helpful? Give feedback.
-
Think I've worked our a way to take PV generation data from the Fox Cloud API and use this to populate pvoutput. The data I'm using is 5 minute samples so it may even be possible to partition import and export data in Flux peak / off peak periods. May take a few days to work out. Should be able to run on a PC with Anaconda / Jupyter Lab. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
Just peeking in to say I'm following this but not sure if I can add much on the development side. It is looking interesting so far. |
Beta Was this translation helpful? Give feedback.
-
Brilliant Tony! |
Beta Was this translation helpful? Give feedback.
-
@TonyM1958 Great instructions Tony 👍 , one minor point to maybe add to instructions : |
Beta Was this translation helpful? Give feedback.
-
Brilliant Tony, got that working easily. As you probably have guessed I don't find all this HA easy, but your instructions were clear & easy to follow for someone who has been working with HA for a while , but with no previous experience of it or coding. Yay, no more uploading CSV files manually. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@Chrisbrown01942 @Daibutt @MrEcoJones here's a new trick that I'm looking for people to try out... We now have the technology to get data from your Fox Cloud account and upload this to PV Output. THIS DOES NOT REQUIRE HA. Previously, I said you might need to install Jupyter Lab for this, but I now have it running in the cloud using Google Colaboratory. This means you just need a Google account with access to Google Drive. The details of how to run this are here: https://github.com/TonyM1958/FoxESS-Cloud/wiki/Running-in-Google-Colaboratory What you get is fully scripted access to your Fox Cloud data and settings via Python - if you want to start exploring data etc. But, what I've given you to start with are some simple cells that generate CSV data from when your inverter was installed that you can use to upload to PV Output. This performs a Riemann Sum on your power data to estimate your true PV energy generation (not the Yield that Fox provides) so you may find the numbers vary slightly from what you expect. In testing, I have found that the results are within 3% of the energy meters built into the inverter. In addition, there is a script that, by default, generates your data for yesterday and directly uploads this. BTW - the scripts also apply time of use to your data (TOU) so you will see your grid import and export energy split out into the Flux peak, off-peak and standard times. If you are on a different tarrif, it is possible to alter the time periods. Here's an example of my data with TOU: Any volunteers to give it a go and let me know how you get on? |
Beta Was this translation helpful? Give feedback.
-
A discussion area about pvoutput.org including registration, data uploading, maps and teams.
I will do some investigation into the data required and post information here. If you are also looking or want to contribute information, please add to the discussion.
Beta Was this translation helpful? Give feedback.
All reactions