Skip to content

loedeman/home-assistant-zonneplan-one

 
 

Repository files navigation

Zonneplan ONE integration for Home Assistant

hacs_badge stability-stable

Unofficial integration for Zonneplan ONE solar inverter + Zonneplan connect

Current features

  • Support for Zonneplan ONE + Connect
  • Zonneplan ONE (Solar inverter) sensors:
    • Yield total: kWh (can be used as entity on Energy Dashboard)
    • Yield today: kWh (can be used as entity on Energy Dashboard)
    • First measured: date (default disabled)
    • Last measured value: W
    • Last measured: date
  • Zonneplan Connect (P1 reader) sensors: (when available)
    • Electricity today: kWh (can be used as entity on Energy Dashboard)
    • Electricity today low tariff: kWh (can be used as entity on Energy Dashboard, default disabled)
    • Electricity today normal tariff: kWh (can be used as entity on Energy Dashboard, default disabled)
    • Electricity today high tariff: kWh (can be used as entity on Energy Dashboard, default disabled)
    • Electricity consumption: W
    • Electricity production: W
    • Electricity average: W (average use over the last 5min)
    • Electricity first measured: date (default disabled)
    • Electricity last measured: date
    • Electricity last measured production: date
    • Gas consumption today:
    • Gas first measured: date (default disabled)
    • Gas last measured: date
  • Additional sensors:
    • Current Zonneplan Electricity tariff: €/kWh (default disabled)
    • Current Zonneplan Gas tariff: €/m³ (default disabled)
    • 8 hours forcast of Zonneplan Electricity tariff: €/kWh (default disabled)
    • Current elektricity usage
    • Sustainability score

Installation

Install with HACS (recommended)

Do you have HACS installed?

  1. Search integrations for Zonneplan ONE
  2. Click Install
  3. Restart Home Assistant
  4. See Setup

Install manually

  1. Install this platform by creating a custom_components folder in the same folder as your configuration.yaml, if it doesn't already exist.
  2. Create another folder zonneplan_one in the custom_components folder. Copy all files from custom_components/zonneplan_one into the zonneplan_one folder.

Setup

  1. In Home Assitant click on Configuration
  2. Click on Integrations
  3. Click on + Add integration
  4. Search for and select Zonneplan ONE
  5. Enter you emailaddress you also use in the Zonneplan ONE app
  6. You will get an email to verify the login.
  7. Click "Save"
  8. Enjoy

Setup Energy Dashboard

Solar production

Zonneplan yield total is what you’re panels produced

Grid consumption

Zonneplan P1 electricity consumption today is what you used from the grid

Return to grid

Currently the API doesn't provide the current production (Return to grid) in kWh. But to have the Energy Dashboard complete you need this value.

As a work-arround you can let HA calculate a engery value from the power values that's available.

For that you need to create a integration sensor. Add next lines to configuration.yaml:

sensor:
  - platform: integration
    source: sensor.zonneplan_p1_electricity_production
    name: "Zonneplan P1 electricity production kWh"
    unit: kWh
    unit_prefix: k
    round: 2

Installing main/beta version using HACS

  1. Go to HACS => Integratrions
  2. Click on the three dots icon in right bottom of the Zonneplan ONE card
  3. Click Reinstall
  4. Make sure Show beta versions is checked
  5. Select version main
  6. Click install and restart HA

Troubleshooting

If you run into issues during setup or when entries do not update anymore please increase logging and provide them when creating an issue:

Add custom_components.zonneplan_one: debug to the logger config in you configuration.yaml:

logger:
  logs:
    custom_components.zonneplan_one: debug

About

Unofficial Zonneplan ONE + connect integration for Home Assistant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%