-
Notifications
You must be signed in to change notification settings - Fork 5
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
"Unknown error occurred" when trying to add a new integration (after pvSystemId, keyid, keyvalue) #367
Comments
Have you confirmed your details work on the official Fronius test site? |
|
Can I send you my pvSystemId, keyid, keyvalue via Email? Does your HACS act like the official app, with Cookies, Bearer-Token, etc.? |
If you need help with access you need to contact Fronius directly |
Access works. `GET https://swqapi.solarweb.com/info/user?details=accountAttributes,contractinformation HTTP/2.0 HTTP/2.0 401 {"responseError":1113,"responseMessage":"JWT expired."} GET https://swqapi.solarweb.com/info/user?details=accountAttributes,contractinformation HTTP/2.0 GET https://swqapi.solarweb.com/pvsystems?limit=1000 HTTP/2.0 HTTP/2.0 200 {"pvSystems":[{"pvSystemId":"15b86207-6115anonym","name":"Symo GEN24","address":{"country":"DE","zipCode":"12345","street":"strasse 1","city":"musterstadt","state":"BW"},"pictureURL":"https://froniussestimagesweprod.blob.core.windows.net/pvsystem-images/00000000-0000-0000-0000-000000000gekuerzt","peakPower":10560.0,"installationDate":"2024-09-03T17:35:54Z","lastImport":"2024-12-02T21:56:33Z","meteoData":"pro","timeZone":"Europe/Berlin"},{"pvSystemId":"d941ac4e-394anonym","name":"SymoAdvanced","address":{"country":"DE","zipCode":"12345","street":"strasse. 1","city":"musterhausen","state":"BW"},"pictureURL":"https://froniussestimagesweprod.blob.core.windows.net/pvsystem-images/00000000-0000-0000-0000-000000000000%2F2b697a87gekuerzt","peakPower":12000.0,"installationDate":"2024-09-18T08:03:34Z","lastImport":"2024-12-02T16:09:44Z","meteoData":"light","timeZone":"Europe/Berlin"}],"links":{"first":"https://swqapi.solarweb.com/pvsystems?offset=0&limit=1000","prev":null,"self":"https://swqapi.solarweb.com/pvsystems?offset=0&limit=1000","next":null,"last":"https://swqapi.solarweb.com/pvsystems?offset=0&limit=1000","totalItemsCount":2}} |
Check your pydantic version in HA and check you're using the right release version of this integration to match. |
How do I do this? keyid and keyvalue are sniffed from traffic of official app, so it has to be correct http://ha.local:8123/config/info |
Yesterday, I updated to I checked the keyid and keyvalue which is used within the official app. They are still the same. |
This integration does not support using a bearer token. If someone creates a PR to include this I'll incorporate it. |
You asked if I have tested keyid, keyvalue at Fronius test-page. At Testpage, you only get status "authorized" when you have entered 3 things: keyid, keyvalue and bearer token. Do you really have a keyid and keyvalue which work at Testpage without a bearer token? |
Yes, using the keyid and keyvalue you create on Solarweb once given access by Fronius to the api works fine. Unfortunately I don't have time or the requirement to look at how to amend the codebase to use a bearer key instead. |
Hello,
after I got my pvSystemId, keyid and keyvalue, I tried to add a new integration with your HACS
I enter pvSystemId, keyid and keyvalue.
After some seconds, there is a message "Unknown error occurred"
Version of the custom_component
0.2.4
Debug log
by the way, what is the correct name of your HACS for Logger ?
custom_components.Fronius_Solarweb: info
or
custom_components.solarweb: info
The text was updated successfully, but these errors were encountered: