bosch_camera_rules_add
Create a camera automation rule by specifying start/end time and days of week. Returns the created rule with its unique ID.
Instructions
Create a new automation rule for one camera.
start/end are HH:MM 24h time. days are 0=Monday..6=Sunday.
The new rule is created active. Returns the created rule (with its id).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| days | Yes | ||
| name | Yes | ||
| start | Yes | ||
| camera | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Rule id (Bosch API field 'id') | |
| end | Yes | End time HH:MM:SS (Bosch API field 'endTime') | |
| days | Yes | Active weekdays, 0=Monday .. 6=Sunday | |
| name | Yes | Rule display name | |
| start | Yes | Start time HH:MM:SS (Bosch API field 'startTime') | |
| active | Yes | Whether the rule is currently active |