Advertisement
Guest User

Untitled

a guest
Jan 16th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.87 KB | None | 0 0
  1. [
  2. {
  3. "id": "a475d464.111ea8",
  4. "type": "site",
  5. "z": "4b0274f2.cc435c",
  6. "user": "",
  7. "name": "Revgårdsveien 25",
  8. "x": 100.07988739013672,
  9. "y": 243.97570037841797,
  10. "wires": [
  11. [
  12. "23fef806.a904f8"
  13. ]
  14. ]
  15. },
  16. {
  17. "id": "23fef806.a904f8",
  18. "type": "json",
  19. "z": "4b0274f2.cc435c",
  20. "name": "",
  21. "pretty": true,
  22. "x": 209.01734924316406,
  23. "y": 127.01040458679199,
  24. "wires": [
  25. [
  26. "e74305ed.e48608",
  27. "8c2f7670.fad618"
  28. ]
  29. ]
  30. },
  31. {
  32. "id": "e74305ed.e48608",
  33. "type": "debug",
  34. "z": "4b0274f2.cc435c",
  35. "name": "all",
  36. "active": true,
  37. "console": "false",
  38. "complete": "payload",
  39. "x": 344.0173454284668,
  40. "y": 65.01040458679199,
  41. "wires": []
  42. },
  43. {
  44. "id": "8c2f7670.fad618",
  45. "type": "switch",
  46. "z": "4b0274f2.cc435c",
  47. "name": "skille filter",
  48. "property": "payload",
  49. "propertyType": "msg",
  50. "rules": [
  51. {
  52. "t": "cont",
  53. "v": "payload.site",
  54. "vt": "msg"
  55. },
  56. {
  57. "t": "cont",
  58. "v": "payload.rooms",
  59. "vt": "msg"
  60. },
  61. {
  62. "t": "cont",
  63. "v": "payload.devices",
  64. "vt": "msg"
  65. }
  66. ],
  67. "checkall": "true",
  68. "outputs": 3,
  69. "x": 352.0173568725586,
  70. "y": 146.01038551330566,
  71. "wires": [
  72. [
  73. "353aa42.730b55c",
  74. "19ff7a0e.3b4516"
  75. ],
  76. [],
  77. []
  78. ],
  79. "outputLabels": [
  80. "site",
  81. "rooms",
  82. "devices"
  83. ]
  84. },
  85. {
  86. "id": "353aa42.730b55c",
  87. "type": "debug",
  88. "z": "4b0274f2.cc435c",
  89. "name": "site",
  90. "active": true,
  91. "console": "false",
  92. "complete": "payload",
  93. "x": 547.0173416137695,
  94. "y": 67.01041221618652,
  95. "wires": []
  96. },
  97. {
  98. "id": "19ff7a0e.3b4516",
  99. "type": "switch",
  100. "z": "4b0274f2.cc435c",
  101. "name": "modes",
  102. "property": "payload.site.mode",
  103. "propertyType": "msg",
  104. "rules": [
  105. {
  106. "t": "eq",
  107. "v": "home",
  108. "vt": "str"
  109. },
  110. {
  111. "t": "eq",
  112. "v": "away",
  113. "vt": "str"
  114. },
  115. {
  116. "t": "eq",
  117. "v": "sleep",
  118. "vt": "str"
  119. },
  120. {
  121. "t": "eq",
  122. "v": "vacation",
  123. "vt": "str"
  124. }
  125. ],
  126. "checkall": "true",
  127. "outputs": 4,
  128. "x": 546.0173263549805,
  129. "y": 127.01041412353516,
  130. "wires": [
  131. [],
  132. [],
  133. [
  134. "d21c2ff1.a8d76"
  135. ],
  136. []
  137. ]
  138. },
  139. {
  140. "id": "c644b356.7a303",
  141. "type": "switch",
  142. "z": "4b0274f2.cc435c",
  143. "name": "Vindu trapp",
  144. "property": "payload.devices[0].id",
  145. "propertyType": "msg",
  146. "rules": [
  147. {
  148. "t": "eq",
  149. "v": "3",
  150. "vt": "num"
  151. }
  152. ],
  153. "checkall": "true",
  154. "outputs": 1,
  155. "x": 857.0177993774414,
  156. "y": 148.0104160308838,
  157. "wires": [
  158. [
  159. "1fcaf88e.a4cf97"
  160. ]
  161. ]
  162. },
  163. {
  164. "id": "1fcaf88e.a4cf97",
  165. "type": "switch",
  166. "z": "4b0274f2.cc435c",
  167. "name": "Åpen/Lukket?",
  168. "property": "payload.devices[0].openState",
  169. "propertyType": "msg",
  170. "rules": [
  171. {
  172. "t": "eq",
  173. "v": "open",
  174. "vt": "str"
  175. },
  176. {
  177. "t": "eq",
  178. "v": "closed",
  179. "vt": "str"
  180. }
  181. ],
  182. "checkall": "true",
  183. "outputs": 2,
  184. "x": 1034.684471130371,
  185. "y": 148.89934158325195,
  186. "wires": [
  187. [
  188. "4732151.fdc7eec"
  189. ],
  190. [
  191. "d2fe3f20.2e392"
  192. ]
  193. ]
  194. },
  195. {
  196. "id": "d2fe3f20.2e392",
  197. "type": "trigger",
  198. "z": "4b0274f2.cc435c",
  199. "op1": "Alle dører og vinduer er lukket",
  200. "op2": "",
  201. "op1type": "str",
  202. "op2type": "nul",
  203. "duration": "10",
  204. "extend": false,
  205. "units": "min",
  206. "reset": "",
  207. "name": "Alt er lukket",
  208. "x": 1196.0178146362305,
  209. "y": 166.01048851013184,
  210. "wires": [
  211. [
  212. "808a51c0.7fd41"
  213. ]
  214. ]
  215. },
  216. {
  217. "id": "808a51c0.7fd41",
  218. "type": "googlehome-notify",
  219. "z": "4b0274f2.cc435c",
  220. "server": "289c30c0.cf3e",
  221. "name": "Google Home",
  222. "x": 1372.017505645752,
  223. "y": 166.0104694366455,
  224. "wires": []
  225. },
  226. {
  227. "id": "4732151.fdc7eec",
  228. "type": "trigger",
  229. "z": "4b0274f2.cc435c",
  230. "op1": "Et eller flere vinduer er åpne, sjekk appen.",
  231. "op2": "",
  232. "op1type": "str",
  233. "op2type": "nul",
  234. "duration": "10",
  235. "extend": false,
  236. "units": "min",
  237. "reset": "",
  238. "name": "Noe er åpent",
  239. "x": 1197.0174102783203,
  240. "y": 118.01044368743896,
  241. "wires": [
  242. [
  243. "5c6f402b.d65ec"
  244. ]
  245. ]
  246. },
  247. {
  248. "id": "5c6f402b.d65ec",
  249. "type": "googlehome-notify",
  250. "z": "4b0274f2.cc435c",
  251. "server": "289c30c0.cf3e",
  252. "name": "Google Home",
  253. "x": 1375.0179977416992,
  254. "y": 117.01043510437012,
  255. "wires": []
  256. },
  257. {
  258. "id": "d21c2ff1.a8d76",
  259. "type": "switch",
  260. "z": "4b0274f2.cc435c",
  261. "name": "filter",
  262. "property": "payload",
  263. "propertyType": "msg",
  264. "rules": [
  265. {
  266. "t": "cont",
  267. "v": "payload.site",
  268. "vt": "msg"
  269. },
  270. {
  271. "t": "cont",
  272. "v": "payload.rooms",
  273. "vt": "msg"
  274. },
  275. {
  276. "t": "cont",
  277. "v": "payload.devices",
  278. "vt": "msg"
  279. }
  280. ],
  281. "checkall": "true",
  282. "outputs": 3,
  283. "x": 710.0173454284668,
  284. "y": 136.01039695739746,
  285. "wires": [
  286. [],
  287. [],
  288. [
  289. "c644b356.7a303"
  290. ]
  291. ],
  292. "outputLabels": [
  293. "site",
  294. "rooms",
  295. "devices"
  296. ]
  297. },
  298. {
  299. "id": "e8df6175.9eb8",
  300. "type": "comment",
  301. "z": "4b0274f2.cc435c",
  302. "name": "om modes",
  303. "info": "Litt usikker på om her modes skifter modus eller om den bare sjekker.",
  304. "x": 722.1667881011963,
  305. "y": 51.00001525878906,
  306. "wires": []
  307. },
  308. {
  309. "id": "54d0f824.6aa8d8",
  310. "type": "comment",
  311. "z": "4b0274f2.cc435c",
  312. "name": "filter",
  313. "info": "trenger vel dette filteret for å spesifisere at det\ner devices jeg jobber med?",
  314. "x": 736.1667137145996,
  315. "y": 206.66667938232422,
  316. "wires": []
  317. },
  318. {
  319. "id": "289c30c0.cf3e",
  320. "type": "googlehome-config-node",
  321. "z": "",
  322. "ipaddress": "10.0.0.5",
  323. "language": "no"
  324. }
  325. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement