Skip to content

A Node-RED node that interacts with ip cameras using the ONVIF protocol

License

Notifications You must be signed in to change notification settings

razvanstanga/node-red-contrib-onvif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-red-contrib-onvif

A Node-RED node that interacts with ip cameras using the ONVIF protocol.

Install

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

npm install node-red-contrib-onvif

Flows usage

Input

msg.payload = {
    url: "", // IP camera URL
    username: "", // IP camera username
    password: "", // IP camera password
    resize: {
        width: 800 // resize by width or height
    }
}

Output

msg.payload = {
    image: {
        "base64": "", // Base64 encoded image
        "binary": "", // Binary image
    }
}

Dashboard Usage

ONVIF Snapshot returns msg.payload in the form of a base64 encoded image to use with a Node-RED Dashboard template

<img src="{{ msg.payload.image.base64 }}">

About

A Node-RED node that interacts with ip cameras using the ONVIF protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published