BoschSmartHome / bosch-shc-api-docs

Bosch Smart Home Controller Local REST API
Other
208 stars 44 forks source link

Add OpenAPI documentation for Door/Window Sensor II (Plus) #94

Open david-pace opened 6 months ago

david-pace commented 6 months ago

Hi, I just noticed that the Door/Window Contact II and Door/Window Contact II Plus are not yet available in the OpenAPI documentation. In the Postman collection the requests are available.

In particular, the documentation for the request and especially the responses of the following services would be useful:

In addition, it is not clear to me how the sensor communicates that the button was pressed (short/long). I don't see any messages related to those events in the long poll results. Any hints would be appreciated.

Thank you 🙂

P.S.: ~I activated the bypass/break functionality in the app, but I cannot seem to activate the bypass by double pressing the button on the sensor. I would expect the LED to blink orange for the configured amount of time, but nothing happens. Is this a known issue or am I doing something wrong?~

Nevermind. It only works when the door/window is closed. I tested it while the sensor was not mounted and therefore it was considered open. Is it meant to behave like that by design? Or would it also make sense to activate the bypass if the door/window is opened?