tronikos / opower

A Python library for getting historical and forecasted usage/cost from utilities that use opower.com such as PG&E
Apache License 2.0
65 stars 59 forks source link

Automatically determine oPower subdomain for PEPCO and Delmarva #23

Closed trancefam closed 1 year ago

trancefam commented 1 year ago

Fixes #14

Add functionality to automatically determine subdomain in exelon.py base class. Exelon utilities that do not need this override it in their derived class. Those that do need it (PEPCO and Delmarva), use the default base class functionality.

I have tested & confirmed this works with PEPCO.

ronaldheft commented 1 year ago

I can give this a review tomorrow and ensure it works for Pepco MD.

ronaldheft commented 1 year ago

Functionality-wise, this worked great with my Pepco MD account. My old DC address is not the active account and is 4+ years old, so I was not able to test with a DC address.

tronikos commented 1 year ago

Can you please confirm this still works correctly after https://github.com/tronikos/opower/pull/25?

trancefam commented 1 year ago

Yes it does.