Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.62 KB | None | 0 0
  1. [
  2. {
  3. "id": "53e3269d.5a15d8",
  4. "type": "tab",
  5. "label": "Image Processing",
  6. "disabled": false,
  7. "info": ""
  8. },
  9. {
  10. "id": "6699272e.68cc68",
  11. "type": "tab",
  12. "label": "Clean and Tidy",
  13. "disabled": false,
  14. "info": ""
  15. },
  16. {
  17. "id": "42bee720.8c3248",
  18. "type": "server",
  19. "z": "",
  20. "name": "Home Assistant HA",
  21. "legacy": false,
  22. "hassio": true,
  23. "rejectUnauthorizedCerts": true,
  24. "ha_boolean": "y|yes|true|on|home|open",
  25. "connectionDelay": true
  26. },
  27. {
  28. "id": "f324070d.abe498",
  29. "type": "server",
  30. "z": "",
  31. "name": "HA Timeshift",
  32. "legacy": false,
  33. "hassio": false,
  34. "rejectUnauthorizedCerts": false,
  35. "ha_boolean": "y|yes|true|on|home|open",
  36. "connectionDelay": true
  37. },
  38. {
  39. "id": "ac1ef16e.4cc71",
  40. "type": "tls-config",
  41. "z": "",
  42. "name": "",
  43. "cert": "",
  44. "key": "",
  45. "ca": "",
  46. "certname": "",
  47. "keyname": "",
  48. "caname": "",
  49. "servername": "",
  50. "verifyservercert": false
  51. },
  52. {
  53. "id": "1cacae7d.11f6f2",
  54. "type": "server-state-changed",
  55. "z": "53e3269d.5a15d8",
  56. "name": "Livingroom movement?",
  57. "server": "42bee720.8c3248",
  58. "version": 1,
  59. "entityidfilter": "binary_sensor.livingroomcam_motion_sensor",
  60. "entityidfiltertype": "exact",
  61. "outputinitially": false,
  62. "state_type": "str",
  63. "haltifstate": "off",
  64. "halt_if_type": "str",
  65. "halt_if_compare": "is",
  66. "outputs": 2,
  67. "output_only_on_state_change": true,
  68. "x": 140,
  69. "y": 120,
  70. "wires": [
  71. [],
  72. [
  73. "3f50a0da.e8f54"
  74. ]
  75. ]
  76. },
  77. {
  78. "id": "ea1163a0.72c06",
  79. "type": "api-current-state",
  80. "z": "53e3269d.5a15d8",
  81. "name": "Check if person",
  82. "server": "f324070d.abe498",
  83. "version": 1,
  84. "outputs": 2,
  85. "halt_if": "0",
  86. "halt_if_type": "num",
  87. "halt_if_compare": "is",
  88. "override_topic": false,
  89. "entity_id": "image_processing.tensorflow_stue",
  90. "state_type": "num",
  91. "state_location": "",
  92. "override_payload": "none",
  93. "entity_location": "",
  94. "override_data": "none",
  95. "blockInputOverrides": false,
  96. "x": 480,
  97. "y": 180,
  98. "wires": [
  99. [],
  100. [
  101. "c5b66e58.e01f5"
  102. ]
  103. ]
  104. },
  105. {
  106. "id": "54049b31.b848e4",
  107. "type": "api-call-service",
  108. "z": "53e3269d.5a15d8",
  109. "name": "Capture image",
  110. "server": "f324070d.abe498",
  111. "version": 1,
  112. "service_domain": "image_processing",
  113. "service": "scan",
  114. "entityId": "image_processing.tensorflow_stue",
  115. "data": "",
  116. "dataType": "json",
  117. "mergecontext": "",
  118. "output_location": "",
  119. "output_location_type": "none",
  120. "mustacheAltTags": false,
  121. "x": 280,
  122. "y": 200,
  123. "wires": [
  124. [
  125. "ea1163a0.72c06"
  126. ]
  127. ]
  128. },
  129. {
  130. "id": "3f50a0da.e8f54",
  131. "type": "api-current-state",
  132. "z": "53e3269d.5a15d8",
  133. "name": "Alarm disarmed?",
  134. "server": "42bee720.8c3248",
  135. "version": 1,
  136. "outputs": 2,
  137. "halt_if": "disarmed",
  138. "halt_if_type": "str",
  139. "halt_if_compare": "is",
  140. "override_topic": false,
  141. "entity_id": "alarm_control_panel.sector_alarm_01603483",
  142. "state_type": "str",
  143. "state_location": "payload",
  144. "override_payload": "msg",
  145. "entity_location": "data",
  146. "override_data": "msg",
  147. "blockInputOverrides": false,
  148. "x": 390,
  149. "y": 120,
  150. "wires": [
  151. [],
  152. [
  153. "54049b31.b848e4"
  154. ]
  155. ]
  156. },
  157. {
  158. "id": "6237de66.24c83",
  159. "type": "inject",
  160. "z": "53e3269d.5a15d8",
  161. "name": "test",
  162. "topic": "",
  163. "payload": "",
  164. "payloadType": "date",
  165. "repeat": "",
  166. "crontab": "",
  167. "once": false,
  168. "onceDelay": 0.1,
  169. "x": 90,
  170. "y": 200,
  171. "wires": [
  172. [
  173. "54049b31.b848e4"
  174. ]
  175. ]
  176. },
  177. {
  178. "id": "db2c612f.a27cb",
  179. "type": "e-mail",
  180. "z": "53e3269d.5a15d8",
  181. "server": "smtp.gmail.com",
  182. "port": "465",
  183. "secure": true,
  184. "tls": true,
  185. "name": "stian@barmen.nu",
  186. "dname": "mail",
  187. "x": 1030,
  188. "y": 40,
  189. "wires": [],
  190. "info": "Subject: Person i stuen\n\n<!DOCTYPE html>\n<html>\n<body>\n\n<img src=\"https://ha.barmen.nu:8123/local/tensorflow/livingroom_latest.jpg\" alt=\"Livingroom\">\n\n\n</body>\n</html>"
  191. },
  192. {
  193. "id": "c5b66e58.e01f5",
  194. "type": "http request",
  195. "z": "53e3269d.5a15d8",
  196. "name": "livingroom-image",
  197. "method": "GET",
  198. "ret": "bin",
  199. "paytoqs": false,
  200. "url": "https://10.0.0.20:8123/local/tensorflow/stue_latest.jpg",
  201. "tls": "ac1ef16e.4cc71",
  202. "proxy": "",
  203. "authType": "",
  204. "x": 670,
  205. "y": 140,
  206. "wires": [
  207. [
  208. "5da4f1df.2922c",
  209. "db2c612f.a27cb"
  210. ]
  211. ]
  212. },
  213. {
  214. "id": "d8be559b.488d38",
  215. "type": "server-state-changed",
  216. "z": "53e3269d.5a15d8",
  217. "name": "Gardenshed movement?",
  218. "server": "42bee720.8c3248",
  219. "version": 1,
  220. "entityidfilter": "binary_sensor.shedcam_motion_sensor",
  221. "entityidfiltertype": "exact",
  222. "outputinitially": false,
  223. "state_type": "str",
  224. "haltifstate": "off",
  225. "halt_if_type": "str",
  226. "halt_if_compare": "is",
  227. "outputs": 2,
  228. "output_only_on_state_change": true,
  229. "x": 130,
  230. "y": 300,
  231. "wires": [
  232. [],
  233. [
  234. "3ae45772.7a4a58"
  235. ]
  236. ]
  237. },
  238. {
  239. "id": "ffb6a4b5.015578",
  240. "type": "api-current-state",
  241. "z": "53e3269d.5a15d8",
  242. "name": "Check if person",
  243. "server": "f324070d.abe498",
  244. "version": 1,
  245. "outputs": 2,
  246. "halt_if": "0",
  247. "halt_if_type": "num",
  248. "halt_if_compare": "is",
  249. "override_topic": false,
  250. "entity_id": "image_processing.tensorflow_hagebod_forside",
  251. "state_type": "num",
  252. "state_location": "",
  253. "override_payload": "none",
  254. "entity_location": "",
  255. "override_data": "none",
  256. "blockInputOverrides": false,
  257. "x": 480,
  258. "y": 360,
  259. "wires": [
  260. [],
  261. [
  262. "627b727f.efb5fc"
  263. ]
  264. ]
  265. },
  266. {
  267. "id": "3ae45772.7a4a58",
  268. "type": "api-call-service",
  269. "z": "53e3269d.5a15d8",
  270. "name": "Capture image",
  271. "server": "f324070d.abe498",
  272. "version": 1,
  273. "service_domain": "image_processing",
  274. "service": "scan",
  275. "entityId": "image_processing.tensorflow_hagebod_forside",
  276. "data": "",
  277. "dataType": "json",
  278. "mergecontext": "",
  279. "output_location": "",
  280. "output_location_type": "none",
  281. "mustacheAltTags": false,
  282. "x": 280,
  283. "y": 380,
  284. "wires": [
  285. [
  286. "ffb6a4b5.015578"
  287. ]
  288. ]
  289. },
  290. {
  291. "id": "7b28fd1b.c95d14",
  292. "type": "inject",
  293. "z": "53e3269d.5a15d8",
  294. "name": "test",
  295. "topic": "",
  296. "payload": "",
  297. "payloadType": "date",
  298. "repeat": "",
  299. "crontab": "",
  300. "once": false,
  301. "onceDelay": 0.1,
  302. "x": 90,
  303. "y": 380,
  304. "wires": [
  305. [
  306. "3ae45772.7a4a58"
  307. ]
  308. ]
  309. },
  310. {
  311. "id": "627b727f.efb5fc",
  312. "type": "http request",
  313. "z": "53e3269d.5a15d8",
  314. "name": "gardenshed-image",
  315. "method": "GET",
  316. "ret": "bin",
  317. "paytoqs": false,
  318. "url": "https://10.0.0.20:8123/local/tensorflow/hagebod_forside_latest.jpg",
  319. "tls": "ac1ef16e.4cc71",
  320. "proxy": "",
  321. "authType": "",
  322. "x": 670,
  323. "y": 300,
  324. "wires": [
  325. [
  326. "db2c612f.a27cb",
  327. "8f58014e.783a5"
  328. ]
  329. ]
  330. },
  331. {
  332. "id": "8f58014e.783a5",
  333. "type": "api-call-service",
  334. "z": "53e3269d.5a15d8",
  335. "name": "Trigger Motioneye",
  336. "server": "42bee720.8c3248",
  337. "version": 1,
  338. "service_domain": "switch",
  339. "service": "turn_on",
  340. "entityId": "switch.shedcam_motion_trigger",
  341. "data": "",
  342. "dataType": "json",
  343. "mergecontext": "",
  344. "output_location": "",
  345. "output_location_type": "none",
  346. "mustacheAltTags": false,
  347. "x": 910,
  348. "y": 300,
  349. "wires": [
  350. [
  351. "f5c819c0.9a05f8"
  352. ]
  353. ]
  354. },
  355. {
  356. "id": "1c8d06.c9a4b2fa",
  357. "type": "api-call-service",
  358. "z": "53e3269d.5a15d8",
  359. "name": "Trigger Motioneye",
  360. "server": "42bee720.8c3248",
  361. "version": 1,
  362. "service_domain": "switch",
  363. "service": "turn_off",
  364. "entityId": "switch.shedcam_motion_trigger",
  365. "data": "",
  366. "dataType": "json",
  367. "mergecontext": "",
  368. "output_location": "",
  369. "output_location_type": "none",
  370. "mustacheAltTags": false,
  371. "x": 910,
  372. "y": 360,
  373. "wires": [
  374. []
  375. ]
  376. },
  377. {
  378. "id": "259fdea.d99b222",
  379. "type": "inject",
  380. "z": "6699272e.68cc68",
  381. "name": "clean",
  382. "topic": "",
  383. "payload": "",
  384. "payloadType": "date",
  385. "repeat": "",
  386. "crontab": "00 03 * * *",
  387. "once": false,
  388. "onceDelay": 0.1,
  389. "x": 110,
  390. "y": 60,
  391. "wires": [
  392. [
  393. "aea95089.859d8"
  394. ]
  395. ]
  396. },
  397. {
  398. "id": "aea95089.859d8",
  399. "type": "api-call-service",
  400. "z": "6699272e.68cc68",
  401. "name": "Delete",
  402. "server": "f324070d.abe498",
  403. "version": 1,
  404. "service_domain": "shell_command",
  405. "service": "delete_old_tensorflow_images",
  406. "entityId": "shell_command.delete_old_tensorflow_images",
  407. "data": "",
  408. "dataType": "json",
  409. "mergecontext": "",
  410. "output_location": "",
  411. "output_location_type": "none",
  412. "mustacheAltTags": false,
  413. "x": 250,
  414. "y": 60,
  415. "wires": [
  416. []
  417. ]
  418. },
  419. {
  420. "id": "a6ec4414.9291f8",
  421. "type": "server-state-changed",
  422. "z": "6699272e.68cc68",
  423. "name": "Shedcam notifying? ",
  424. "server": "42bee720.8c3248",
  425. "version": 1,
  426. "entityidfilter": "switch.shedcam_motion_notify",
  427. "entityidfiltertype": "exact",
  428. "outputinitially": false,
  429. "state_type": "str",
  430. "haltifstate": "on",
  431. "halt_if_type": "str",
  432. "halt_if_compare": "is",
  433. "outputs": 2,
  434. "output_only_on_state_change": true,
  435. "x": 150,
  436. "y": 120,
  437. "wires": [
  438. [
  439. "e360a1d6.6801e"
  440. ],
  441. []
  442. ]
  443. },
  444. {
  445. "id": "e360a1d6.6801e",
  446. "type": "api-call-service",
  447. "z": "6699272e.68cc68",
  448. "name": "Pause Notify",
  449. "server": "42bee720.8c3248",
  450. "version": 1,
  451. "service_domain": "switch",
  452. "service": "turn_off",
  453. "entityId": "switch.shedcam_motion_notify",
  454. "data": "",
  455. "dataType": "json",
  456. "mergecontext": "",
  457. "output_location": "",
  458. "output_location_type": "none",
  459. "mustacheAltTags": false,
  460. "x": 370,
  461. "y": 120,
  462. "wires": [
  463. []
  464. ]
  465. },
  466. {
  467. "id": "6c03d253.b226fc",
  468. "type": "server-state-changed",
  469. "z": "6699272e.68cc68",
  470. "name": "Livingroom notifying? ",
  471. "server": "42bee720.8c3248",
  472. "version": 1,
  473. "entityidfilter": "switch.livingroomcam_motion_notify",
  474. "entityidfiltertype": "exact",
  475. "outputinitially": false,
  476. "state_type": "str",
  477. "haltifstate": "on",
  478. "halt_if_type": "str",
  479. "halt_if_compare": "is",
  480. "outputs": 2,
  481. "output_only_on_state_change": true,
  482. "x": 160,
  483. "y": 160,
  484. "wires": [
  485. [
  486. "539121ba.909a"
  487. ],
  488. []
  489. ]
  490. },
  491. {
  492. "id": "539121ba.909a",
  493. "type": "api-call-service",
  494. "z": "6699272e.68cc68",
  495. "name": "Pause Notify",
  496. "server": "42bee720.8c3248",
  497. "version": 1,
  498. "service_domain": "switch",
  499. "service": "turn_off",
  500. "entityId": "switch.livingroomcam_motion_notify",
  501. "data": "",
  502. "dataType": "json",
  503. "mergecontext": "",
  504. "output_location": "",
  505. "output_location_type": "none",
  506. "mustacheAltTags": false,
  507. "x": 370,
  508. "y": 160,
  509. "wires": [
  510. []
  511. ]
  512. },
  513. {
  514. "id": "f5c819c0.9a05f8",
  515. "type": "stoptimer",
  516. "z": "53e3269d.5a15d8",
  517. "duration": "15",
  518. "units": "Second",
  519. "payloadtype": "num",
  520. "payloadval": "0",
  521. "name": "",
  522. "x": 710,
  523. "y": 360,
  524. "wires": [
  525. [
  526. "1c8d06.c9a4b2fa"
  527. ],
  528. []
  529. ]
  530. },
  531. {
  532. "id": "5da4f1df.2922c",
  533. "type": "api-call-service",
  534. "z": "53e3269d.5a15d8",
  535. "name": "Trigger Motioneye",
  536. "server": "42bee720.8c3248",
  537. "version": 1,
  538. "service_domain": "switch",
  539. "service": "turn_on",
  540. "entityId": "switch.livingroomcam_motion_trigger",
  541. "data": "",
  542. "dataType": "json",
  543. "mergecontext": "",
  544. "output_location": "",
  545. "output_location_type": "none",
  546. "mustacheAltTags": false,
  547. "x": 910,
  548. "y": 140,
  549. "wires": [
  550. [
  551. "28d48c33.b9ea94"
  552. ]
  553. ]
  554. },
  555. {
  556. "id": "28d48c33.b9ea94",
  557. "type": "stoptimer",
  558. "z": "53e3269d.5a15d8",
  559. "duration": "15",
  560. "units": "Second",
  561. "payloadtype": "num",
  562. "payloadval": "0",
  563. "name": "",
  564. "x": 710,
  565. "y": 200,
  566. "wires": [
  567. [
  568. "f1c13d09.71336"
  569. ],
  570. []
  571. ]
  572. },
  573. {
  574. "id": "f1c13d09.71336",
  575. "type": "api-call-service",
  576. "z": "53e3269d.5a15d8",
  577. "name": "Trigger Motioneye",
  578. "server": "42bee720.8c3248",
  579. "version": 1,
  580. "service_domain": "switch",
  581. "service": "turn_off",
  582. "entityId": "switch.livingroomcam_motion_trigger",
  583. "data": "",
  584. "dataType": "json",
  585. "mergecontext": "",
  586. "output_location": "",
  587. "output_location_type": "none",
  588. "mustacheAltTags": false,
  589. "x": 910,
  590. "y": 200,
  591. "wires": [
  592. []
  593. ]
  594. }
  595. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement