Enable all cameras from shell script
Had a frustrating time yesterday trying to use the API docs at https://www.bensoftware.com/securityspy/web-server-spec.html to enable cameras from the command-line. It seems the API has changed and the docs are out of date.
I did find an open source project with with some hints as to the V5 API and got as far as:
curl --insecure "https://admin:mypassword@192.168.0.60:8080/++ssSetSchedule?cameraNum=-1&mode=A&id=1"
That gets an "OK" response but has no effect. I'm trying to set all cameras to Armed 24/7 on C, M & A each morning in case I've disabled them and forgotten.
Cheers,
Max
I did find an open source project with with some hints as to the V5 API and got as far as:
curl --insecure "https://admin:mypassword@192.168.0.60:8080/++ssSetSchedule?cameraNum=-1&mode=A&id=1"
That gets an "OK" response but has no effect. I'm trying to set all cameras to Armed 24/7 on C, M & A each morning in case I've disabled them and forgotten.
Cheers,
Max
Comments
++setSchedule?cameraNum=-1&schedule=1&override=0&mode=CMA
++setSchedule?cameraNum=-1&schedule=1&override=0&mode=X