# bramstroker/homeassistant-powercalc

Home Assistant Custom component to calculate estimated power consumption of lights and other appliances

Repository: https://github.com/bramstroker/homeassistant-powercalc
Canonical: https://ross.abutalabs.com/products/homeassistant-powercalc
Homepage: https://docs.powercalc.nl
Language: Python
License: MIT
License Family: permissive
Topics: consumption, power, homeassistant, hacs, energy-monitor, hacktoberfest, home-assistant, metering, virtual-sensors, energy-consumption, energy-monitoring, home-assistant-hacs, iot, smart-home, sustainability
Last push: 2026-08-26T18:46:06+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 1916, "days_push": 7, "days_rel": 12, "gap_med": 7, "n_releases_24m": 76}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1567, forks 406 (observed 2026-08-28T04:05:04.893164+00:00)

## What it is
PowerCalc is a Home Assistant custom component (installable via HACS) that creates virtual power and energy sensors to estimate the consumption of devices without built-in power meters, such as lights, fans, and media players. It uses community-measured device profiles and calculation strategies based on brightness, color, and other attributes, and also generates cost sensors, utility meters, and group sensors.

## Use cases
- estimate power consumption of lights without smart plugs
- track energy usage of fans and media players in Home Assistant
- populate the Home Assistant energy dashboard with estimated consumption
- create cost sensors to track electricity spending
- aggregate power usage per room or whole home with group sensors
- break down energy usage by day, week, or month with utility meters
- measure power for devices that have no Home Assistant entity using daily energy sensors

## When to choose
- you use Home Assistant and want energy monitoring without buying smart plugs for every device
- your lights, fans, or appliances lack built-in power metering
- you want cost tracking and utility meter breakdowns alongside power sensors
- your device model is in the community profile library or you can contribute measurements

## When to avoid
- you need exact measured power readings rather than estimates
- you don't use Home Assistant
- your device model is unsupported and you cannot use fixed or linear manual modes
- you need real-time sub-second power telemetry

## Facets
- artifact type: plugin
- maturity: active
- function: monitoring, analytics, iot
- domain: iot, energy, self-hosted
- platform: python, self-hosted, iot
- tags: home-assistant, hacs, energy-monitoring, virtual-sensors, power-estimation, smart-home, energy-dashboard, utility-meter, automation

## Member repositories
- bramstroker/homeassistant-powercalc (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:04.893164+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:59:00.238172+00:00, confidence not recorded.
  - readme: https://github.com/bramstroker/homeassistant-powercalc (fetched 2026-08-28T04:05:04.893164+00:00, sha 628c6c4b29fd)
  - homepage: https://docs.powercalc.nl (fetched 2026-08-29T11:29:02.546153+00:00, sha 366c9880dbe2)
  - site_page: https://docs.powercalc.nl/troubleshooting/faq (fetched 2026-08-29T11:29:02.548555+00:00, sha e0c563bd793f)
  - site_page: https://docs.powercalc.nl/misc/uninstall (fetched 2026-08-29T11:29:02.550249+00:00, sha 84f07674cf56)
  - site_page: https://docs.powercalc.nl/troubleshooting/faq/power-vs-energy (fetched 2026-08-29T11:29:02.551841+00:00, sha 9534234459d7)
  - site_page: https://docs.powercalc.nl/troubleshooting/faq/no-power-sensor-appearing (fetched 2026-08-29T11:29:02.553523+00:00, sha e7330d82cd15)
  - site_page: https://docs.powercalc.nl/troubleshooting/faq/supported-model-not-discovered (fetched 2026-08-29T11:29:02.555152+00:00, sha 943dfbbc0f11)
  - site_page: https://docs.powercalc.nl/troubleshooting/faq/energy-dashboard-not-appearing (fetched 2026-08-29T11:29:02.556741+00:00, sha 0f21a9c3e59b)
  - site_page: https://docs.powercalc.nl/troubleshooting/faq/setup-energy-sensor-no-entity (fetched 2026-08-29T11:29:02.558448+00:00, sha 2c56dde90099)
  - site_page: https://docs.powercalc.nl/troubleshooting/faq/device-not-supported (fetched 2026-08-29T11:29:02.564808+00:00, sha 4dabb50c53c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
