PVOutput
How many PVOutput users do we have here? I'm (supposedly) feeding data into PVOutput, but it's not behaving as expected. I set it up using Tony M's excellent guide. I've tried accessing the PVOutput Forum, but can't, and no way of contacting them, as far as I can see :cry:
24x Eurener MEPV 450 panels - FoxESS KH8 inverter - FoxESS EP11H battery
Re: PVOutput
Working for me.

What are you seeing that makes you think it isn't working as expected?

How are you uploading your data?
H1-6.0-E hybrid inverter
6 x HV2600 v2 batteries
16 x JA Solar 405w panels
7 x Tigo TS4-A-O optimisers
Re: PVOutput
Thanks Tony - I was hoping it would be you who would reply :)

This is what I mean:
pvoutput.png
Only sporadic entries in the Generated column.

I followed your guide:
  • rest_command.yaml created
  • secrets.yaml edited
  • rest_command line added to configuration.yaml
  • Template sensor added to configuration.yaml
  • Automation created and tested
The fact that the data is being uploaded, albeit sporadically, kinda suggests to me that the config is correct, otherwise nothing would be uploaded, right?
24x Eurener MEPV 450 panels - FoxESS KH8 inverter - FoxESS EP11H battery
Re: PVOutput
That output suggest the wrong sensor may be used for generation - the names do vary between integrations unfortunately. Can you show me what you are using?

You can also upload historic data manually using the script described here: https://github.com/TonyM1958/FoxESS-Clo ... -pv-output

This will use the pv data from Fox cloud and also include any secondary generation, measured using CT2.

If you wanted to DM me an Open API key, I can also have a look at the cloud data for you.
H1-6.0-E hybrid inverter
6 x HV2600 v2 batteries
16 x JA Solar 405w panels
7 x Tigo TS4-A-O optimisers
Re: PVOutput
tony.matthews1 wrote: Thu Dec 18, 2025 5:20 pm That output suggest the wrong sensor may be used for generation - the names do vary between integrations unfortunately. Can you show me what you are using?

Code: Select all

name: "PVOutput Data"
        unique_id: foxess_inv1_pvoutput_data
        state: >
          {% set dat = now().year|string + ('0' + (now().month|string))[-2:] + ('0' + (now().day|string))[-2:] %}
          {% set gen = states('sensor.solar_energy_today') | float(default=-1) * 1000 %}
          {% set gen = '' if gen < 0 else gen | int | string %}
          {% set exp = states('sensor.feed_in_energy_today') | float(default=-1) * 1000 %}
          {% set exp = '' if exp < 0 else exp | int | string %}
          {% set con = states('sensor.load_energy_today') | float(default=-1) * 1000 %}
          {% set con = '' if con < 0 else con | int | string %}
          {% set imp = states('sensor.grid_consumption_energy_today') | float(default=-1) * 1000 %}
          {% set imp = '' if imp < 0 else imp | int | string %}
          {% set result = dat + ',' + gen + ',' + exp + ',,,,,,,0,' + imp + ',0,0,' + con + ',,,,' %}
          {{ result }}
tony.matthews1 wrote: Thu Dec 18, 2025 5:20 pmIf you wanted to DM me an Open API key, I can also have a look at the cloud data for you.
More than happy to do this, but which key, the Fox key or the PVOutput key?
24x Eurener MEPV 450 panels - FoxESS KH8 inverter - FoxESS EP11H battery
Re: PVOutput
Thanks - do you see the expected values each day if you graph the data for sensor.solar_energy_today?

The daily energy counters on the inverter reset to 0 at midnight each day, so I'm wondering if you have a race condition where the data is being uploaded around the same time as the inverter resets the counters?

Check the time shown on the inverter front panel against the time shown and ensure the automation that uploads data is running before midnight.

It's just your Fox API key if you want me to check - or you can run the script yourself using Google Colab.
H1-6.0-E hybrid inverter
6 x HV2600 v2 batteries
16 x JA Solar 405w panels
7 x Tigo TS4-A-O optimisers
Post Reply