Advertisement
Guest User

HA/TensorFlow Node-Red

a guest
Apr 14th, 2019
687
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.68 KB | None | 0 0
  1. [
  2.     {
  3.         "id": "4c013983.bf9268",
  4.         "type": "tab",
  5.         "label": "Image Processing",
  6.         "disabled": false,
  7.         "info": ""
  8.     },
  9.     {
  10.         "id": "5f383990.9f7b18",
  11.         "type": "api-current-state",
  12.         "z": "4c013983.bf9268",
  13.         "name": "Check if  home",
  14.         "server": "ad7854a1.e84738",
  15.         "outputs": 2,
  16.         "halt_if": "home",
  17.         "halt_if_type": "str",
  18.         "halt_if_compare": "is",
  19.         "override_topic": false,
  20.         "entity_id": "person.josiah",
  21.         "state_type": "str",
  22.         "state_location": "payload",
  23.         "override_payload": "msg",
  24.         "entity_location": "data",
  25.         "override_data": "msg",
  26.         "x": 390,
  27.         "y": 160,
  28.         "wires": [
  29.             [
  30.                 "ab839627.017388"
  31.             ],
  32.             []
  33.         ]
  34.     },
  35.     {
  36.         "id": "bd5f3127.e4297",
  37.         "type": "server-state-changed",
  38.         "z": "4c013983.bf9268",
  39.         "name": "Is there movement?",
  40.         "server": "ad7854a1.e84738",
  41.         "entityidfilter": "binary_sensor.office_motion",
  42.         "entityidfiltertype": "exact",
  43.         "outputinitially": false,
  44.         "state_type": "str",
  45.         "haltifstate": "off",
  46.         "halt_if_type": "str",
  47.         "halt_if_compare": "is",
  48.         "outputs": 2,
  49.         "output_only_on_state_change": true,
  50.         "x": 190,
  51.         "y": 170,
  52.         "wires": [
  53.             [
  54.                 "5f383990.9f7b18"
  55.             ],
  56.             [
  57.                 "791d7b0b.fd2634"
  58.             ]
  59.         ]
  60.     },
  61.     {
  62.         "id": "5725b28a.f295cc",
  63.         "type": "api-call-service",
  64.         "z": "4c013983.bf9268",
  65.         "name": "Send image capture",
  66.         "server": "ad7854a1.e84738",
  67.         "service_domain": "telegram_bot",
  68.         "service": "send_photo",
  69.         "data": "{    \"file\": \"/config/www/tensorflow/loft_camera_latest.jpg\",    \"target\": \"756458203\",    \"caption\": \"Suspicious activity has been detected in the office\"}",
  70.         "mergecontext": "",
  71.         "output_location": "",
  72.         "output_location_type": "none",
  73.         "x": 850,
  74.         "y": 170,
  75.         "wires": [
  76.             []
  77.         ]
  78.     },
  79.     {
  80.         "id": "ab839627.017388",
  81.         "type": "api-current-state",
  82.         "z": "4c013983.bf9268",
  83.         "name": "Check if person",
  84.         "server": "ad7854a1.e84738",
  85.         "outputs": 2,
  86.         "halt_if": "0",
  87.         "halt_if_type": "num",
  88.         "halt_if_compare": "is",
  89.         "override_topic": false,
  90.         "entity_id": "image_processing.tensorflow_loft_camera",
  91.         "state_type": "num",
  92.         "state_location": "",
  93.         "override_payload": "none",
  94.         "entity_location": "",
  95.         "override_data": "none",
  96.         "x": 620,
  97.         "y": 160,
  98.         "wires": [
  99.             [
  100.                 "5725b28a.f295cc"
  101.             ],
  102.             []
  103.         ]
  104.     },
  105.     {
  106.         "id": "791d7b0b.fd2634",
  107.         "type": "api-call-service",
  108.         "z": "4c013983.bf9268",
  109.         "name": "Capture image",
  110.         "server": "ad7854a1.e84738",
  111.         "service_domain": "image_processing",
  112.         "service": "scan",
  113.         "data": "{\"entity_id\":\"image_processing.tensorflow_loft_camera\"}",
  114.         "mergecontext": "",
  115.         "output_location": "",
  116.         "output_location_type": "none",
  117.         "x": 410,
  118.         "y": 250,
  119.         "wires": [
  120.             []
  121.         ]
  122.     },
  123.     {
  124.         "id": "ad7854a1.e84738",
  125.         "type": "server",
  126.         "z": "",
  127.         "name": "Home Assistant",
  128.         "legacy": false,
  129.         "hassio": false,
  130.         "rejectUnauthorizedCerts": true,
  131.         "ha_boolean": "y|yes|true|on|home|open"
  132.     }
  133. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement