Home Assistant energy dashboard from scratch
Build a local-first energy dashboard in Home Assistant with real-world hardware and practical setup tips.
Last updated: 2026-05-23
Building a Home Assistant energy dashboard from scratch is a rewarding way to gain deeper insight into your home’s energy usage while maintaining full control over your data. Unlike cloud-based solutions, a local-first approach ensures your energy data stays private and accessible only to you. This guide will walk you through the process, focusing on Home Assistant, but also touching on HomeKit and Hubitat as alternatives where relevant. We’ll cover hardware recommendations, integration strategies, and practical setup tips to help you build a functional and reliable energy dashboard.
Start with the Right Hardware
The foundation of any effective energy dashboard is the right hardware. You’ll need devices that can measure energy usage, track consumption patterns, and integrate cleanly with your Home Assistant instance. While Home Assistant is the focus here, the principles apply to other platforms as well.
For Home Assistant, the most common and reliable way to track energy usage is through smart meters or smart plugs that report real-time power consumption. The HomeWizard Energy Socket is an excellent choice for monitoring individual appliances, offering both voltage and current measurements. If you’re using a smart meter, the HomeWizard P1 Meter is a great option for capturing detailed energy data at the home level.
If you’re using HomeKit, note that HomePods act as Thread border routers and speakers — they cannot run Home Assistant themselves. For the energy dashboard, run Home Assistant on a Home Assistant Green, a Raspberry Pi, or a mini PC, with a Home Assistant Connect ZBT-1 for Zigbee/Thread devices.
For Hubitat, the Hubitat Elevation C8 is a solid choice for a local hub, and it supports a wide range of Z-Wave and Zigbee devices. You can use Zooz Zen72-800LR Smart Plug or Zooz Zen74 Dimmer to monitor power usage, and pair them with a Zooz ZEN30 Double Switch for more advanced control.
When selecting hardware, always consider the accuracy and granularity of the data you need. For instance, if you want to track the energy usage of specific appliances, a smart plug like the Shelly Plus Plug-S or Sonoff S31 is ideal. These devices provide real-time wattage and can be integrated with Home Assistant via MQTT or HTTP.
Integrate with Home Assistant
Once you have the right hardware, the next step is to integrate it with Home Assistant. This involves setting up the appropriate integrations, configuring sensors, and ensuring data flows correctly into your dashboard.
For smart meters, the Homewizard P1 Meter can be paired with a Homewizard Energy Socket to provide detailed energy usage data. In Home Assistant, you’ll need to install the Homewizard integration and configure it to read from the P1 meter. This will give you access to real-time energy consumption, voltage, and current readings, which can be displayed on your dashboard.
For smart plugs, the Shelly Plus Plug-S or Sonoff S31 can be added via the Shelly or Tasmota integration. These devices report power usage in real time, and you can create sensors in Home Assistant to track wattage, voltage, and current. For even more detailed insights, you can use the Energy Sensor integration to calculate daily and monthly energy usage.
If you’re using HomeKit, note that HomePods act as Thread border routers and speakers — they cannot run Home Assistant themselves. For the energy dashboard, run Home Assistant on a Home Assistant Green, a Raspberry Pi, or a mini PC, with a Home Assistant Connect ZBT-1 for Zigbee/Thread devices. From there, you can use the same sensors and integrations as in a standalone Home Assistant setup.
For Hubitat, the Hubitat Elevation C8 acts as a central hub, and you can use the Hubitat integration in Home Assistant to access sensor data. This allows you to monitor energy usage and control devices remotely, while keeping your data local.
Build the Dashboard
Now that your hardware is integrated, it’s time to build the actual dashboard. Home Assistant offers a variety of visualization tools, including Graphs, Cards, and Dashboards, which can be customized to display your energy data in a meaningful way.
Start by creating a Dashboard in Home Assistant and adding Graph cards to visualize your energy usage over time. You can use Energy Sensor cards to show real-time power consumption and Statistics cards to display daily, weekly, and monthly totals. For a more detailed view, you can use Chart cards to plot energy usage against time, helping you identify patterns and optimize your energy consumption.
If you’re using HomeKit, you can use the Home Assistant app to access your dashboard, and you can also use HomeKit’s built-in energy tracking to get a quick overview of your home’s energy usage. However, this is more limited compared to the full capabilities of Home Assistant.
For Hubitat, you can use the Hubitat integration to access your energy data and build a custom dashboard using Hubitat’s built-in tools. This allows you to track energy usage and control devices from a centralized location.
Real-World Tradeoffs
While building a local energy dashboard is a powerful way to manage your home’s energy usage, it’s important to consider the tradeoffs. One of the biggest challenges is hardware cost. High-accuracy smart meters and sensors can be expensive, and you’ll need to invest in a reliable hub or local server to run Home Assistant. If you’re using a Raspberry Pi, you’ll also need to factor in the cost of the device itself.
Another consideration is complexity. Setting up a local energy dashboard requires a certain level of technical knowledge, especially if you’re using Z-Wave or Zigbee devices. You’ll need to ensure that your devices are properly paired, configured, and integrated with your Home Assistant instance. This can be time-consuming, especially if you’re new to smart home automation.
Finally, maintenance is an important factor. Your local energy dashboard will require regular updates, backups, and troubleshooting. If you’re using a Raspberry Pi, you’ll need to ensure it’s running smoothly and has enough power to handle the workload. You’ll also need to keep your Home Assistant instance updated to ensure security and stability.
Quick Verdict
Building a Home Assistant energy dashboard from scratch is a practical and rewarding way to monitor your home’s energy usage while maintaining full control over your data. By choosing the right hardware, integrating it with Home Assistant, and building a custom dashboard, you can gain valuable insights into your energy consumption and optimize your home’s efficiency. While there are tradeoffs in terms of cost, complexity, and maintenance, the benefits of a local-first approach make it well worth the effort.