Node.js app to move your camera to presets

ThomWi

n3wb
Feb 24, 2018
21
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
 
  • Like
Reactions: aristobrat