-
Notifications
You must be signed in to change notification settings - Fork 89
/
Example Flow 1.txt
148 lines (148 loc) · 3.73 KB
/
Example Flow 1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[
{
"id": "de0886b1.a7c028",
"type": "server-state-changed",
"z": "c98c2f87.1a57",
"name": "Rob Home",
"server": "1e776005.3ee9b",
"entityidfilter": "input_boolean.rob_home",
"haltifstate": "on",
"x": 160,
"y": 1280,
"wires": [
[
"7b030002.045ac"
]
]
},
{
"id": "5c50473a.2e76c8",
"type": "server-state-changed",
"z": "c98c2f87.1a57",
"name": "Lindsay Home",
"server": "1e776005.3ee9b",
"entityidfilter": "input_boolean.lindsay_home",
"haltifstate": "on",
"x": 170,
"y": 1340,
"wires": [
[
"3c846fc4.f03b6"
]
]
},
{
"id": "7b030002.045ac",
"type": "api-current-state",
"z": "c98c2f87.1a57",
"name": "Lindsay Home",
"server": "1e776005.3ee9b",
"halt_if": "on",
"entity_id": "input_boolean.lindsay_home",
"x": 400,
"y": 1280,
"wires": [
[
"8f96cd32.02348"
]
]
},
{
"id": "3c846fc4.f03b6",
"type": "api-current-state",
"z": "c98c2f87.1a57",
"name": "Rob Home",
"server": "1e776005.3ee9b",
"halt_if": "on",
"entity_id": "input_boolean.rob_home",
"x": 390,
"y": 1340,
"wires": [
[
"8f96cd32.02348"
]
]
},
{
"id": "90e05973.d60698",
"type": "server-state-changed",
"z": "c98c2f87.1a57",
"name": "Rob Home",
"server": "1e776005.3ee9b",
"entityidfilter": "input_boolean.rob_home",
"haltifstate": "off",
"x": 160,
"y": 1420,
"wires": [
[
"d37e441e.1913e8"
]
]
},
{
"id": "7f080f6d.7b385",
"type": "server-state-changed",
"z": "c98c2f87.1a57",
"name": "Lindsay Home",
"server": "1e776005.3ee9b",
"entityidfilter": "input_boolean.lindsay_home",
"haltifstate": "off",
"x": 170,
"y": 1480,
"wires": [
[
"d37e441e.1913e8"
]
]
},
{
"id": "5f73ff31.c13f3",
"type": "api-call-service",
"z": "c98c2f87.1a57",
"name": "Away",
"server": "1e776005.3ee9b",
"service_domain": "input_boolean",
"service": "turn_off",
"data": "{ \"entity_id\": \"input_boolean.home_occupied\" }",
"x": 790,
"y": 1280,
"wires": []
},
{
"id": "d37e441e.1913e8",
"type": "api-call-service",
"z": "c98c2f87.1a57",
"name": "Home",
"server": "1e776005.3ee9b",
"service_domain": "input_boolean",
"service": "turn_on",
"data": "{ \"entity_id\": \"input_boolean.home_occupied\" }",
"x": 370,
"y": 1420,
"wires": []
},
{
"id": "8f96cd32.02348",
"type": "api-current-state",
"z": "c98c2f87.1a57",
"name": "House Guests",
"server": "1e776005.3ee9b",
"halt_if": "on",
"entity_id": "input_boolean.house_guests",
"x": 620,
"y": 1280,
"wires": [
[
"5f73ff31.c13f3"
]
]
},
{
"id": "1e776005.3ee9b",
"type": "server",
"z": "",
"name": "Home Assistant",
"url": "https://Fake_HA_Server.duckdns.org:8123",
"pass": "notMyPassword"
}
]