0.0.39 • Published 4 years ago

node-red-contrib-camerapi v0.0.39

Weekly downloads
221
License
Apache-2.0
Repository
github
Last release
4 years ago

node-red-contrib-camerapi

A Node-RED node to take photos on a Raspberry Pi. This node will only work on an Raspberry Pi with a Raspberry Pi Camera enabled.

Installation

Run the following command in the root directory of your Node-RED install or home directory (usually ~/.node-red) and will also install needed libraries.

        npm install node-red-contrib-camerapi

Additionally you have to install on the Raspberry Pi

First you have to install a Raspberry Pi Camera physically and don't forget to enable the Camera in raspi-config. See Pi Camera setup. Also check if you have installed the picamera module for python.

        sudo apt-get update
        sudo apt-get install python-picamera python3-picamera

If you are using the default path during the fileoption set - the path /home/pi/Pictures will be used.

Runtime information

This node is tested on RASPBIAN (buster), Nodejs V12.x LTS and NPM 6.x on Node-Red 1.0.6

Usage

TakePhoto

This node is to take a photo in a given format directly from the Raspberry Pi Camera. Using the Filemode the image of the photo is stored into the file-system and msg.payload will give you the path and the filename including extension to the photo. In Buffermode the image will reside as a buffer in msg.payload. For the possible parameters see documentation under picamera parameter settings.

0.0.39

4 years ago

0.0.38

6 years ago

0.0.37

6 years ago

0.0.36

6 years ago

0.0.35

7 years ago

0.0.34

7 years ago

0.0.33

7 years ago

0.0.32

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.23

8 years ago