Send meter readings from Home Assistant sensors automatically to your Energy Tracker account.
- ✅ Config Flow Setup: Easy configuration through the Home Assistant UI
- ✅ Multi-Account Support: Connect multiple Energy Tracker accounts
- ✅ Automated Meter Readings: Send sensor values automatically via automations
- ✅ Optional Value Rounding: Automatic rounding to match your meter's precision
- ✅ Full Localization: 26 languages supported
- ✅ Comprehensive Error Handling: Clear error messages and repair flows
- ✅ Cloud Integration: Direct API connection to Energy Tracker service
Note: This integration is currently available via HACS only. Home Assistant Core integration is planned for the future.
- Open HACS in Home Assistant
- Go to Integrations
- Click + Explore & Download Repositories
- Search for "Energy Tracker"
- Click Download
- Restart Home Assistant
- Download the latest release from GitHub Releases
- Copy the
custom_components/energy_tracker/folder to your Home Assistantconfig/custom_components/directory - Restart Home Assistant
Before configuring, you need an API token from your Energy Tracker account:
- Log in at www.energy-tracker.best-ios-apps.de
- Navigate to API → Access Tokens
- Create a new Personal Access Token
- Copy the token
Then in Home Assistant:
- Go to Settings → Devices & Services
- Click + Add Integration
- Search for "Energy Tracker"
- Enter a name for this account (e.g., "My Energy Tracker")
- Paste your personal access token
- Click Submit
You need the device ID to send meter readings. There are two ways to get it:
- Log into your Energy Tracker account
- Go to your device details
- Copy the Standard Measuring Device ID
- Important: Remove the
std-prefix! The ID should be in UUID format likedeadbeef-dead-beef-dead-beefdeadbeef
- Log into your Energy Tracker account
- Navigate to API → Documentation
- Use the API endpoint to retrieve your devices
- The IDs returned are already in the correct format (without
std-prefix)
This integration provides a service only — no entities are created. Create an automation to send meter readings.
- Go to Settings → Automations & Scenes
- Click + Create Automation
- Add a Trigger (e.g., time-based: daily at 23:55)
- Click Add action and search for Energy Tracker: Send meter reading
- Fill in the required fields
- Save the automation
| Parameter | Required | Type | Description |
|---|---|---|---|
entry_id |
Yes | config_entry | Your Energy Tracker account (select from dropdown) |
device_id |
Yes | string | Standard measuring device ID from Energy Tracker (UUID format) |
source_entity_id |
Yes | entity_id | Home Assistant sensor providing the meter reading |
allow_rounding |
No | boolean | Round value to meter precision (default: true) |
- alias: "Send daily electricity reading"
triggers:
- trigger: time
at: "23:55:00"
actions:
- action: energy_tracker.send_meter_reading
data:
entry_id: <select from dropdown>
device_id: "deadbeef-dead-beef-dead-beefdeadbeef"
source_entity_id: <select from dropdown>
allow_rounding: trueThe integration accepts meter readings from:
- Sensors (
sensor.*) - e.g.,sensor.electricity_meter,sensor.gas_meter - Input Numbers (
input_number.*) - Manual input helpers - Number Entities (
number.*) - Numeric device values
- Entity state must be numeric
- Entity must have a valid timestamp (
last_updated) - Entity state must not be
unavailableorunknown
The integration provides comprehensive error handling with localized error messages.
Add to your configuration.yaml:
logger:
default: info
logs:
custom_components.energy_tracker: debugThen check Settings → System → Logs for detailed information.
Q: "Standard measuring device not found" error
A: Verify the device ID is correct. It should be a UUID format like deadbeef-dead-beef-dead-beefdeadbeef. Find it in your Energy Tracker account under device details.
Q: "Entity unavailable" error in automation
A: Add a condition to check entity state before sending:
conditions:
- "{{ states('sensor.electricity_meter') not in ['unavailable', 'unknown'] }}"Q: Integration shows authentication error after setup
A: Your token may be invalid. Go to Settings → Devices & Services → Energy Tracker → Reconfigure to update your token.
Q: How do I update my token?
A: Click the ⋮ menu on your Energy Tracker integration and select Reconfigure. Leave the token field empty to keep the existing token, or enter a new one.
- Energy Tracker Support: Contact Energy Tracker
- Home Assistant Community: Community Forum
This project is licensed under the MIT License - see the LICENSE file for details.
Copyright (c) 2015-2025 energy-tracker support@best-ios-apps.de