Building a Local-Only Home Assistant Energy Dashboard

· by Nils Berg · 4 min read

Building a Local-Only Home Assistant Energy Dashboard

Why Go Local-Only for Energy Monitoring

Most “smart” plugs and energy meters ship your usage data straight through the manufacturer’s cloud before you ever see a chart in the app. A few problems come with that arrangement:

Go local instead, and your home network handles everything. Home Assistant talks directly to sensors over Wi-Fi, Zigbee, or Z-Wave, stores the readings in a local database, and renders dashboards without phoning home to anyone.

Hardware You’ll Need

You don’t need a $400 whole-home monitor to get useful numbers. A layered setup, mixing a main-feed sensor with a handful of per-device plugs, covers most houses just fine.

Whole-Home Monitoring

Per-Device Monitoring

Firmware Tip

Reflash stock Shelly or Tasmota gear with ESPHome and you get full local control, no cloud dependency left at all. These devices auto-discover inside Home Assistant over mDNS, so there’s no manual IP hunting involved.

Setting Up the Energy Dashboard

Home Assistant ships with a built-in Energy Dashboard (Settings → Dashboards → Energy). It’s a fine starting point, but if you actually want granular, per-appliance insight, you’ll need to push past the defaults:

  1. Add your grid consumption sensor, pointing it at your Shelly EM or IoTaWatt main feed
  2. Add individual device sensors under “Individual devices” in the Energy config, this is what breaks total usage down by appliance instead of lumping it all together
  3. Turn on long-term statistics so Home Assistant keeps hourly, daily, and monthly rollups instead of hoarding raw 5-second samples forever (your database will thank you)

Building a Custom Lovelace View

The stock dashboard is decent for a bird’s-eye view, but a custom one gives you a lot more control over what you actually see day to day:

A layout that tends to work well:

Automations That Make the Data Useful

Numbers on a screen are nice to look at, but they don’t save you a dime on their own. Automations are where the monitoring actually starts paying for itself:

Keeping It Truly Local

A few things to double-check if “zero cloud” is the actual goal here, not just a nice idea:

Conclusion

A local-only Home Assistant energy dashboard gets you faster automations, genuine data privacy, and a system that keeps running even when your internet connection doesn’t. Start with a whole-home monitor like the Shelly EM, add per-device plugs or ESPHome CT clamp sensors on your biggest appliances, then build a custom Lovelace dashboard around ApexCharts and gauge cards. Layer in a couple of smart automations for phantom-load alerts and daily cost summaries, and what you end up with isn’t just a monitoring tool. It’s something that actively nudges you toward using less.

#Home Assistant#Energy Monitoring#Smart Home#Privacy#Automation