-
Notifications
You must be signed in to change notification settings - Fork 13
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
Invalid PI call #166
Comments
This API call requires POST, instead of GET. So it will not work, for example, from a browser. You will need a programming language that supports a POST method, or CURL, or an API tool like Postman or Insomnia.
If you don't pass the first step, there is no point in trying the next step. |
Basicaly I just want to get a token for the HomeAssistant API. So there is no other way than developping a form to post those infos and get the token ? There must be an other way to do that ? |
If you use Home Assistant, you don't need to create your own token. If you use Somfy North America server, you will need to contact Somfy to request a token. See #151 (comment). |
Thanks, I use europe server, is it the same? |
No. Why do you need to create a token if you are using Home Assistant? |
It asks me for a token when I want to add it. |
Can you share a screenshot here? |
Well I tried another way today and it worked, not sure what I was doing wrong last time, but I indeed didn't need the token this time. |
Hi,
When I try to go there : https://ha101-1.overkiz.com/enduser-mobile-web/enduserAPI/login
I have this : {"errorCode":"INVALID_API_CALL","error":"Request method 'GET' not supported"}
And if I try this : https://{{url}}/enduser-mobile-web/enduserAPI/config/{{pod}}/local/tokens/generate
(with my URL and my "pod") : {"errorCode":"RESOURCE_ACCESS_DENIED","error":"Not authenticated"}
So what should I do? does it work?
The text was updated successfully, but these errors were encountered: