Installation¶
This guide will walk you through installing HAEO on your Home Assistant instance.
Prerequisites¶
Before installing HAEO, ensure you have:
- Home Assistant version 2025.4.4 or newer
- HACS (Home Assistant Community Store) installed (recommended)
Method 1: HACS Installation (Recommended)¶
HACS provides automatic updates and easy installation.
Step 1: Add Custom Repository¶
- Open your Home Assistant instance
- Navigate to HACS → Integrations
- Click the three dots (⋮) in the top right corner
- Select Custom repositories
- Add the following details:
- Repository:
https://github.com/ha-energy-optimiser/haeo - Category:
Integration
- Repository:
- Click Add
Step 2: Install HAEO¶
- In HACS, search for HAEO or Home Assistant Energy Optimization
- Click on the integration
- Click Download
- Select the latest version
- Click Download again to confirm
Step 3: Restart Home Assistant¶
After installation, restart Home Assistant:
- Navigate to Settings → System
- Click Restart
- Wait for Home Assistant to complete the restart before proceeding
If you need a refresher on the restart process, see the Home Assistant restart documentation.
Method 2: Manual Installation¶
If you prefer not to use HACS or need manual control:
Step 1: Download HAEO¶
- Visit the releases page
- Download the latest
haeo.zipfile - Extract the archive
Step 2: Copy Files¶
- Connect to your Home Assistant instance (via SSH, Samba, or file editor)
- Navigate to your Home Assistant config directory (usually
/config) - If it doesn't exist, create a
custom_componentsdirectory - Copy the
haeofolder from the archive intocustom_components
Your directory structure should look like:
config/
├── custom_components/
│ └── haeo/
│ ├── __init__.py
│ ├── manifest.json
│ ├── config_flow.py
│ └── ... (other files)
└── configuration.yaml
Step 3: Restart Home Assistant¶
Restart Home Assistant as described in the HACS installation section.
Verify Installation¶
After restarting, verify HAEO is installed correctly:
- Navigate to Settings → Devices & Services
- Click Add Integration (+ button in bottom right)
- Search for HAEO or Home Assistant Energy Optimization
If HAEO appears in the list, the installation was successful!
Updating HAEO¶
Via HACS¶
- Open HACS → Integrations
- Find HAEO in your installed integrations
- If an update is available, click Update
- Restart Home Assistant
Manual Update¶
- Download the latest release
- Replace the
custom_components/haeodirectory with the new version - Restart Home Assistant
Breaking Changes
Always check the release notes before updating. Pay special attention to major version changes. Some updates may require configuration adjustments.
See the troubleshooting page for help with common installation issues.
Uninstalling HAEO¶
Remove the Integration¶
- Navigate to Settings → Devices & Services
- Find the HAEO integration
- Click the three dots (⋮) next to it
- Select Delete
- Confirm deletion
Remove Files¶
Via HACS:
- Open HACS → Integrations
- Find HAEO
- Click the three dots (⋮)
- Select Remove
- Restart Home Assistant
Manual removal:
- Delete the
custom_components/haeodirectory - Restart Home Assistant
Next Steps¶
Move on to these topics once the integration is installed.
-
Configure your first network
Create your hub, add elements, and establish energy flow connections.
-
Check optimization outputs
Learn how to read HAEO sensors and verify results after setup.
-
Troubleshoot installation issues
Resolve common installation and startup problems quickly.