https://github.com/entorb/analyze-ha-energy
Analyze Home Assistant Solar Production Data
https://github.com/entorb/analyze-ha-energy
data home-assistant pandas photovoltaic pv python
Last synced: about 2 months ago
JSON representation
Analyze Home Assistant Solar Production Data
- Host: GitHub
- URL: https://github.com/entorb/analyze-ha-energy
- Owner: entorb
- License: gpl-3.0
- Created: 2024-01-27T16:47:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-23T18:58:51.000Z (about 1 year ago)
- Last Synced: 2025-06-23T19:45:09.823Z (about 1 year ago)
- Topics: data, home-assistant, pandas, photovoltaic, pv, python
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Analyze Home Assistant Solar Production
Python Pandas script to analyze the Solar Power Production data stored in a Home Assistant database.
- [fetch-db.sh](fetch-db.sh): shell script to download the database from a server. Adjust hostname and dir.
- [analyze.py](analyze.py): extract, convert and plot the data
## Generated Charts
- kWh per hour, comparing last 7 days
- kWh per day
- kWh per week
- kWh per month
- joined chart of kWh per day, averaged per week and month, see example below

## SonarQube Code Analysis
At [sonarcloud.io](https://sonarcloud.io/summary/overall?id=entorb_analyze-ha-energy&branch=main)