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
.
stream
will constantly upload images to the rootmonitor
will continuously capture images and calculate motion, when sufficient motion occurs, it will create an "event" and send that to the root.
{
"type": "picamera"
}
{
"type": "fswebcam",
}
{
"type": "cvcamera",
"url": 0
}
{
"type": "ftpcamera",
"username": "user",
"password": "12345"
}
{
"type": "insteon-75790",
"ip": "CAMERA IP",
"username": "admin",
"password": ""
}