bramstroker/homeassistant-powercalc

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

Python

1,604

9,517 commits

updated Oct 12, 2026

See the code

README

Version Downloads Contributors hacs_badge hacs installs Coverage Status

⚡ Turn any device into an energy monitor, no smart plug required

PowerCalc estimates energy consumption for devices that can't measure it themselves, like lights, fans and media players, with no extra hardware. Instead of measuring power directly, it accurately estimates consumption using smart models based on real measurements, all inside Home Assistant.

On top of power and energy sensors, PowerCalc also creates cost sensors to track spending, utility meters to break usage down by day, week or month, and group sensors to combine devices, rooms or your whole home into a single total.


See it in action

Preview


Why use PowerCalc?

  • 💰 Save money - no need to buy smart plugs for every device
  • 🔍 Full visibility - track energy usage across your entire home
  • ⚡ Accurate estimates - based on real device measurements
  • 🔌 Works out of the box - huge built-in profile library
  • 🧠 Advanced modeling - brightness, color, fan speed, and more

How it works

PowerCalc creates virtual power sensors in Home Assistant.

For example:

  • 💡 Lights → power based on brightness, color, temperature
  • 🌀 Fans → power based on speed
  • 📺 Other devices → configurable strategies or measured profiles

You get realistic energy data — without physically measuring every device.


Get started


🌍 Community & contributions

PowerCalc is powered by a growing community:

See CONTRIBUTING.md to get started, and the Code of Conduct for how we work together.


⭐ Support the project

If PowerCalc helped you:


🙌 Powered by

JetBrains logo.

consumption
energy-consumption
energy-monitor
energy-monitoring
hacktoberfest
hacs
home-assistant
homeassistant
home-assistant-hacs
iot
metering
power
smart-home
sustainability
virtual-sensors

bramstroker/homeassistant-powercalc

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

Python

1,604

9,517 commits

updated Oct 12, 2026

See the code

README

Version Downloads Contributors hacs_badge hacs installs Coverage Status

⚡ Turn any device into an energy monitor, no smart plug required

PowerCalc estimates energy consumption for devices that can't measure it themselves, like lights, fans and media players, with no extra hardware. Instead of measuring power directly, it accurately estimates consumption using smart models based on real measurements, all inside Home Assistant.

On top of power and energy sensors, PowerCalc also creates cost sensors to track spending, utility meters to break usage down by day, week or month, and group sensors to combine devices, rooms or your whole home into a single total.


See it in action

Preview


Why use PowerCalc?

  • 💰 Save money - no need to buy smart plugs for every device
  • 🔍 Full visibility - track energy usage across your entire home
  • ⚡ Accurate estimates - based on real device measurements
  • 🔌 Works out of the box - huge built-in profile library
  • 🧠 Advanced modeling - brightness, color, fan speed, and more

How it works

PowerCalc creates virtual power sensors in Home Assistant.

For example:

  • 💡 Lights → power based on brightness, color, temperature
  • 🌀 Fans → power based on speed
  • 📺 Other devices → configurable strategies or measured profiles

You get realistic energy data — without physically measuring every device.


Get started


🌍 Community & contributions

PowerCalc is powered by a growing community:

See CONTRIBUTING.md to get started, and the Code of Conduct for how we work together.


⭐ Support the project

If PowerCalc helped you:


🙌 Powered by

JetBrains logo.

consumption
energy-consumption
energy-monitor
energy-monitoring
hacktoberfest
hacs
home-assistant
homeassistant
home-assistant-hacs
iot
metering
power
smart-home
sustainability
virtual-sensors

Significant stargazers

Joe Block

1,337 followers · starred Dec 2023

Josh Medeski

617 followers · starred Oct 2026

Daniel Banck

118 followers · starred Feb 2023