Skip to content

Kilowahti Kilowahti

Suomenkielinen ohje: Kilowahti suomeksi

Kilowahti (kilowatti + vahti — "the kilowatt sentinel") is a Home Assistant integration for European electricity cost awareness and optimization — whether you are on a spot contract or a fixed rate.

It fetches day-ahead hourly or 15-minute spot prices, primarily from Kilowahti's own content delivery network (CDN), which fetches the data directly from ENTSO-E, and automatically falls back to spot-hinta.fi. It applies your VAT and, if you want, transfer pricing (e.g. separate day and night or seasonal tariffs), and exposes sensors, binary sensors, and services you can use in automations, dashboards, and energy management scripts.

Main features

Prices

  • Day-ahead spot prices — no API key or other integration required, 15-minute or 1-hour resolution
  • Transfer price groups and tiers with schedules and monthly fees
  • Fixed-price contract period management — when a fixed period is active, the fixed price is automatically shown as the active price instead of the spot price
  • Monthly electricity contract base fee spread as a daily cost sensor

Control

  • Price rank, rank quartile, and total price rank sensors
  • Control factor sensors (0–1 and bipolar ±1) for proportional automation
  • Writable price and rank threshold number entities — adjust limits from the dashboard or automations without reopening configuration
  • Optimization scores measuring how well consumption is shifted to cheap hours
  • Rolling average sensors for the next 30/60/120 minutes (only with 15-minute prices)

Generation & export (optional, enabled in Advanced options)

  • Export price sensors and daily statistics
  • Import/export spread and self-consumption value sensors
  • Best export window and best charge window services
  • Solar generation schedule service

Battery optimization (optional, requires battery capacity configured)

  • Charge opportunity factor and categorical charge recommendation sensors
  • Optimal charge window start/end sensors
  • charge_from_grid_recommended and discharge_to_grid_recommended binary sensors

Home Assistant services

  • Query prices and export prices for any time range
  • Find cheapest consecutive windows for scheduling appliances
  • Manage fixed-price periods via service calls

Supported regions

Kilowahti shows electricity prices in Finland and 29 other European countries — see the full list of supported regions.

Quick start

  1. Install from the Marketplace (Home Assistant 2026.11 and newer) or HACS (older versions)
  2. Start the setup wizard — the Marketplace opens it after installing; with HACS go to Settings → Devices & Services → Add Integration → Kilowahti
  3. Complete the setup wizard
  4. Use the sensors in your dashboards and automations

First setup walks through everything you need to get started in about ten minutes, including which wizard answers you can skip at first and how you build a first automation.

Feedback

Have ideas, found a bug, or just want to share how you're using Kilowahti? We'd love to hear from you — no GitHub account needed.

Share your feedback →

Acknowledgments

Kilowahti would not exist without the prior work of Teemu Mikkonen and his spotprices2ha project. That cut-and-paste solution was the direct role model for this integration; it proved the idea works, gave direction to the sensor design, and created automation templates that many Finnish HA users have relied on. Thank you, Teemu.

A special thanks also to the Finnish hobbyist behind spot-hinta.fi for building and maintaining an excellent, free, and easy-to-use electricity price API that makes projects like this possible. Although Kilowahti now fetches prices primarily on its own, that service played a significant part in how Kilowahti came to be.

Credits

Kilowahti was founded by Jessi Björk, originally to scratch a personal itch after growing tired in autumn 2025 of how hard the solutions of the time were to maintain.