node-red-contrib-matrixbot/docs/flows.json

1 line
1.9 KiB
JSON
Raw Normal View History

2021-01-25 05:38:13 +08:00
[{"id":"f6f2187d.f17ca8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"3cc11d24.ff01a2","type":"comment","z":"f6f2187d.f17ca8","name":"WARNING: please check you have started this container with a volume that is mounted to /data\\n otherwise any flow changes are lost when you redeploy or upgrade the container\\n (e.g. upgrade to a more recent node-red docker image).\\n If you are using named volumes you can ignore this warning.","info":"WARNING: please check you have started this container with a volume that is mounted to `/data` otherwise any flow changes are lost when you redeploy or upgrade the container\\n (e.g. upgrade to a more recent node-red docker image).\n","x":350,"y":80,"wires":[]},{"id":"63d26bfc.c11584","type":"watch","z":"f6f2187d.f17ca8","name":"","files":"/data/cctv-images/","recursive":"","x":150,"y":340,"wires":[["4e1e408.20125c"]]},{"id":"27af3102.63c79e","type":"matrix file sender","z":"f6f2187d.f17ca8","name":"","bot":"df103a9b.bfd528","x":850,"y":380,"wires":[]},{"id":"3ccc8108.a33f1e","type":"debug","z":"f6f2187d.f17ca8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":590,"y":300,"wires":[]},{"id":"449dee3c.f08d2","type":"rbe","z":"f6f2187d.f17ca8","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":570,"y":380,"wires":[["27af3102.63c79e"]]},{"id":"4e1e408.20125c","type":"switch","z":"f6f2187d.f17ca8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"/data/cctv-images/cctv-images","vt":"str"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":370,"y":340,"wires":[["3ccc8108.a33f1e"],["449dee3c.f08d2"]]},{"id":"df103a9b.bfd528","type":"matrix bot","name":"","room":"<room-id-here>","userId":"<user-id-here>","accessToken":"<access-token-here>","matrixServerURL":"http://synapse:8008"}]