PVoutput extended values V7 to V12

Somebody knows how to integrate extended values v7 to V12 into home assistant. Standard values integration no problem, this works fine. Is there for the extended values V7 to V12 a special name?

I’d be interested to know this as well.

I would have liked to know as well.

You need to have donated to pvoutput to activate them for 12 months.



I have donated, so that part is checked. My query is to get it into Home Assistant as my battery charge, solar charge, battery SCC etc is all in the extended values.

Thanks in advance.

Ahh data in from the Integration.

Doesn’t look like data In is setup for extended data to me (not that I can read python very well)
Although part of that reason is probably because that data is user-defined, so someone would need to suggest some defaults for people to setup I think.

PVoutput Integration sensor.py

Probably worth asking on the issues of PVoutput

pvoutput issues

You will probably need to provide some data from the response to


success message

and what you defined as your user defined datasets

In the meantime you may be able to do to it as a rest sensor sensor. It may need to be restful api. I have never done it like that myself.

It should look something abit like below, but you will have to fiddle with it.

  - platform_rest:
    resource: 'https://pvoutput.org/service/r2/getstatus.jsp'
      X-Pvoutput-Apikey: !secret PVo_api
      X-Pvoutput-SystemId: !secret PVo_sysID
      accept: "application/json, text/html"
    method: get
         - "ext7"
         - "ext8"

logging for rest in configuration.yaml

logger:   ####  Need to view full HA core logs and can be filtered 
  default: info
    #  homeassistant.components.rest_command: debug
    homeassistant.components.rest.data: debug

This is the old config for before PVoutput became UI config, it may be helpful.
I think this will give an error now, due to the UI integration, if you tried to do it this way for the extra data.

  - platform: pvoutput
    system_id: 12345
    api_key: your2349023not23230fake23923api239key
  - platform: template
        value_template: "{% if is_state_attr('sensor.pvoutput', 'power_consumption', 'NaN') %}0{% else %}{{ state_attr('sensor.pvoutput', 'power_consumption') }}{% endif %}"
        friendly_name: "Using"
        unit_of_measurement: "Watt"
        value_template: '{{ "%0.1f"|format(state_attr("sensor.pvoutput", "energy_consumption")|float/1000) }}'
        friendly_name: "Used"
        unit_of_measurement: "kWh"
        value_template: '{% if is_state_attr("sensor.pvoutput", "power_generation", "NaN") %}0{% else %}{{ state_attr("sensor.pvoutput", "power_generation") }}{% endif %}'
        friendly_name: "Generating"
        unit_of_measurement: "Watt"
        value_template: '{% if is_state_attr("sensor.pvoutput", "energy_generation", "NaN") %}0{% else %}{{ "%0.2f"|format(state_attr("sensor.pvoutput", "energy_generation")|float/1000) }}{% endif %}'
        friendly_name: "Generated"
        unit_of_measurement: "kWh"

Thank you. Will try and let you know how it turns out.

1 Like


Did anyone manage to make Extended data V7 - V12 appear in Home Assistant?