Sorry for the late reply but I was on an longer business trip.
[{“id”:“b5626db9.79af9”,“type”:“http in”,“z”:“636198cf.864788”,“name”:“”,“url”:“/detect”,“method”:“post”,“upload”:true,“swaggerDoc”:“”,“x”:130,“y”:90,“wires”:[[“928aeb8.3a6ad18”,“bca47a46.d4be58”]]},{“id”:“928aeb8.3a6ad18”,“type”:“change”,“z”:“636198cf.864788”,“name”:“”,“rules”:[{“t”:“set”,“p”:“payload”,“pt”:“msg”,“to”:“req.url”,“tot”:“msg”}],“action”:“”,“property”:“”,“from”:“”,“to”:“”,“reg”:false,“x”:340,“y”:90,“wires”:[[“e09378ba.dc0ed8”]]},{“id”:“bca47a46.d4be58”,“type”:“debug”,“z”:“636198cf.864788”,“name”:“”,“active”:false,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“true”,“x”:310,“y”:50,“wires”:},{“id”:“e09378ba.dc0ed8”,“type”:“string”,“z”:“636198cf.864788”,“name”:“”,“methods”:[{“name”:“getRightMost”,“params”:[{“type”:“str”,“value”:“output/”}]}],“prop”:“payload”,“propout”:“payload”,“object”:“msg”,“objectout”:“msg”,“x”:500,“y”:90,“wires”:[[“1a28684c.da8718”]]},{“id”:“9fc524e9.57a358”,“type”:“inject”,“z”:“636198cf.864788”,“name”:“”,“topic”:“”,“payload”:“”,“payloadType”:“date”,“repeat”:“”,“crontab”:“”,“once”:false,“onceDelay”:0.1,“x”:130,“y”:130,“wires”:[[“928aeb8.3a6ad18”]]},{“id”:“1a28684c.da8718”,“type”:“change”,“z”:“636198cf.864788”,“name”:“file”,“rules”:[{“t”:“set”,“p”:“file”,“pt”:“flow”,“to”:“…/motionEye/xxxx”,“tot”:“str”},{“t”:“change”,“p”:“file”,“pt”:“flow”,“from”:“xxxx”,“fromt”:“str”,“to”:“payload”,“tot”:“msg”},{“t”:“set”,“p”:“filename”,“pt”:“msg”,“to”:“file”,“tot”:“flow”},{“t”:“set”,“p”:“payload”,“pt”:“msg”,“to”:“file”,“tot”:“flow”},{“t”:“set”,“p”:“url”,“pt”:“msg”,“to”:“file”,“tot”:“flow”},{“t”:“delete”,“p”:“topic”,“pt”:“msg”}],“action”:“”,“property”:“”,“from”:“”,“to”:“”,“reg”:false,“x”:620,“y”:90,“wires”:[[“ef371c1f.8f5c48”]]},{“id”:“ef371c1f.8f5c48”,“type”:“q-gate”,“z”:“636198cf.864788”,“name”:“M-Queue”,“controlTopic”:“control”,“defaultState”:“open”,“openCmd”:“open”,“closeCmd”:“close”,“toggleCmd”:“toggle”,“queueCmd”:“queue”,“defaultCmd”:“default”,“triggerCmd”:“trigger”,“flushCmd”:“flush”,“resetCmd”:“reset”,“maxQueueLength”:“5”,“keepNewest”:false,“x”:790,“y”:90,“wires”:[[“17734516.d2097b”,“b2951f30.6ca1a”]]},{“id”:“17734516.d2097b”,“type”:“change”,“z”:“636198cf.864788”,“name”:“queue”,“rules”:[{“t”:“set”,“p”:“payload”,“pt”:“msg”,“to”:“queue”,“tot”:“str”},{“t”:“set”,“p”:“topic”,“pt”:“msg”,“to”:“control”,“tot”:“str”}],“action”:“”,“property”:“”,“from”:“”,“to”:“”,“reg”:false,“x”:970,“y”:90,“wires”:[[“ef371c1f.8f5c48”]]},{“id”:“b2951f30.6ca1a”,“type”:“string”,“z”:“636198cf.864788”,“name”:“”,“methods”:[{“name”:“getRightMost”,“params”:[{“type”:“str”,“value”:“.”}]}],“prop”:“filename”,“propout”:“payload”,“object”:“msg”,“objectout”:“msg”,“x”:330,“y”:210,“wires”:[[“bdfbf7e9.958da8”,“95833bc8.6f8218”]]},{“id”:“b620cd28.897768”,“type”:“change”,“z”:“636198cf.864788”,“name”:“trigger”,“rules”:[{“t”:“set”,“p”:“payload”,“pt”:“msg”,“to”:“queue”,“tot”:“flow”},{“t”:“set”,“p”:“topic”,“pt”:“msg”,“to”:“control”,“tot”:“str”}],“action”:“”,“property”:“”,“from”:“”,“to”:“”,“reg”:false,“x”:800,“y”:180,“wires”:[[“ef371c1f.8f5c48”]]},{“id”:“bdfbf7e9.958da8”,“type”:“switch”,“z”:“636198cf.864788”,“name”:“”,“property”:“payload”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“jpg”,“vt”:“str”},{“t”:“eq”,“v”:“mp4”,“vt”:“str”},{“t”:“eq”,“v”:“mkv”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:3,“x”:490,“y”:210,“wires”:[[“e8888be5.2aaf38”],[“f54c88ef.115a38”],[“f54c88ef.115a38”]]},{“id”:“95833bc8.6f8218”,“type”:“debug”,“z”:“636198cf.864788”,“name”:“”,“active”:true,“tosidebar”:true,“console”:false,“tostatus”:false,“complete”:“true”,“x”:490,“y”:260,“wires”:},{“id”:“e8888be5.2aaf38”,“type”:“change”,“z”:“636198cf.864788”,“name”:“pic”,“rules”:[{“t”:“set”,“p”:“picture”,“pt”:“global”,“to”:“payload”,“tot”:“msg”},{“t”:“set”,“p”:“caption”,“pt”:“global”,“to”:“filename”,“tot”:“msg”}],“action”:“”,“property”:“”,“from”:“”,“to”:“”,“reg”:false,“x”:660,“y”:200,“wires”:[[“c687e392.5d9f2”,“b620cd28.897768”]]},{“id”:“f54c88ef.115a38”,“type”:“change”,“z”:“636198cf.864788”,“name”:“vid”,“rules”:[{“t”:“set”,“p”:“video”,“pt”:“global”,“to”:“payload”,“tot”:“msg”},{“t”:“set”,“p”:“caption”,“pt”:“global”,“to”:“filename”,“tot”:“msg”}],“action”:“”,“property”:“”,“from”:“”,“to”:“”,“reg”:false,“x”:660,“y”:230,“wires”:[[“5e3e02c0.50fb3c”,“b620cd28.897768”]]},{“id”:“92544308.8e67f”,“type”:“inject”,“z”:“636198cf.864788”,“name”:“”,“topic”:“”,“payload”:“”,“payloadType”:“date”,“repeat”:“”,“crontab”:“”,“once”:false,“onceDelay”:0.1,“x”:650,“y”:170,“wires”:[[“b620cd28.897768”]]},{“id”:“c687e392.5d9f2”,“type”:“link out”,“z”:“636198cf.864788”,“name”:“”,“links”:[“8657281d.7cbcb8”],“x”:865,“y”:210,“wires”:},{“id”:“5e3e02c0.50fb3c”,“type”:“link out”,“z”:“636198cf.864788”,“name”:“”,“links”:[“423e77f4.d1a7c8”],“x”:865,“y”:240,“wires”:}]
Please let me know if you have any more questions. I hope this will help
I have a second camera for which I don’t save the picture and just getting a notification when a motion was detected !