This integration allows you to monitor your energy consumption data from Aziende Industriali di Lugano (AIL) in Home Assistant.
- Fetch energy consumption data from AIL EnergyBuddy
- Separate day and night consumption tracking
- Energy dashboard integration
- Cost calculation based on peak and off-peak rates
- Make sure you have HACS installed in your Home Assistant instance.
- Click on HACS in the sidebar.
- Click on "Integrations".
- Click the three dots in the top right corner and select "Custom repositories".
- Enter the URL of this repository:
https://github.com/lukefx/ail-ha - Select "Integration" as the category.
- Click "ADD".
- Search for "AIL" in the integrations tab.
- Click on "AIL: Aziende Industriali di Lugano".
- Click "DOWNLOAD" in the bottom right corner.
- Restart Home Assistant.
- Download the latest release from the releases page.
- Extract the contents and copy the
custom_components/aildirectory to your Home Assistant'scustom_componentsdirectory. - Restart Home Assistant.
- Go to Home Assistant's Settings > Devices & Services.
- Click on the "+ ADD INTEGRATION" button in the bottom right corner.
- Search for "AIL" and select "AIL: Aziende Industriali di Lugano".
- Enter your AIL EnergyBuddy credentials (email and password).
- Configure your electricity tariff settings (optional).
After setup, the integration will create the following entities:
- Sensor for day consumption (Last parsed hour)
- Sensor for night consumption (Last parsed hour)
- Sensor for total consumption
- Sensor for current price of energy consumption
- Statistics sensor for daily consumption
- Statistics sensor for daily cost
- Statistics sensor for nightly consumption
- Statistics sensor for nightly cost
- Statistics sensor for total consumption
- Statistics sensor for total cost
You can add these to the Energy dashboard in Home Assistant to visualize your energy usage.
For issues, feature requests, or contributions, please use the GitHub Issues page.
This project is licensed under the MIT License - see the LICENSE file for details.