[{“id”:“85dcda3beabccda7”,“type”:“tab”,“label”:“Поток 1”,“disabled”:false,“info”:"",“env”:[]},{“id”:“5c4ea15986767c0a”,“type”:“mqtt in”,“z”:“85dcda3beabccda7”,“d”:true,“name”:“Frigate”,“topic”:“frigate/events”,“qos”:“2”,“datatype”:“json”,“broker”:“1585b4ea309e07e0”,“nl”:false,“rap”:false,“inputs”:0,“x”:90,“y”:120,“wires”:[[“2e62afc341b4a8a8”]]},{“id”:“ae90b92bd306a315”,“type”:“change”,“z”:“85dcda3beabccda7”,“name”:“Extract Data”,“rules”:[{“t”:“set”,“p”:“eventid”,“pt”:“msg”,“to”:“payload.after.id”,“tot”:“jsonata”},{“t”:“set”,“p”:“camera”,“pt”:“msg”,“to”:“payload.after.camera”,“tot”:“jsonata”},{“t”:“set”,“p”:“object”,“pt”:“msg”,“to”:“payload.after.label”,“tot”:“jsonata”},{“t”:“set”,“p”:“zone1”,“pt”:“msg”,“to”:“payload.after.entered_zones[0]”,“tot”:“jsonata”},{“t”:“set”,“p”:“filename”,“pt”:“msg”,“to”:""/media/frigate/thumbs/" & msg.zone1 & “/” & msg.object & “/” & msg.mydt & “-” & msg.camera & “-” & msg.eventid & “.jpg”",“tot”:“jsonata”},{“t”:“set”,“p”:“url”,“pt”:“msg”,“to”:"“http://192.168.1.134:5000/api/events/” & msg.eventid & “/thumbnail.jpg”\t",“tot”:“jsonata”}],“action”:"",“property”:"",“from”:"",“to”:"",“reg”:false,“x”:430,“y”:120,“wires”:[[“86abd48abd25fb73”]]},{“id”:“487842f86e3f08dc”,“type”:“file”,“z”:“85dcda3beabccda7”,“name”:“Save Image”,“filename”:“filename”,“filenameType”:“msg”,“appendNewline”:false,“createDir”:true,“overwriteFile”:“true”,“encoding”:“none”,“x”:150,“y”:200,“wires”:[[“d2a5fac594becdfb”,“56eb19a28f22c9d9”]]},{“id”:“2e62afc341b4a8a8”,“type”:“moment”,“z”:“85dcda3beabccda7”,“name”:“Nice Date & Time”,“topic”:"",“input”:“frame_time”,“inputType”:“msg”,“inTz”:“Australia/Perth”,“adjAmount”:“0”,“adjType”:“days”,“adjDir”:“add”,“format”:“YYYY-MM-DD_HHmm”,“locale”:“C”,“output”:“mydt”,“outputType”:“msg”,“outTz”:“Australia/Perth”,“x”:250,“y”:120,“wires”:[[“ae90b92bd306a315”]]},{“id”:“86abd48abd25fb73”,“type”:“http request”,“z”:“85dcda3beabccda7”,“name”:"",“method”:“GET”,“ret”:“bin”,“paytoqs”:“ignore”,“url”:"",“tls”:"",“persist”:false,“proxy”:"",“insecureHTTPParser”:false,“authType”:“basic”,“senderr”:false,“headers”:[],“credentials”:{“user”:"",“password”:""},“x”:590,“y”:120,“wires”:[[“487842f86e3f08dc”]]},{“id”:“d2a5fac594becdfb”,“type”:“image”,“z”:“85dcda3beabccda7”,“name”:"",“width”:160,“data”:“payload”,“dataType”:“msg”,“thumbnail”:false,“active”:true,“pass”:false,“outputs”:0,“x”:340,“y”:280,“wires”:[]},{“id”:“56eb19a28f22c9d9”,“type”:“function”,“z”:“85dcda3beabccda7”,“name”:“function 10”,“func”:“msg.payload = {\n content: msg.payload, //the image buffer caption: There’s someone in the frontyard. `,\n type: ‘photo’,\n chatId: 1112277522\n\n}\nmsg.payload.options = { parse_mode: “Markdown” };\nreturn msg;”,“outputs”:1,“noerr”:0,“initialize”:"",“finalize”:"",“libs”:[],“x”:340,“y”:200,“wires”:[[]]},{“id”:“1585b4ea309e07e0”,“type”:“mqtt-broker”,“name”:"",“broker”:“192.168.1.134”,“port”:“1883”,“clientid”:"",“autoConnect”:true,“usetls”:false,“protocolVersion”:“4”,“keepalive”:“60”,“cleansession”:true,“birthTopic”:"",“birthQos”:“0”,“birthPayload”:"",“birthMsg”:{},“closeTopic”:"",“closeQos”:“0”,“closePayload”:"",“closeMsg”:{},“willTopic”:"",“willQos”:“0”,“willPayload”:"",“willMsg”:{},“userProps”:"",“sessionExpiry”:""}]