-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[SolarEdge] Private API not working #15867
Comments
Same here for the private API with OH 4.0.3 on openhabian 6.1.21-v8+. |
@m0qui When the token is set, it is tested to have @riegelbrau You seem to have a different issue. Could you 1. also check the token length? and 2. elaborate on the issue you have with the cloud, preferrable in a seperate issue? |
@lsiepel Thank you for looking into this. My token is exactly 79 characters in length. @riegelbrau Public API working fine for me for month. |
Hmm sure you did not accidentally add whitespaces. I could add a trim to prevent that. But first need to make sure why you get this error as with a 79 char token this is unexpected |
@lsiepel yes, I just reconfigured again from scratch using a
(Used Ins to override my data, string is same length as in my actual |
I copied your configuration and the Thing goes to Unknown => waiting for api to login as expected. Also when looking at the code i can see a very straight forward check that leads to this error message. So the question is why you get this and i'm not able to reproduce. Just to be sure, are you experiencing this issue on openHAB 4.2.1 + ? |
Yes, I'm on 4.2.1. I also tried adding and removing a single char, to check if I can trigger a different error. Happy to provide more logs, just tell me what you need. |
Regarding
org.openhab.binding.solaredge
: Public API works as expected using the API key. Configuring the private API results in aCONFIGURATION_ERROR
stating You will have to use a token and not an api key when using private API., even thou I used a fresh token grabbed via Firefox storage inspector, not an API key.cc: @alexf2015
currently on Ubuntu 22.04 with openHAB 4.0.3, thou there haven't been any code changes since then to this binding.
The text was updated successfully, but these errors were encountered: