node-red-contrib-diego

1.0.0 • Public • Published

Node-RED Contrib Diego

Node-RED nodes for browser functionality such as file upload, camera & microphone.

Install

Run the following command in the root directory of your Node-RED install:

npm install node-red-contrib-diego

Usage

Camera

The browser takes a picture with the default camera when the button next to the node is clicked. The node outputs it as a JPEG buffer.

The camera node has a 2000ms delay to prevent slow camera driver startup causing an issue in some browsers.

Microphone

The browser starts recording after the button next to the node is clicked and stops it when the button is clicked again. The node outputs it as a WAV buffer.

File upload

The node accepts a file to be uploaded and outputs it as a buffer.

Dependents (0)

Package Sidebar

Install

npm i node-red-contrib-diego

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

42.4 kB

Total Files

13

Last publish

Collaborators

  • dsarafim