briis / securityspy

SecuritySpy Integration for Home Assistant with Camera Streams and Motion Detection
MIT License
37 stars 7 forks source link

Triggering a Camera Motion Event? #88

Open stevesreed opened 7 months ago

stevesreed commented 7 months ago

The SecuritySpy Web interface allows you to force a motion event on a specific camera, or all cameras (using -1), via the triggermd command.

I can't figure out how to call that functions this with the this integration, currently.

It would be useful so HA can trigger all the cameras to record if the home alarm system is triggered, for example.

stevesreed commented 7 months ago

The work around for now is to use a Node-RED http request node to 'GET': http://username:password@192.168.x.xxx:8000/triggermd?cameraNum=-1