因为要用到 三木大佬的监控动态通知,要把生成的gif 暴露到网上,要用到Nginx,但是,我懒得整,所以简单写了一个节点,把资源暴露出来,没有具体深入测试,有需要可以试试。
节点包:
node-red-contrib-source-web
示例:
[{"id":"b6625b48.bb71d8","type":"tab","label":"流程6","disabled":false,"info":""},{"id":"a369719d.7c7ef","type":"source-web","z":"b6625b48.bb71d8","name":"","webconfig":"6d667dc3.8ba054","x":760,"y":280,"wires":[[]]},{"id":"6d667dc3.8ba054","type":"web-config","z":"","name":"9007","port":"9007","path":"/data/camera"}]