-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to initialize #134
Comments
Hi all, also having problems when reloading HA, I was looking to move to new version but have now reverted back as no entities available. Not as technically literate as @tbgoose but have followed his approach to delete AlphaESS, restart, re-login. However I now can't find AlphaESS through HACS (all kinds of searching) so have created manually. I've reset my AlphaESS 'secret' and setup using original ID and new 'secret'. However I get a screen response of "Unknown error occurred". I'm lost on where to go with this now. As @tbgoose implies maybe an AlphaESS authintication issue at the server end which may clear (wishful thinking). |
Thank you for confirming @Poshy163 |
I'm having the same problem. This error originated from a custom integration. Logger: alphaess.alphaess 502, message='Bad Gateway', url='https://openapi.alphaess.com/api/getEssList' |
Same issue here. ESS cloud is not down, my phone app work properly. |
It seems that its just the open api thats down. The phone app has been using an internal api for a while now, which annoyingly alpha ess has increased the security on and has a habit of changing, so it hasn't been as practical to use for a while. |
hi, Regards, |
What error are you getting via the logs? have you tried reloading the integration? |
TypeError: DeviceRegistry.async_get_or_create() got an unexpected keyword argument 'model_id' tried reloading no luck ! |
Huh weird, does this error still occur if you remove the integration and delete it from HACS, restart. then install it again, restart and then try to add the OpenAPI information again? |
Now the API is back up, a restart of HA had everything running again for me- I had held off doing anything In the meantime, hoping that would be the case. |
@itsgumbys working for me, just re-added my 2 inverters. how many inverters do you have in your openAPI account? and do they show there? |
only 1 inverter and its being shown on openAPI. which version of alphaess integration you are using ? may be updating to latest version can caused some issue. |
do you have IP whitelist turned on? where you cannot get any data fropm the API on ur IP address? im also on 0.5.5. |
Well... i have restored HA to last backup and re-entered the key as i have reset it and its back to life now !!. Thanks for the help :) but i dont know why it was behaving. |
Mine is now back up. I had done a few integration reloads and some ha restarts for other updates over last few days. Not sure what finally brang it back but restart this morning fixed it... |
Hi all
I was having similar issues to others but thought I would create a new issue as I have already undertaken debug steps and have some info to include to help others. The integration stopped functioning about 3-4 days ago. Tried reloading etc but it is stuck on initializing. I have enabled debug logging but not seeing much honestly in the logs. Only one error RE connectivity at midnight.
My machine can curl openapi url
However using postman I receive the following result on all get calls. Google tells me this is likely an authentication issue, but possible could relate to the timestamp format once everything is encrypted together in the api calls? Link . Anyhow, I have reset the developer secret to try get around that, but still receive the same results in postman.
I have now also uninstalled the integration completely, restarted HA, reinstalled 0.5.5, restarted HA and tried to re-add integration using the new appsecret and it is finally back up and working. Not sure why Postman isn't working, perhaps I am doing something incorrectly.
Hopefully this helps someone else.
The text was updated successfully, but these errors were encountered: