MyBroadband pvoutput.org team

DrJohnZoidberg

Honorary Master
Joined
Jul 24, 2006
Messages
28,277
Reaction score
7,785
Location
Table View
PVOutput.org is a free service for sharing, comparing and monitoring live solar photovoltaic (PV) and energy consumption data.

It's very useful for not only keeping stats on your solar set up but also to compare to other systems, and the more systems that are reporting the more useful the service becomes.

For example I can compare my system to a similarly sized system up the road from me and I can see how they compare which can help me understand if my system is underperforming.

1695375728004.png

They also allow you to create "Teams" which allows you to join a community, like MyBB. I've created one call "MyBroadband Community" - it's brand new so nobody is there except me for now.

Uploading your data

First you'll need to create your account on PVoutput.org, and configure the details of your system. This will give you a system ID which you can use for uploading the data.

It's relatively easy to start uploading your own data, as long as you have some way of requesting the necessary data from your inverter like Home Assistant, Solar Assistant or any first party tools that your inverter manufacturer provides. You can also check out https://forum.pvoutput.org/c/inverters/12 to find out if somebody has info on how to set it up for your inverter.

For my inverter (Sunsynk), I'm using Home Assistant (which is pulling data from Solar Assistant) and have just set up an automation to run a script every 5 minutes which grabs the data and pushes it to the pvoutput api. I used this guide to start with: https://www.bazmac.me/blog/setting-up-home-assistant-to-upload-to-pvoutput

My final set up looks like this in Home Assistant:

secrets.yaml (put your api key and site in these fields):
YAML:
# Use this file to store secrets like usernames and passwords.
# Learn more at https://www.home-assistant.io/docs/configuration/secrets/
some_password: welcome
pvoutout-api: my-api-key
pvoutput-site: my-site-id

configuration.yaml (replace sensors with yours):

The d and t query parameters are required, and either v1 (energy) or v2 (power) are required but you can send all of them (see https://pvoutput.org/help/api_specification.html#add-status-service for the full api spec).

YAML:
rest_command:
  update_pvoutput:
    url: https://pvoutput.org/service/r2/addstatus.jsp
    method: post
    content_type: "application/x-www-form-urlencoded"
    headers:
        X-Pvoutput-Apikey: !secret pvoutout-api
        X-Pvoutput-SystemId: !secret pvoutput-site
    payload: "d={{now().strftime('%Y%m%d')}}&t={{now().strftime('%H:%M')}}&v1={{(states('sensor.pv_total_kwh_lifetime')|float*1000)|round(0)}}&v2={{(states('sensor.pv_power'))|round(0)}}&v3={{(states('sensor.inverter_load_total_kwh_lifetime')|float*1000)|round(0)}}&v4={{(states('sensor.load_power'))|round(0)}}&v5={{(states('sensor.openweathermap_temperature'))}}&v6={{(states('sensor.grid_voltage'))}}&c1=1"

automations.yaml:
YAML:
- id: '1692546021659'
  alias: PVOutput Upload
  description: ''
  trigger:
  - platform: time_pattern
    minutes: /5
  action:
  - service: rest_command.update_pvoutput
    data: {}
  mode: single

Hope some of you other stats nerds get onboard and join the MyBB team!
 
Unfortunately I do not use HA and it is not looking like SA will support direct export anytime soon. :crying:
 
Unfortunately I do not use HA and it is not looking like SA will support direct export anytime soon. :crying:

If you've got an old Windows PC or Laptop just sitting and idling somewhere just install Hyper-V and run HA as a VM.
Running mine this way on a little Micro PC that serves as my Work/Home/Plex/Database/Developer server, sips power and it's ligthning fast.

1695382480060.png

 
PVOutput.org is a free service for sharing, comparing and monitoring live solar photovoltaic (PV) and energy consumption data.

It's very useful for not only keeping stats on your solar set up but also to compare to other systems, and the more systems that are reporting the more useful the service becomes.

For example I can compare my system to a similarly sized system up the road from me and I can see how they compare which can help me understand if my system is underperforming.

Not sure how I ended up on this post or what I was even looking for, but I somehow stumbled across PVOutput and your post.

I’ve just installed my second solar system now that we’ve moved and I’m still amazed by all the stats, the solar community and the fact that you can actually generate energy from the sun. It’s pretty incredible!

I’m using Solar Assistant, but it seems you can’t set up PVOutput directly through it, so now I’m diving into Home Assistant. That’s a whole new world to figure out!

I’m not an IT person, so everything is quite new and exciting — feels like I’m back at Varsity discovering a whole new world. Really glad I found a hobby!
 
For anyone using Home Assistant, I've created an integration (well it was mainly Claude) which makes it really easy to get started.

If you want to test it out all you need is to set up an account at pvoutput.org and create a system.

Then:

1. In your PVoutput account settings, scroll to the bottom where the API section is, generate a new key and set API access to "Enabled". You'll need the API key and the System Id below.
2. In Home Assistant, open HACS.
3. Select the top right elipsis menu and click "Custom repositories"
4. Paste in https://github.com/drzoidberg33/PVOutput-Bridge to the Repository input and set Type to "Integration".
5. Hit Add.
6. Now in HACS, search for "PVOutput Bridge" and install it.
7. Restart Home Assistant.
8. In Home Assistant, go to Settings -> Devices & Services -> Add Integration.
9. Search for "PVOutput Bridge" and select it.
10. Enter your PVOutput API key and System Id from earlier.
11. It should take you to the config screen, if it doesn't then make sure your PVAccount has "API Access" enabled and try again.
12. Select the entities you want to send up.
13. Submit.

Now it should start up and run in the background uploading your stats to the interval you set. You can visit the pvoutput.org site and go to "Your Outputs" to see if it's working properly.

This integration has been tested for about an hour, so consider this experimental.
 
Top
Sign up to the MyBroadband newsletter
X