Skip to content

Instantly share code, notes, and snippets.

@schnello
schnello / 3dprintflow.txt
Created April 16, 2019 11:53
nodered flow for octoprint
[{"id":"4bedb5dd.1b0e8c","type":"change","z":"9d5bc26c.e42c8","name":"Set Progress 0","rules":[{"t":"set","p":"payload.progress.completion","pt":"msg","to":"0","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":820,"y":300,"wires":[["e7dc5b91.a12e18"]]},{"id":"cea131b0.44184","type":"ui_template","z":"9d5bc26c.e42c8","group":"e2bbaa5d.0c6bf8","name":"Video Frame","order":1,"width":"10","height":"10","format":"<img width=\"16\" height=\"16\" src=\"{{flow.payload.webcam.on}}\" />","storeOutMessages":false,"fwdInMessages":true,"templateScope":"local","x":290,"y":580,"wires":[[]]},{"id":"8f572379.1bf63","type":"http request","z":"9d5bc26c.e42c8","name":"","method":"use","ret":"txt","url":"","tls":"","x":550,"y":60,"wires":[["27be8cd7.507f94"]]},{"id":"7bfde874.9bb6d8","type":"ui_gauge","z":"9d5bc26c.e42c8","name":"","group":"146f3617.73b19a","order":4,"width":"0","height":"0","gtype":"gage","title":"Heatbed","label":"","format":"{{msg.payload.temperature.bed.actual}}°C","min":0,"max":"110",
ffmpeg -r 2 -f image2 -start_number 1657 -i img%04d.jpg zeitraffer.mp4