Open trv opened 5 months ago
Hello @trv. It’s a good idea. I’ll take a look at how it could be used and what changes are required.
Hm, I tried to create a guest account, and now it wants my SSN or driver’s license number for account verification. @trv, have you also completed this step? It seems a bit excessive for a guest account just to gain access
I had an existing coautilities account that I added as a guest, so I didn't go through the new account flow recently.
Unfortunately, I can't recreate this case. I can only suggest using the main account to retrieve the information for now
If it helps, I tried connecting using a connected account and I get back a 500:
aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url='https://dss-coa.opower.com/webcenter/edge/apis/dss-invite-v1/cws/v1/utilities/connectedaccounts?pageOffset=0&pageLimit=100'
For coautilities (not sure about others), you can create a guest account at https://dss-coa.opower.com/dss/account/manage-web-account under "Connected accounts > + Add guest user". This allows you to set the access level to effectively read-only ("Usage & Financial Info"). It'd be nice if we could take advantage of this access control to apply the principle of least privilege.
The main login credentials work fine with
demo.py
(release version 0.4.6).I can use this guest login via the browser to access usage data, but
demo.py
fails with:Tracing the network calls when using the guest account from a browser session, I see
Presumably guest logins require a less-direct method to dig up the missing
accounts
info?