Hi folks,
I bought a few camera's recently, and I wanted to have an 'easy' way to store the camera's recording on the SSD drive of my Raspberry. Since most camera's can behave like an FTP client, I decided to integrate an FTP server into Node-RED.
I could have installed a full-blown third-party FTP server, but most of you meanwhile know that my DNA forces me to have as much integrated into Node-RED as possible. So I would prefer not to discuss alternative ftp servers in this discussion...
So I developed the node-red-contrib-ftp-server-ext node
It is not published on NPM yet. But in case you want to test it, you can install it - when you have git installed - directly from my Github repository (from within your .node-red folder):
npm install bartbutenaers/node-red-contrib-ftp-server-ext
This way it becomes very easy to tell my IP camera to store its recorded MP4 files (after e.g. motion has been detected by the camera) on the SSD drive of my Raspberry:
As always, all "constructive" feedback is very welcome!!
Remarks:
- For those wondering why I didn't simply contribute to the existing node-red-contrib-ftp-server node: although the author seems to be doing a "very" good job to maintain his node, that node is build on top of the @svrooij/ftpd package, which is a very limited and unmaintained FTP server package...
- I have not been able to test the FTPS scenario completely due to lack of free time. And since my cam does seem to support FTP and SFTP but not FTPS, I had other priorities...
Bart