Closed iMicknl closed 2 years ago
I'm getting error 400 when posting to: 'https://gateway-xxxx-xxxx-xxxx.local:8443/enduser-mobile-web/1/enduserAPI/events/register'
I can successfully get the devices from: 'https://gateway-xxxx-xxxx-xxxx.local:8443/enduser-mobile-web/1/enduserAPI/setup/devices' so I believe the configuration is correct for local access.
Everything works here, except for the endpoint to register an event. Thus it seems that this endpoint is not included. The endpoint to fetch an event is present as well.
Thatโs also the reason why I reported this specific bug ๐.
I'm guessing we will have to wait for another firmware update on the boxes before this will work.
Any news on when the update will be available?
This issue is the only thing holding me back at the movement as it is key to the operation.
@vhenriet-sfy it seems that API is not completely released and we need to wait. Is there any schedule for releases which we could rely on?
My box version 2022.1.4-26 My request for registration :
curl --location --request POST 'https://gateway-1224-5722-0308.local:8443/enduser-mobile-web/1/enduserAPI/events/register' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer 626bd68b7cd25dccabfe'
My response body :
{"error":"Unknown object.","errorCode":"UNSPECIFIED_ERROR"}
Response headers :
[{"key":"Content-Type","value":"application/json"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization"},{"key":"Content-Length","value":"59"},{"key":"Date","value":"Fri, 29 Apr 2022 12:29:49 GMT"},{"key":"Server","value":"KizOs"}]
I can confirm that this is fixed in 2022.2.4-13. Thanks! ๐๐ป
(first of all, thanks for providing a local API. This will make many Home Assistant + Somfy users happy).
I am working on integrating this local API in Home Assistant and thus python-overkiz-api, but I am facing errors while registering the event listener. The same request works for the Overkiz cloud API.
https://192.168.xx.xx:8443/enduser-mobile-web/1/enduserAPI/events/register
{"error":"Unknown object.","errorCode":"UNSPECIFIED_ERROR"}