You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello i would like to add mid-carolina electric coop as a provider to use in the new home assistant energy monitoring dashboard. Could you provide some assistance in doing so?
Do you know how to download the greenbutton data from your provider?
The portland code uses selenium to log into the web page and click the relevant buttons to trigger a download. you will need to determine the process to download your data, and then work on scripting selenium to do it for you. If you get lucky, you won't need to deal with javascript and can find a direct link (probably with some authorization or cookie) and won't need selenium at all.
There isn't really much to my development environment.
just pip install -r requirements.txt (I typically use a virtual environment)
The code was rewritten to use OAuth (no screen scraping anymore), however, you still need to manually figure out the right URLs and keys.
Look at utilities/portland_general_electric.py for some ideas of what you need.
Specifically I spend time in Chrome using the network tab in the Inspecter to identify useful calls.
you are looking for URLs that pass json data back, and likely contain strings like token or refresh_token
If you can capture the network transactions of you logging in, I can probably help you identify the useful URLs (but make sure to remove any identifying information 1st)
Hello i would like to add mid-carolina electric coop as a provider to use in the new home assistant energy monitoring dashboard. Could you provide some assistance in doing so?