Adding Dominion Power as an Opower Integration

Dominion Power (Virginia and North Carolina) use Opower. What is needed to add Dominion Power to the Opower integration?

2 Likes

Would love to see this, too. ChatGPT basically says, “Go there, add the Dominion information.” Ummmm … No?

1 Like

Dominion may use opower, but it’s not supported by the integration.

Obviously, Dominion Power isn’t currently supported by the integration. That’s why I asked what is needed to add it. I can login to Dominion Power and see my usage through Opower.

The Opower integration for Home Assistant is powered by the tronikos/opower library under the hood. Its README has instructions for adding a new integration:

To add support for a new utility that uses opower JSON API (you can tell if the energy dashboard of your utility makes network requests to opower.com, e.g. pge.opower.com in the network tab of your browser’s developer tools) add a file similar to pge.py or pse.py or bge.py etc.

When I open up myaccount.dominionenergy.com for my account in Virginia, though, I only see API requests going to prodsvc-dominioncip.smartcmobile.com, not opower.com. @gebjeff are you sure Dominion uses Opower? If there’s a way to confirm this, it might just be a matter of adding the auth + parsing support to the opower library

2 Likes

Did you ever have any luck getting data from your Dominion meter?

1 Like

Sorry for the delay in getting back to you, I wish that I’d get alerts when someone responds to my posts.

I did some further research and confirmed that Dominion Power VA uses prodsvc-dominioncip.smartcmobile.com and not opower.com. I did find the following suggestion:

  • Fork the tronikos/opower this library and add support for Dominion by:
  • Reverse-engineering the API calls from Dominion’s portal (using browser dev tools).
  • Creating a new utility module (e.g., dominion.py) similar to existing ones like pge.py.
  • Implementing authentication and data parsing logic tailored to Dominion’s system.

Unfortunately, I’m not much of a coder and I think this is beyond my skills.

1 Like

I’m happy to report that I created a library and integration for Dominion Energy. I have only used it with Dominion Energy Virginia, so if you are in any of their other areas, it’s worth testing. The Readme files should help you set it up. You just need to add the ha-dominion-energy repo as a Custom Repository in HACS and then download the resulting Integration and set it up. This works with your Dominion username and password! It also supports the 2FA flow. Right now it seems like only the SMS 2FA flow is working, just FYI, the email flow won’t complete.

You can add your energy usage to the HA Energy Dashboard using the consumption statistic (don’t use the sensor statistics).

This was super fun to make. The library, dompower, can also be used as a CLI tool.

Please enjoy. Please create Github issues if anyone finds any bugs.

1 Like

Im a Dominion customer living in VA and have been waiting for some sort of “Official” support. Happy to see someone smarter than me has created something to bridge that gap.

I’ll give this a whirl this weekend and let you know if I find any problems!

Thanks!