5180992e9876363807b71d33b5fc61b288d89d50
PV Microinverter Integration for Home Assistant
Home Assistant integration to get data from PV Microinverter systems.
Overview
This integration allows you to monitor your solar PV microinverter system in Home Assistant. It periodically fetches data from the microinverter API and provides sensor entities for:
- Current power generation
- Today's energy production
- Lifetime energy production
Installation
HACS (Recommended)
- Ensure that HACS is installed.
- Go to HACS > Integrations.
- Click on the "+ Explore & Download Repositories" button.
- Search for "PV Microinverter".
- Click on it and select "Download".
- Restart Home Assistant.
Manual Installation
- Copy the
custom_components/pv_microinverterdirectory from this repository to thecustom_componentsdirectory in your Home Assistant configuration directory. - Restart Home Assistant.
Configuration
- Go to Settings > Devices & Services.
- Click on the "+ Add Integration" button.
- Search for "PV Microinverter".
- Follow the configuration steps, providing:
- API Key: Your PV Microinverter API key
- System ID: Your system ID
- Update Interval: How often to refresh data (in seconds, default is 300)
Usage
After configuration, the integration will create several sensors:
sensor.pv_microinverter_current_power: Shows the current power generation in watts.sensor.pv_microinverter_today_energy: Shows today's energy production in kilowatt-hours.sensor.pv_microinverter_lifetime_energy: Shows the lifetime energy production in kilowatt-hours.
These sensors can be used in automations, dashboards, energy monitoring, and more.
Example Lovelace UI
type: entities
entities:
- entity: sensor.pv_microinverter_current_power
- entity: sensor.pv_microinverter_today_energy
- entity: sensor.pv_microinverter_lifetime_energy
title: Solar Production
Troubleshooting
- No data or errors: Check your API credentials and system ID.
- Delayed updates: Adjust the update interval to refresh more frequently.
- API rate limiting: If you experience API rate limiting, increase the update interval.
Contributing
If you want to contribute to this integration, please read the Contributing Guidelines.
License
This integration is licensed under the MIT License.
Description
Languages
Python
100%