-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathftpToMovidius.formatted.json
114 lines (114 loc) · 3.11 KB
/
ftpToMovidius.formatted.json
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
[
{
"id": "b5d13c2b.ed0aa",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "bede6a16.5be988",
"type": "ftp-server",
"z": "b5d13c2b.ed0aa",
"name": "Pi3ncs ftp server",
"port": "31415",
"x": 120,
"y": 120,
"wires": [
[
"b534867f.0bb298"
]
]
},
{
"id": "387adf46.25154",
"type": "debug",
"z": "b5d13c2b.ed0aa",
"name": "",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"x": 430,
"y": 60,
"wires": []
},
{
"id": "b534867f.0bb298",
"type": "rbe",
"z": "b5d13c2b.ed0aa",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"property": "topic",
"x": 270,
"y": 120,
"wires": [
[
"d1f02b47.9636d8",
"387adf46.25154"
]
]
},
{
"id": "d1f02b47.9636d8",
"type": "mqtt out",
"z": "b5d13c2b.ed0aa",
"name": "Motioneye filename",
"topic": "",
"qos": "0",
"retain": "false",
"broker": "ae3cbbdf.a36858",
"x": 520,
"y": 120,
"wires": []
},
{
"id": "6ee9c53b.f0437c",
"type": "comment",
"z": "b5d13c2b.ed0aa",
"name": "ftp server to Movidius NCS AI",
"info": "Accept an image from a security DVR via ftp and pass it via MQTT to a python script that runs the Movidius AI object dector for finding a \"person\" in the image.\n\nCould it be simpler?\n\nI might be abusing the MQTT topic hierarchy to pass int he file path and name, but that is the beuaty of MQTT smart topic choices initially can save a lot of work later!\n",
"x": 180,
"y": 60,
"wires": []
},
{
"id": "b7b191c8.d3a93",
"type": "comment",
"z": "b5d13c2b.ed0aa",
"name": "pi3ncs as wifi AP",
"info": "I've configured this Pi3 to be a wifi access point\n\nIt IP is 10.2.141.1\n\nSSID: raspi-webgui WPA2-PSK: SetMe!toYours\n\nMotioneye may need to have the ftp server reconfigured.\n",
"x": 140,
"y": 260,
"wires": []
},
{
"id": "ae3cbbdf.a36858",
"type": "mqtt-broker",
"z": "",
"name": "",
"broker": "localhost",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": true,
"keepalive": "60",
"cleansession": true,
"birthTopic": "Motioneye",
"birthQos": "2",
"birthRetain": "true",
"birthPayload": "Modivius ftp server is running.",
"closeTopic": "Motioneye",
"closeQos": "2",
"closeRetain": "true",
"closePayload": "Modivis ftp server is stopped.",
"willTopic": "Motioneye",
"willQos": "2",
"willRetain": "true",
"willPayload": "Modivus ftp server has crashed!"
}
]