[boschshc] Support for Bosch Intrusion Detection System (#12700) (#12758)

* [boschshc] Support for Bosch Intrusion Detection System (#12700)

* Add thing and channel definitions for intrusion detection system
* Extract handler abstraction for devices with non-configurable device
IDs
* Extract service abstractions for write-only services (i.e. services
that can not receive states from the bridge)
* Add handler, services and DTO implementations for the intrusion
detection system
* Add detailed Javadocs
* Generalize mechanism to actively fetch initial states for certain
services
* Add unit tests
* Add documentation

closes #12700

* [boschshc] Documentation and formatting enhancements

Signed-off-by: David Pace <dev@davidpace.de>
This commit is contained in:
David Pace
2022-05-22 21:45:55 +02:00
committed by GitHub
parent 50831fff14
commit c16e9df7a0
41 changed files with 1828 additions and 164 deletions

View File

@@ -14,6 +14,7 @@ Binding for the Bosch Smart Home.
- [Wall Thermostat](#wall-thermostat)
- [Security Camera 360](#security-camera-360)
- [Security Camera Eyes](#security-camera-eyes)
- [Intrusion Detection System](#intrusion-detection-system)
- [Limitations](#limitations)
- [Discovery](#discovery)
- [Bridge Configuration](#bridge-configuration)
@@ -138,6 +139,22 @@ Outdoor security camera with motion detection and light.
| privacy-mode | Switch | &#9745; | If privacy mode is enabled, the camera is disabled and vice versa. |
| camera-notification | Switch | &#9745; | Enables or disables notifications for the camera. |
### Intrusion Detection System
Allows to retrieve notifications in case of intrusions. The system can be armed and disarmed and alarms can be muted.
**Thing Type ID**: `intrusion-detection-system`
| Channel Type ID | Item Type | Writable | Description |
| ---------------------------- | -------------------- | :------: | -------------------------------------------------------------- |
| system-availability | Switch | &#9744; | Indicates whether the intrusion detection system is available. |
| arming-state | String | &#9744; | Read-only channel to retrieve the current arming state. Possible values are `SYSTEM_ARMING`, `SYSTEM_ARMED` and `SYSTEM_DISARMED`. |
| alarm-state | String | &#9744; | Read-only channel to retrieve the current alarm state. Possible values are `ALARM_OFF`, `PRE_ALARM`, `ALARM_ON`, `ALARM_MUTED` and `UNKNOWN`. |
| active-configuration-profile | String | &#9744; | The name of the active configuration profile used for the intrusion detection system. |
| arm-action | String | &#9745; | Arms the intrusion detection system using the given profile ID (default is "0"). |
| disarm-action | Switch | &#9745; | Disarms the intrusion detection system when an ON command is received. |
| mute-action | Switch | &#9745; | Mutes the alarm when an ON command is received. |
## Limitations
- Discovery of Things