Open wagaman opened 1 month ago
I did some HTTP sniffing today.
curl -H "Host: ha101-1.overkiz.com" -H "Accept: */*" -H "Content-Type: application/json" -H "X-OVK-API-Key: " -H "X-OVK-Application-Id: tahoma3-ios" -H "Accept-Language: en-GB,en;q=0.9" -H "Authorization: Bearer " -H "User-Agent: TaHoma/408 CFNetwork/1496.0.7 Darwin/23.5.0" --compressed "https://ha101-1.overkiz.com/enduser-mobile-web/enduserAPI/history"
With this, I am able to get the wind warning. It returns a list of warnings. The sample is here:
[{"deviceEvent":{"eventTime":1729164385970,"deviceURL":"io://**/**","id":"**","type":"WARNING","subType":"PRIORITY_LOCK__WIND_FORCING_AVAILABLE"}},{"deviceEvent":{"eventTime":1729164352257,"deviceURL":"io://**/**","id":"**","type":"WARNING","subType":"PRIORITY_LOCK__WIND_FORCING_UNAVAILABLE"}},
I believe the PRIORITY_LOCK__WIND_FORCING_AVAILABLE indicates the warning. I found this variable here: https://github.com/iMicknl/python-overkiz-api/blob/main/pyoverkiz/enums/general.py
Thank you very much for offering this great API. I own a Positionable Horizontal Awning which automatically retracts when a strong wind is detected. In the application, it shows
This is a very useful sensor which I would like to have in HA for safety reasons. For example, I would set the roller shutter not extending for one hour after "vent" sensor reported "on".
I downloaded diagnosis for this product and do not think that such "vent" sensor is exposed yet.
Could you please take a look and let me know if this sensor can be included in the local api reporting?
Thank you very much in advance.