@blokcert/node-red-azure-storage

1.1.3 • Public • Published

node-red-azure-storage

Introduction

node-red-azure-storage is a collection of nodes that perform uploading and downloading blob file from Microsoft Azure Blob Storage.

Installation

npm install @intres/node-red-azure-storage

History

1.1.0

  • Create a Config Node to store connection configuration, including Account Name and Key.
  • Fix the output message to retain the input message (_msgid and msg).
  • Include the fileurl in the Upload node's output message.

Project Information

This project is a modified version of the @intres/node-red-azure-storage. The original project was an application for Azure Blob Storage Upload/Doownload, and I've made some adjustments to it to fit specific requirements.

The original project is licensed under the MIT License, and my modifications to the code also follow that license.

Original Author

About us

The Blokcert Technology Inc. Blokcert Technology Inc. was founded in 2018. Originally focused on software services and energy consulting, the company expanded into the electric vehicle charging market development in 2021. Operating under the brand "Area Fast Charge," we aim to accelerate the growth of the electric vehicle trend by providing top-notch charging services.

The Internet of Things Research (INTRES) Group at the University of Washington Tacoma (UWT) developed and maintains this package to promote Internet of Things (IoT) research and teaching. This package seeks to accelerate the adoption of IoT concepts by developing a simple mechanism to increase the productivity of researchers, software engineers, developers, and data scientists.

Example usage of Upload node

The example flow is shown as follows:

Upload example flow

  1. Drag the Upload node from section azure-blob-storage.
  2. In the editor section, select which mode to use and complete required inputs. The example below shows what the inputs should look like. In this example, under file mode, the Upload node will try to locate the file /Users/tsungjui/.node-red/music.wav, upload it to Azure Blob Storage, under container test and name the blob hello.wav.

Upload node configuration

  1. Click Deploy in the top right corner.
  2. Fire the inject node, and a response should be presented in the node-red debug tab. Upload response

Example usage of Download node

The example flow is shown as follows:

Download example flow

In this example, we will download the blob hello.wav uploaded in the above example as binary content, and upload that binary content to the container test, and name the blob hello1.wav using Upload node binary mode.

  1. Drag Upload and Download node from section azure-blob-storage.

  2. In the Download node's editor section, complete all the required inputs. In this example, we will try to download the blob named hello.wav in container test as binary content(by selecting binary mode).

    Download node configuration

  3. In the Upload node's editor section, complete all the required inputs. In this example, the node will take msg.payload from Download node and upload that binary content to the same container test, but name it to hello1.wav.

    Upload binary configuration

Disclaimer

INTRES and UWT are not responsible for the usage or utilization of these packages. They are meant to promote IoT research and education. IoT service providers may require additional verification steps to utilize the features outlined in these packages. We are not in any way responsible for the misuse of these packages. For more details on the service agreement and terms, please click here.

Package Sidebar

Install

npm i @blokcert/node-red-azure-storage

Weekly Downloads

8

Version

1.1.3

License

MIT

Unpacked Size

25.9 kB

Total Files

10

Last publish

Collaborators

  • caspar.wei