|
1 | 1 | [
|
2 | 2 | {
|
3 |
| - "id": "f8d7ccba.de9cf", |
| 3 | + "id": "ec192310.979d5", |
4 | 4 | "type": "vsh-virtual-device",
|
5 | 5 | "z": "7ecdfb0b.fa7794",
|
6 | 6 | "name": "bedroom",
|
7 | 7 | "topic": "bedroom/thermostat",
|
8 |
| - "connection": "c653a955.290d98", |
| 8 | + "connection": "", |
9 | 9 | "template": "THERMOSTAT",
|
10 | 10 | "passthrough": true,
|
11 | 11 | "diff": false,
|
12 | 12 | "filter": false,
|
13 |
| - "x": 940, |
14 |
| - "y": 1400, |
15 |
| - "wires": [["185af96.c50b507"]] |
| 13 | + "x": 1340, |
| 14 | + "y": 1440, |
| 15 | + "wires": [["90b1f25d.d713"]] |
16 | 16 | },
|
17 | 17 | {
|
18 |
| - "id": "6ae812d4.64f2ac", |
| 18 | + "id": "521b6c26.571e64", |
19 | 19 | "type": "inject",
|
20 | 20 | "z": "7ecdfb0b.fa7794",
|
21 | 21 | "name": "current temp = 19.7 °C",
|
22 | 22 | "props": [
|
23 |
| - { "p": "payload.temperature", "v": "19.7", "vt": "num" }, |
24 |
| - { "p": "payload.scale", "v": "CELSIUS", "vt": "str" } |
| 23 | + { |
| 24 | + "p": "payload.temperature", |
| 25 | + "v": "19.7", |
| 26 | + "vt": "num" |
| 27 | + }, |
| 28 | + { |
| 29 | + "p": "payload.scale", |
| 30 | + "v": "CELSIUS", |
| 31 | + "vt": "str" |
| 32 | + } |
25 | 33 | ],
|
26 | 34 | "repeat": "",
|
27 | 35 | "crontab": "",
|
28 | 36 | "once": false,
|
29 | 37 | "onceDelay": 0.1,
|
30 | 38 | "topic": "",
|
31 |
| - "x": 700, |
32 |
| - "y": 1400, |
33 |
| - "wires": [["f8d7ccba.de9cf"]] |
| 39 | + "x": 1100, |
| 40 | + "y": 1440, |
| 41 | + "wires": [["ec192310.979d5"]] |
34 | 42 | },
|
35 | 43 | {
|
36 |
| - "id": "185af96.c50b507", |
| 44 | + "id": "90b1f25d.d713", |
37 | 45 | "type": "debug",
|
38 | 46 | "z": "7ecdfb0b.fa7794",
|
39 | 47 | "name": "",
|
|
44 | 52 | "complete": "false",
|
45 | 53 | "statusVal": "",
|
46 | 54 | "statusType": "auto",
|
47 |
| - "x": 1230, |
48 |
| - "y": 1400, |
| 55 | + "x": 1630, |
| 56 | + "y": 1440, |
49 | 57 | "wires": []
|
50 | 58 | },
|
51 | 59 | {
|
52 |
| - "id": "366a3ec7.f45d32", |
| 60 | + "id": "1b9ebdb3.4ce6b2", |
53 | 61 | "type": "inject",
|
54 | 62 | "z": "7ecdfb0b.fa7794",
|
55 | 63 | "name": "current temp = 22 °C",
|
56 | 64 | "props": [
|
57 |
| - { "p": "payload.temperature", "v": "22", "vt": "num" }, |
58 |
| - { "p": "payload.scale", "v": "CELSIUS", "vt": "str" } |
| 65 | + { |
| 66 | + "p": "payload.temperature", |
| 67 | + "v": "22", |
| 68 | + "vt": "num" |
| 69 | + }, |
| 70 | + { |
| 71 | + "p": "payload.scale", |
| 72 | + "v": "CELSIUS", |
| 73 | + "vt": "str" |
| 74 | + } |
59 | 75 | ],
|
60 | 76 | "repeat": "",
|
61 | 77 | "crontab": "",
|
62 | 78 | "once": false,
|
63 | 79 | "onceDelay": 0.1,
|
64 | 80 | "topic": "",
|
65 |
| - "x": 700, |
66 |
| - "y": 1440, |
67 |
| - "wires": [["f8d7ccba.de9cf"]] |
| 81 | + "x": 1100, |
| 82 | + "y": 1480, |
| 83 | + "wires": [["ec192310.979d5"]] |
68 | 84 | },
|
69 | 85 | {
|
70 |
| - "id": "34e9d23d.def9ce", |
| 86 | + "id": "c19e6295.a1337", |
71 | 87 | "type": "inject",
|
72 | 88 | "z": "7ecdfb0b.fa7794",
|
73 | 89 | "name": "target temp = 20 °C",
|
74 | 90 | "props": [
|
75 |
| - { "p": "payload.targetTemperature", "v": "20", "vt": "num" }, |
76 |
| - { "p": "payload.targetScale", "v": "CELSIUS", "vt": "str" } |
| 91 | + { |
| 92 | + "p": "payload.targetTemperature", |
| 93 | + "v": "20", |
| 94 | + "vt": "num" |
| 95 | + }, |
| 96 | + { |
| 97 | + "p": "payload.targetScale", |
| 98 | + "v": "CELSIUS", |
| 99 | + "vt": "str" |
| 100 | + } |
77 | 101 | ],
|
78 | 102 | "repeat": "",
|
79 | 103 | "crontab": "",
|
80 | 104 | "once": false,
|
81 | 105 | "onceDelay": 0.1,
|
82 | 106 | "topic": "",
|
83 |
| - "x": 690, |
84 |
| - "y": 1520, |
85 |
| - "wires": [["f8d7ccba.de9cf"]] |
| 107 | + "x": 1090, |
| 108 | + "y": 1560, |
| 109 | + "wires": [["ec192310.979d5"]] |
86 | 110 | },
|
87 | 111 | {
|
88 |
| - "id": "202115cf.212b8a", |
| 112 | + "id": "362951d9.1d9e3e", |
89 | 113 | "type": "inject",
|
90 | 114 | "z": "7ecdfb0b.fa7794",
|
91 | 115 | "name": "target temp = 22.5 °C",
|
92 | 116 | "props": [
|
93 |
| - { "p": "payload.targetTemperature", "v": "22.5", "vt": "num" }, |
94 |
| - { "p": "payload.targetScale", "v": "CELSIUS", "vt": "str" } |
| 117 | + { |
| 118 | + "p": "payload.targetTemperature", |
| 119 | + "v": "22.5", |
| 120 | + "vt": "num" |
| 121 | + }, |
| 122 | + { |
| 123 | + "p": "payload.targetScale", |
| 124 | + "v": "CELSIUS", |
| 125 | + "vt": "str" |
| 126 | + } |
95 | 127 | ],
|
96 | 128 | "repeat": "",
|
97 | 129 | "crontab": "",
|
98 | 130 | "once": false,
|
99 | 131 | "onceDelay": 0.1,
|
100 | 132 | "topic": "",
|
101 |
| - "x": 700, |
102 |
| - "y": 1560, |
103 |
| - "wires": [["f8d7ccba.de9cf"]] |
| 133 | + "x": 1100, |
| 134 | + "y": 1600, |
| 135 | + "wires": [["ec192310.979d5"]] |
104 | 136 | },
|
105 | 137 | {
|
106 |
| - "id": "3871c53e.5e060a", |
| 138 | + "id": "56680f44.6827a", |
107 | 139 | "type": "comment",
|
108 | 140 | "z": "7ecdfb0b.fa7794",
|
109 | 141 | "name": "THERMOSTAT",
|
110 | 142 | "info": "",
|
111 |
| - "x": 680, |
112 |
| - "y": 1160, |
| 143 | + "x": 1080, |
| 144 | + "y": 1200, |
113 | 145 | "wires": []
|
114 | 146 | },
|
115 | 147 | {
|
116 |
| - "id": "94404dca.ad50b", |
| 148 | + "id": "10fa60e2.65222f", |
117 | 149 | "type": "comment",
|
118 | 150 | "z": "7ecdfb0b.fa7794",
|
119 | 151 | "name": "Alexa, make it warmer in here.",
|
120 | 152 | "info": "",
|
121 |
| - "x": 760, |
122 |
| - "y": 1240, |
| 153 | + "x": 1160, |
| 154 | + "y": 1280, |
123 | 155 | "wires": []
|
124 | 156 | },
|
125 | 157 | {
|
126 |
| - "id": "cb3a71d8.b0511", |
| 158 | + "id": "ee97291.e7937d8", |
127 | 159 | "type": "comment",
|
128 | 160 | "z": "7ecdfb0b.fa7794",
|
129 | 161 | "name": "Alexa, make it cooler in here.",
|
130 | 162 | "info": "",
|
131 |
| - "x": 760, |
132 |
| - "y": 1280, |
| 163 | + "x": 1160, |
| 164 | + "y": 1320, |
133 | 165 | "wires": []
|
134 | 166 | },
|
135 | 167 | {
|
136 |
| - "id": "305cc496.f4bdbc", |
| 168 | + "id": "e41e1df4.35e2f", |
137 | 169 | "type": "comment",
|
138 | 170 | "z": "7ecdfb0b.fa7794",
|
139 | 171 | "name": "Alexa, set bedroom thermostat to twenty.",
|
140 | 172 | "info": "",
|
141 |
| - "x": 800, |
142 |
| - "y": 1200, |
| 173 | + "x": 1200, |
| 174 | + "y": 1240, |
143 | 175 | "wires": []
|
144 | 176 | },
|
145 | 177 | {
|
146 |
| - "id": "f742ce9a.db0b6", |
| 178 | + "id": "921caef2.454cf", |
147 | 179 | "type": "comment",
|
148 | 180 | "z": "7ecdfb0b.fa7794",
|
149 | 181 | "name": "Alexa, what's the temperature of bedroom thermostat?",
|
150 | 182 | "info": "",
|
151 |
| - "x": 840, |
152 |
| - "y": 1320, |
| 183 | + "x": 1240, |
| 184 | + "y": 1360, |
153 | 185 | "wires": []
|
154 | 186 | },
|
155 | 187 | {
|
156 |
| - "id": "7b1a6735.ced7a8", |
| 188 | + "id": "a4dd21a6.1a75e", |
157 | 189 | "type": "inject",
|
158 | 190 | "z": "7ecdfb0b.fa7794",
|
159 | 191 | "name": "mode = AUTO",
|
160 |
| - "props": [{ "p": "payload.thermostatMode", "v": "AUTO", "vt": "str" }], |
| 192 | + "props": [ |
| 193 | + { |
| 194 | + "p": "payload.thermostatMode", |
| 195 | + "v": "AUTO", |
| 196 | + "vt": "str" |
| 197 | + } |
| 198 | + ], |
161 | 199 | "repeat": "",
|
162 | 200 | "crontab": "",
|
163 | 201 | "once": false,
|
164 | 202 | "onceDelay": 0.1,
|
165 | 203 | "topic": "",
|
166 |
| - "x": 670, |
167 |
| - "y": 1640, |
168 |
| - "wires": [["f8d7ccba.de9cf"]] |
| 204 | + "x": 1070, |
| 205 | + "y": 1680, |
| 206 | + "wires": [["ec192310.979d5"]] |
169 | 207 | },
|
170 | 208 | {
|
171 |
| - "id": "5e3718a.25277e8", |
| 209 | + "id": "39ff2a1f.437cd6", |
172 | 210 | "type": "inject",
|
173 | 211 | "z": "7ecdfb0b.fa7794",
|
174 | 212 | "name": "mode = HEAT",
|
175 |
| - "props": [{ "p": "payload.thermostatMode", "v": "HEAT", "vt": "str" }], |
| 213 | + "props": [ |
| 214 | + { |
| 215 | + "p": "payload.thermostatMode", |
| 216 | + "v": "HEAT", |
| 217 | + "vt": "str" |
| 218 | + } |
| 219 | + ], |
176 | 220 | "repeat": "",
|
177 | 221 | "crontab": "",
|
178 | 222 | "once": false,
|
179 | 223 | "onceDelay": 0.1,
|
180 | 224 | "topic": "",
|
181 |
| - "x": 670, |
182 |
| - "y": 1680, |
183 |
| - "wires": [["f8d7ccba.de9cf"]] |
| 225 | + "x": 1070, |
| 226 | + "y": 1720, |
| 227 | + "wires": [["ec192310.979d5"]] |
184 | 228 | },
|
185 | 229 | {
|
186 |
| - "id": "1072ec7.feef314", |
| 230 | + "id": "fe487ec6.d62f4", |
187 | 231 | "type": "inject",
|
188 | 232 | "z": "7ecdfb0b.fa7794",
|
189 | 233 | "name": "mode = COOL",
|
190 |
| - "props": [{ "p": "payload.thermostatMode", "v": "COOL", "vt": "str" }], |
| 234 | + "props": [ |
| 235 | + { |
| 236 | + "p": "payload.thermostatMode", |
| 237 | + "v": "COOL", |
| 238 | + "vt": "str" |
| 239 | + } |
| 240 | + ], |
191 | 241 | "repeat": "",
|
192 | 242 | "crontab": "",
|
193 | 243 | "once": false,
|
194 | 244 | "onceDelay": 0.1,
|
195 | 245 | "topic": "",
|
196 |
| - "x": 680, |
197 |
| - "y": 1720, |
198 |
| - "wires": [["f8d7ccba.de9cf"]] |
| 246 | + "x": 1080, |
| 247 | + "y": 1760, |
| 248 | + "wires": [["ec192310.979d5"]] |
| 249 | + }, |
| 250 | + { |
| 251 | + "id": "d14af22e.2a3f3", |
| 252 | + "type": "inject", |
| 253 | + "z": "7ecdfb0b.fa7794", |
| 254 | + "name": "mode = ECO", |
| 255 | + "props": [ |
| 256 | + { |
| 257 | + "p": "payload.thermostatMode", |
| 258 | + "v": "ECO", |
| 259 | + "vt": "str" |
| 260 | + } |
| 261 | + ], |
| 262 | + "repeat": "", |
| 263 | + "crontab": "", |
| 264 | + "once": false, |
| 265 | + "onceDelay": 0.1, |
| 266 | + "topic": "", |
| 267 | + "x": 1070, |
| 268 | + "y": 1800, |
| 269 | + "wires": [["ec192310.979d5"]] |
199 | 270 | },
|
200 | 271 | {
|
201 |
| - "id": "c653a955.290d98", |
202 |
| - "type": "vsh-connection", |
203 |
| - "name": "SANDBOX: cornelius.suermann@gmail.com", |
204 |
| - "port": "8883", |
205 |
| - "accessTokenExpiry": "1623058880575", |
206 |
| - "debug": true, |
207 |
| - "backendUrl": "https://hbsky6oavf.execute-api.eu-west-1.amazonaws.com/dev", |
208 |
| - "lwaClientId": "amzn1.application-oa2-client.cc2605d7d7d64fb28b90e75f64622bfa" |
| 272 | + "id": "5cc18f22.5aad3", |
| 273 | + "type": "inject", |
| 274 | + "z": "7ecdfb0b.fa7794", |
| 275 | + "name": "mode = OFF", |
| 276 | + "props": [ |
| 277 | + { |
| 278 | + "p": "payload.thermostatMode", |
| 279 | + "v": "OFF", |
| 280 | + "vt": "str" |
| 281 | + } |
| 282 | + ], |
| 283 | + "repeat": "", |
| 284 | + "crontab": "", |
| 285 | + "once": false, |
| 286 | + "onceDelay": 0.1, |
| 287 | + "topic": "", |
| 288 | + "x": 1070, |
| 289 | + "y": 1840, |
| 290 | + "wires": [["ec192310.979d5"]] |
209 | 291 | }
|
210 | 292 | ]
|
0 commit comments