Hello,
I am trying to understand the best way to upload an audio file using the dashboard to be able to save to the local system running Node-RED.
I am running the latest version of Node-RED (v3.0.0) on a Raspberry Pi 4. I would like the user to have a traditional upload interface that allows them to upload an audio file that I can then send to a write file
node to store locally on the Pi.
I have used the node-red-contrib-ui-upload
node to do this successfully but in my opinion the presentation is not what I am after.
I have followed some other examples I have found on the forum but the end result creates an empty .wav file. Most of these examples involve using http and a ui-template
node.
I have attached my flow below that has made the most progress. In this flow I am able to upload and retrieve the file, but it appears only the filename is retrieved. A .wav file is created, but trying to open it results in an empty VLC player window.
I saw this post on the forum which seems simple enough, but I am doing something wrong. Thank you for the help!