Skip to content

Commit

Permalink
Update notification flow for person detection
Browse files Browse the repository at this point in the history
  • Loading branch information
theautomation committed Aug 29, 2024
1 parent 139c6ea commit 4b65cfc
Showing 1 changed file with 87 additions and 2 deletions.
89 changes: 87 additions & 2 deletions src/data/flows/notification_camera_person_detection.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"queue": "none",
"domain": "",
"service": "",
"x": 890,
"x": 1270,
"y": 60,
"wires": [
[]
Expand Down Expand Up @@ -138,7 +138,8 @@
"y": 60,
"wires": [
[
"4a585d8a38a8ee00"
"8733978e8cf740fe",
"b428cd860af9a9f1"
],
[]
]
Expand Down Expand Up @@ -168,6 +169,90 @@
]
]
},
{
"id": "8733978e8cf740fe",
"type": "api-current-state",
"z": "e846a5a705a12fe6",
"name": "persons not home",
"server": "4ba92433.2478cc",
"version": 3,
"outputs": 2,
"halt_if": "not_home",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "group.persons",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [],
"for": "0",
"forType": "num",
"forUnits": "minutes",
"override_topic": false,
"state_location": "payload",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 950,
"y": 60,
"wires": [
[
"4a585d8a38a8ee00"
],
[]
]
},
{
"id": "b428cd860af9a9f1",
"type": "time-range-switch",
"z": "e846a5a705a12fe6",
"name": "",
"lat": "",
"lon": "",
"startTime": "08:30",
"endTime": "17:30",
"startOffset": 0,
"endOffset": 0,
"x": 930,
"y": 120,
"wires": [
[
"a91a2ee8078566c4"
],
[]
]
},
{
"id": "a91a2ee8078566c4",
"type": "api-current-state",
"z": "e846a5a705a12fe6",
"name": "anne is not home",
"server": "4ba92433.2478cc",
"version": 3,
"outputs": 2,
"halt_if": "not_home",
"halt_if_type": "str",
"halt_if_compare": "is",
"entity_id": "person.anne",
"state_type": "str",
"blockInputOverrides": false,
"outputProperties": [],
"for": "0",
"forType": "num",
"forUnits": "minutes",
"override_topic": false,
"state_location": "payload",
"override_payload": "msg",
"entity_location": "data",
"override_data": "msg",
"x": 1110,
"y": 120,
"wires": [
[
"4a585d8a38a8ee00"
],
[]
]
},
{
"id": "36dee637778341ba",
"type": "mqtt-broker",
Expand Down

0 comments on commit 4b65cfc

Please sign in to comment.