Node.js app to move your camera to presets

ThomWi

n3wb
Joined
Feb 24, 2018
Messages
21
Reaction score
11
ThomPatterson/camera-preset-service

For the developers out there. I built the above service in Node.js to be able to move my camera to an existing preset. You can optionally have the camera move back to where it was after a specified number of seconds. This should work with any ONVIF enabled PTZ camera.

My use case: I have this running in a docker container (also found in the above repo) on my NAS. I also have Homebridge running on the NAS with the HTTP-Switch plugin. With this setup I am able to create a "switch" in Apple HomeKit, that when clicked causes the camera to move to a preset, and then move back some time later. I then have a HomeKit automation setup such that when my motion sensor is tripped, the flood lights come on, and the camera swings over to see what's going on.

So far no burglars, but this did catch a possum lsat night :D
 

ThomWi

n3wb
Joined
Feb 24, 2018
Messages
21
Reaction score
11
Further tip for anyone using Homebridge. The IP-Camera plugin lets you expose the feed from your camera in HomeKit. Unfortunately it does a somewhat lousy reencode, but it does work.
 
Top