Failed to check meter - 500 Internal Server Error
JacobWasFramed opened this issue · 1 comments
This may be my own misunderstanding. I have a smart meter, able to see up-to-date 15 minute usage readouts on Duke Energy's website. However, I do not have a gateway device. Does the API that you interface with require the gateway device? I have a feeling that is why this is failing, but not quite sure why the gateway device is required since the meter already phones home. I'm in Florida where they did not pilot the gateway device and instead just installed smart meters that, if I'm not mistaken, use either LTE or some form of mesh networking with each other to phone home. Debug log below finds meter in account, but 500 internal server error, failed to check meter.
HA Version 2021.10.0
HACS Version 1.15.2
DEG Version 0.0.10
2021-10-07 11:20:33 DEBUG (MainThread) [custom_components.duke_energy_gateway] Meters to check for gateway (1): '-redacted-'
2021-10-07 11:20:33 DEBUG (MainThread) [custom_components.duke_energy_gateway] Checking meter '-redacted-' for gateway [meter_type=ELECTRIC, is_certified_smart_meter=True]
2021-10-07 11:20:33 DEBUG (MainThread) [custom_components.duke_energy_gateway] Failed to check meter '-redacted-' on account '-redacted-': Request failed with unexpected error [https://cust-pilot-api.duke-energy.com/smartmeter/v1/auth]: 500, message='Internal Server Error', url=URL('https://cust-pilot-api.duke-energy.com/smartmeter/v1/auth')
2021-10-07 11:20:33 ERROR (MainThread) [custom_components.duke_energy_gateway] Could not identify a smart meter on your account with gateway access.
Yes, you need to have a gateway device. The smart meter readouts on Duke Energy's site without the gateway is limited to yesterday's readings. The only way to get current readings for today is with the gateway.