Skip to content

Commit

Permalink
Merge pull request #39 from Drenso/add-camera
Browse files Browse the repository at this point in the history
Add camera
  • Loading branch information
bobvandevijver authored Aug 8, 2024
2 parents efbacc4 + e375813 commit f232c8f
Show file tree
Hide file tree
Showing 37 changed files with 1,766 additions and 16 deletions.
17 changes: 17 additions & 0 deletions .homeycompose/capabilities/alarm_crying_child.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "boolean",
"title": {
"en": "Crying Child Detected"
},
"getable": true,
"setable": false,
"uiComponent": "sensor",
"insights": true,
"insightsTitleTrue": {
"en": "Crying Child Detected"
},
"insightsTitleFalse": {
"en": "Crying Child No Longer Detected"
},
"icon": "assets/capabilities/detect-baby.svg"
}
17 changes: 17 additions & 0 deletions .homeycompose/capabilities/alarm_pet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "boolean",
"title": {
"en": "Pet Detected"
},
"getable": true,
"setable": false,
"uiComponent": "sensor",
"insights": true,
"insightsTitleTrue": {
"en": "Pet Detected"
},
"insightsTitleFalse": {
"en": "Pet No Longer Detected"
},
"icon": "assets/capabilities/detect-pet.svg"
}
17 changes: 17 additions & 0 deletions .homeycompose/capabilities/alarm_sound.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"type": "boolean",
"title": {
"en": "Sound Detected"
},
"getable": true,
"setable": false,
"uiComponent": "sensor",
"insights": true,
"insightsTitleTrue": {
"en": "Sound Detected"
},
"insightsTitleFalse": {
"en": "Sound No Longer Detected"
},
"icon": "assets/capabilities/detect-sound.svg"
}
10 changes: 10 additions & 0 deletions .homeycompose/capabilities/cruise_switch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "boolean",
"title": {
"en": "Auto Patrol"
},
"getable": true,
"setable": true,
"uiComponent": "button",
"icon": "assets/capabilities/auto-patrol.svg"
}
29 changes: 29 additions & 0 deletions .homeycompose/capabilities/ptz_control_horizontal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"type": "enum",
"title": {
"en": "Horizontal Control"
},
"getable": true,
"setable": true,
"uiComponent": "ternary",
"values": [
{
"id": "up",
"title": {
"en": "Left"
}
},
{
"id": "idle",
"title": {
"en": "Stop"
}
},
{
"id": "down",
"title": {
"en": "Right"
}
}
]
}
29 changes: 29 additions & 0 deletions .homeycompose/capabilities/ptz_control_vertical.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"type": "enum",
"title": {
"en": "Vertical Control"
},
"getable": true,
"setable": true,
"uiComponent": "ternary",
"values": [
{
"id": "up",
"title": {
"en": "Up"
}
},
{
"id": "idle",
"title": {
"en": "Stop"
}
},
{
"id": "down",
"title": {
"en": "Down"
}
}
]
}
29 changes: 29 additions & 0 deletions .homeycompose/capabilities/ptz_control_zoom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"type": "enum",
"title": {
"en": "Zoom Control"
},
"getable": true,
"setable": true,
"uiComponent": "ternary",
"values": [
{
"id": "up",
"title": {
"en": "Increase Zoom"
}
},
{
"id": "idle",
"title": {
"en": "Stop"
}
},
{
"id": "down",
"title": {
"en": "Decrease Zoom"
}
}
]
}
10 changes: 10 additions & 0 deletions .homeycompose/capabilities/siren_switch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"type": "boolean",
"title": {
"en": "Siren"
},
"getable": true,
"setable": true,
"uiComponent": "button",
"icon": "assets/capabilities/alarm-siren.svg"
}
2 changes: 1 addition & 1 deletion .homeycompose/flow/actions/send_command_boolean.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "device",
"type": "device",
"filter": {
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater"
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater|camera"
},
"title": {
"en": "Device"
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/actions/send_command_json.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "device",
"type": "device",
"filter": {
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater"
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater|camera"
},
"title": {
"en": "Device"
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/actions/send_command_number.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "device",
"type": "device",
"filter": {
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater"
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater|camera"
},
"title": {
"en": "Device"
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/actions/send_command_string.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "device",
"type": "device",
"filter": {
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater"
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater|camera"
},
"title": {
"en": "Device"
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/receive_status_boolean.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "device",
"type": "device",
"filter": {
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater"
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater|camera"
},
"title": {
"en": "Device"
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/receive_status_json.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "device",
"type": "device",
"filter": {
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater"
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater|camera"
},
"title": {
"en": "Device"
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/receive_status_number.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "device",
"type": "device",
"filter": {
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater"
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|camera"
},
"title": {
"en": "Device"
Expand Down
2 changes: 1 addition & 1 deletion .homeycompose/flow/triggers/receive_status_string.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "device",
"type": "device",
"filter": {
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater"
"driver_id": "doorbell|fan|light|other|sensor_contact|sensor_motion|sensor_smoke|socket|dimmer|heater|camera"
},
"title": {
"en": "Device"
Expand Down
Loading

0 comments on commit f232c8f

Please sign in to comment.