This is a follow-up to my smart home stack post. One area I hadn’t really explored was the Energy dashboard in Home Assistant. It can pull together electricity, water, and gas data into a single view. Here’s how I got it all working.
The shift to Home Assistant
In my original post, I mentioned that I was primarily running Homebridge on a Raspberry Pi, with Home Assistant as an alternative. I’ve since made the switch. The Pi now runs Home Assistant OS, and it’s become the backbone of the entire setup. The HomeKit integration still works (everything still shows up in Apple Home), but HA is now where the real configuration and dashboards live.
Electricity: Tesla Powerwall + Enphase
This was already mostly set up thanks to the Powerwall integration. The Tesla Energy Gateway reports everything I need:
- Grid import/export: how much electricity I’m pulling from or pushing to the grid
- Solar production: what the panels are generating
- Battery charge/discharge: Powerwall state
I also have an Enphase Envoy with 30+ microinverters that I haven’t yet wired into the energy dashboard. The Powerwall already reports solar data, but adding Enphase would give me inverter-level granularity and a second source of truth. That’s next on the list.
All of these sensors slot directly into HA’s Settings > Dashboards > Energy configuration.
Water: EyeOnWater
My water utility (Jericho Water District, NY) uses an app called EyeOnWater powered by Badger Meter. Turns out there’s a Home Assistant custom integration for it.
Setup:
- Install HACS if you don’t have it (requires terminal access to run the install script)
- In HACS, add a custom repository:
https://github.com/kdeyev/eyeonwater(category: Integration) - Install the EyeOnWater integration and restart HA
- Add it via Settings > Devices & Services using your EyeOnWater app credentials
- Add the water sensor to the Energy dashboard under Water Consumption
The integration also has a service called eyeonwater.import_historical_data that lets you backfill historical usage, which is great for populating the dashboard from day one.
One caveat: EyeOnWater publishes meter readings with a delay of several hours, so the data isn’t real-time. But for tracking daily and monthly usage trends, it’s more than enough.
Gas: National Grid
National Grid Long Island is technically supported through HA’s built-in Opower integration. You search for “National Grid US” in the integrations page and log in with your utility account credentials.
Unfortunately, as of February 2026, the integration is hitting server-side errors (HTTP 500, JWT authentication failures). This is a known issue, but it may not just be a temporary outage. It looks like National Grid has been migrating their API endpoints away from the Opower platform entirely. The community has already started building a direct National Grid integration using a new aionatgrid library that reverse-engineers National Grid’s updated API. It’s early days, but it supports AMI/smart meters with 15-minute electric intervals and hourly gas readings (with up to a 72-hour delay).
I’m keeping the Opower integration installed in case it recovers, but I’m watching the custom integration closely. If the Opower route stays broken, the HACS custom integration at ryanmorash/ha_nationalgrid will likely be the path forward.
The result

With all three configured, the HA Energy dashboard gives a unified view of:
- Electricity consumption, solar generation, and battery usage (real-time via Powerwall)
- Water consumption (delayed by a few hours via EyeOnWater)
- Gas consumption (pending National Grid’s fix)
It’s satisfying to have everything in one place rather than checking three separate apps. HA also builds out daily, weekly, and monthly charts automatically, which makes it easy to spot usage trends.
What’s (possibly) next
- Enphase Envoy in the energy dashboard: adding the microinverter data alongside Powerwall for comparison
- Utility Meter helpers: setting up daily/monthly/yearly tracking with automatic resets
- Per-circuit monitoring: something like an Emporia Vue to track individual high-draw circuits (HVAC, dryer, etc.)
- Forecast Solar: I have the integration installed but haven’t fully configured the dashboard to show forecasted vs. actual solar production