Skip to content

Latest commit

 

History

History
80 lines (62 loc) · 1.1 KB

CAMERAS.md

File metadata and controls

80 lines (62 loc) · 1.1 KB

Setup: Cameras

A Camera Device

Config

Add a camera to a node by editing

...,
"devices": [],
...

to

...,
"devices": [{
	"type": "CAMERA TYPE",
	"width": OPTIONAL (1920),
	"height": OPTIONAL (1080),
	"mode": OPTIONAL ("monitor", "stream"),
	"motion": OPTIONAL ('auto', 0-1000)
}],
...

Make sure to delete or edit the fields labeled OPTIONAL.

Modes

  • stream will constantly upload images to the root
  • monitor will continuously capture images and calculate motion, when sufficient motion occurs, it will create an "event" and send that to the root.

Camera Types

PiCamera

{
	"type": "picamera"
}

FSWebcam

{
	"type": "fswebcam",
}

OpenCV Camera

{
	"type": "cvcamera",
	"url": 0
}

FTP Camera

{
	"type": "ftpcamera",
	"username": "user",
	"password": "12345"
}
{
	"type": "insteon-75790",
	"ip": "CAMERA IP",
	"username": "admin",
	"password": ""
}