Closed rct closed 1 year ago
I am no longer getting a TOTP error. In fact, no errors at all show up in my HA log, even when in log level info
. When I run demo.py
I get the same 500
exception as here.
I am no longer getting a TOTP error. In fact, no errors at all show up in my HA log, even when in log level
info
. When I rundemo.py
I get the same500
exception as here.
@BEFH - I believe if you are getting the same exception, for the same URL above with demo, you're likely to the point generating the TOTP token correctly. Unfortunately until what's changed with ConEd has been figured out, you're stuck at the same point as the rest of us.
Does the energy dashboard on your utility website still work? In your browser developer tools > network tab do you still see a request to the GetOpowerToken endpoint? Is it at the same URL?
i see this in the general inspector. data-service-url="/en/accounts-billing/my-account/energy-use/energy-usage-types/energy-usage-residential" data-token-service-url-opower-v2="/sitecore/api/ssc/ConEd-Cms-Services-Controllers-Opower/OpowerService/0/GetOPowerToken" data-redirect-url-opower-v2="/sitecore/api/ssc/ConEd-Cms-Services-Controllers-Opower/OpowerService/0/GetOPowerRedirectUrl" data-module-started="true">
i have removed a bunch of the syntax since i dont know if it is something that shouldnt be published publicly.
in the network tab i see
Also not working for me, same error. I did some testing on the headers and it seems that next to the Cookie
header the Referer
header also needs to be present. If it is not it will give a 500 error.
Specifically Referer: https://www.coned.com/
Thanks @rvsit for fixing!
As mentioned in https://github.com/home-assistant/core/issues/101829, ConEd made a number of changes to their systems around 2023-10-06. Since then for me I'm getting an error 500 response from the GetOpowerToken request.
Running
demo.py
using tronikos/main, I'm getting:@Sebmaster - Is it working for you? Any ideas?