A custom Home Assistant integration for live Dutch electricity grid data from the NED.nl API.
- Actual + Forecast sensors — current production AND upcoming forecast for each energy type
- 54 sensors per point: 9 energy types × (3 actual + 3 forecast) metrics
- Metrics per source: Capacity (kW), Volume (kWh), Utilization %
- Energy Dashboard ready — volume sensors use
total_increasingstate class - Options flow — change granularity and monitored regions after setup, no reinstall needed
- 10-minute polling — uses NED.nl's finest granularity for most up-to-date solar/wind data
- Dutch & English UI
- HACS → Integrations → ⋮ → Custom repositories
- Add this repository URL, category Integration
- Install NED.nl Energy Data and restart Home Assistant
- Copy files →
config/custom_components/ned_nl - Restart Home Assistant
The graphs use custom:apexcharts-card which you can install via HACS if you don't have it already.
- Settings → Devices & Services → Add Integration → NED.nl
- Enter your API key (register free at ned.nl/nl/registreer)
- Choose granularity (10-min recommended for solar/wind)
- Select which geographic points to monitor
| Sensor | Unit | Notes |
|---|---|---|
…_capacity |
kW | Installed capacity for the period |
…_volume |
kWh | Energy produced – feeds HA Energy Dashboard |
…_percentage |
% | Utilisation of installed capacity |
…_forecast_capacity |
kW | Upcoming forecast capacity |
…_forecast_volume |
kWh | Upcoming forecast volume |
…_forecast_percentage |
% | Upcoming forecast utilisation |
sensor.ned_nl_netherlands_solar_volume
sensor.ned_nl_netherlands_wind_offshore_capacity
sensor.ned_nl_netherlands_solar_forecast_volume
sensor.ned_nl_noord_holland_solar_percentage
validfrom/validto— time interval this record coverslastupdate— when NED.nl last updated this recordis_forecast—truefor forecast sensorsemission_co2_kg,emissionfactor_kg_per_kwh— CO₂ data where available
Add any *_volume sensor to Settings → Energy → Add source.
Solar and wind volume sensors work best; they use state_class: total_increasing.
After setup, go to Settings → Devices & Services → NED.nl → Configure to change:
- Granularity: 10-min / Hourly / Daily
- Points: which provinces / offshore areas to monitor
Changes take effect immediately (integration reloads automatically).
It shouldn't with this version — the coordinator now uses a 48-hour lookback window and picks the most recent non-zero slot, so you always see the last actual production reading. The sensor will only be 0 if the entire last 48 hours had zero solar production (e.g. prolonged cloud cover or winter nights).
- Docs: https://ned.nl/nl/handleiding-api
- Swagger UI: https://api.ned.nl/v1
- Rate limit: 200 requests per 5 minutes