adri 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
..
Alerts Off.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Alerts On.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
All Off.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
All On.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Apply Schedule.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Record Off.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Record on Alert.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Record on Detect.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Restart Agent.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Run Storage Mgmt.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Snapshot.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Start Record.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Stop Cloud Uploads.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Stop Record.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
Stop Streaming.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
_Example.bat 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
fix_archive_perms.sh 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
readme.txt 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ
save_summary.sh 4f61a79ad5 unignore Commands 3 nedēļas atpakaļ

readme.txt

To add your own commands to the list create a new file in the Commands directory

You can execute internal commands by adding a new .bat file and adding a remark at the top of the file. For example to switch all internal cameras off and start recording all external cameras you could do:


REM ispy-internal
switchon&group=external
switchoff&group=internal
RECORD
BROADCAST 'external cameras are on and recording'

(This uses groups - so you'd need to setup your internal/ external cameras with group names on the general tab when you edit them )

list of available commands:

allon
alloff
applyschedule
stopclouduploads
recordondetecton
recordonalerton
recordingoff
record
recordstop
alerton
alertoff
snapshot
alert
switchon
switchoff

more: https://www.ispyconnect.com/docs/agent/api


You can use these commands on their own, with a group or by passing in an object type and and object id:

-- specify ot=2 for a camera or ot=1 for a microphone and pass in an object id - you can find the object id (oid) on the server object list on the web portal (second column).
switchon&ot=2&oid=1

-- specify a group name
switchon&group=garage

-- apply to all objects
switchon

To run an executable file say to open a garage door or something you'd leave off the REM ispy-internal command and just create a regular .bat (or .sh on linux/ osx) file like

start "c:\program files\acme garage door" opensesame.exe