Connect Home Assistant

Works with all plans, including the free Community plan.

Home Assistant is an open-source smart home platform for technically minded users, smart home enthusiasts, and developers. The energiedaten.at HACS integration imports metering data directly into Home Assistant Long-Term Statistics. No separate broker or additional middleware required.

Prerequisites

  • energiedaten.at account (Community plan or higher)
  • At least one connected metering point with data
  • Home Assistant 2025.12.0 or later
  • HACS installed
  • API key with smart-meters:read and data:read permissions. Create one under Data → API Keys. Pick the longest lifetime your plan allows (Community: 1 year, higher plans: up to 3 years) to keep rotation infrequent. Alternatively, click Set up on the Home Assistant tile under Data → Integrations: it creates this key and links to the HACS and integration steps in your Home Assistant.

Installation

The integration is now in the HACS default store and can be installed directly.

  1. Open HACS and search for "energiedaten.at"
  2. Open the entry and click Download
  3. Restart Home Assistant
  4. Go to Settings → Integrations → Add Integration → search for "energiedaten.at"
  5. Enter your API key. It is shown only once after creation in energiedaten.at, so paste it while it's still on your clipboard. The integration identifies your team from the key, so there is no separate team slug to enter.
  6. Select your metering points (all connected metering points are pre-selected); sensors are created per metering point and energy direction

Key expiry: If the integration suddenly stops fetching data and the log shows 401 unauthenticated, your key has expired or been revoked. Create a new key and update it under Settings → Integrations → energiedaten.at → Configure.

Setting Up the Energy Dashboard

  1. Open Settings → Dashboards → Energy
  2. Add the consumption Grid sensor under Grid consumption
  3. Add the feed-in Grid sensor under Return to grid

Each metering point also has a Measured sensor. It is the metering point's total, so leave it out when you add Grid, or the same energy is counted twice.

Data appears with correct historical timestamps, not at the time of import. The Energy Dashboard will therefore show a complete consumption history from the first available reading.

Energy community sensors

If your metering point belongs to an energy community, you can import the community's share as separate sensors. The option is off by default, because metering points outside an energy community read 0.

  1. Open Settings → Devices & services → energiedaten.at → Configure
  2. Turn on Energy community sensors

Each metering point then gets a Community share sensor. On a consumption metering point it is the energy you drew from the community, on a feed-in metering point the energy you fed into it. Grid plus Community share equals Measured.

To price community energy separately, add Community share in the Energy Dashboard as a second source beside Grid, under the same heading (Grid consumption or Return to grid), and give it the community's price.

Turning the option on re-imports your history once. Turning it off removes the sensors; their statistics stay in Home Assistant.

Checking the Connection

Open Developer Tools → States and search for sensors with the prefix sensor. followed by the metering point label. Each sensor shows the latest quarter-hour reading in kWh as its state. Right after updating to integration version 0.7.0, a sensor can show unknown until the next daily delivery. The statistics and the Energy Dashboard are not affected.

EDA data is historical (T-1), not live. After initial setup, the first data can take up to 24 hours to appear, depending on the grid operator's EDA delivery schedule.

Notes

  • The integration polls incrementally for new data every 6 hours
  • A Refresh button triggers an immediate data fetch; sensors keep their last reading until newer data arrives
  • The energiedaten.reimport service (Developer Tools → Services) re-fetches all historical data on demand
  • When the grid operator re-sends corrected readings, affected days are automatically re-fetched
  • Metering points in an energy community can get an additional Community share sensor, see the "Energy community sensors" section
  • Source code and issues: github.com/energiedaten-at/ha-energiedaten