• Cmd box must contain the full path to the executable that has to be run
  • Params box can include the following case sensitive variables
    %sec% the second of the recording/snapshot (two digits)
    %min% the minute of the recording/snapshot (two digits)
    %hour% the hour of the recording/snapshot (two digits)
    %day% the day of the recording/snapshot (01..31)
    %month% the month of the recording/snapshot (01..12)
    %year% the year of the recording/snapshot (four digits)
    %full% the absolute path to the recording/snapshot
    %small% the absolute path to the small/thumbnail version of the recording/snapshot

1. Play a sound when recording starts

  • Download and install VLC
  • Cmd
    C:\Program Files\VideoLAN\VLC\vlc.exe
  • Params
    -I dummy --dummy-quiet --play-and-exit --no-loop --no-repeat "C:\test.wav"
    Attention: replace "C:\test.wav" with the path to your audio file which must include the file extension (like .mp3 or .wav for example) and be enclosed in double quotes!
  • For automatic doorbell only usage, uncheck Save Full Video, uncheck Save Small Video and set Drop detections shorter than to 0 seconds.

command rec start sound

2. Copy / move recordings to another location

  • Cmd
    C:\Windows\System32\cmd.exe
  • Params
    /C "mkdir "D:\MY CAM\%year%\%month%\%day%" & copy "%full%" "D:\MY CAM\%year%\%month%\%day%" & copy "%small%" "D:\MY CAM\%year%\%month%\%day%""
    to move:
    /C "mkdir "D:\MY CAM\%year%\%month%\%day%" & move "%full%" "D:\MY CAM\%year%\%month%\%day%" & move "%small%" "D:\MY CAM\%year%\%month%\%day%""

command rec done copy

3. FTP, SFTP, FTPS upload recordings

  • Download and install WinSCP
  • Cmd
    C:\Program Files (x86)\WinSCP\WinSCP.exe
  • Params
    /ini=nul /command "open ftp://USERNAME:PASSWORD@SERVERNAME" "put ""%full%"" ""/MY CAM/%year%/%month%/%day%/""" "put ""%small%"" ""/MY CAM/%year%/%month%/%day%/""" "exit"
    to test the settings:
    /ini=nul /console /command "open ftp://USERNAME:PASSWORD@SERVERNAME" "put ""%full%"" ""/MY CAM/%year%/%month%/%day%/""" "put ""%small%"" ""/MY CAM/%year%/%month%/%day%/"""
    Attention: paths with spaces are surrounded by double double-quotes!
  • Passive mode is enabled by default, to use the active mode provide the parameter
    /passive=off

command rec done ftp

4. FTP, SFTP, FTPS upload live snapshots

  • Download and install WinSCP
  • Cmd
    C:\Program Files (x86)\WinSCP\WinSCP.exe
  • Params
    /ini=nul /command "open ftp://USERNAME:PASSWORD@SERVERNAME" "put ""%full%"" ""/MY CAM/my snapshot.jpg""" "put ""%small%"" ""/MY CAM/my snapshot thumb.jpg""" "exit"
    to test the settings:
    /ini=nul /console /command "open ftp://USERNAME:PASSWORD@SERVERNAME" "put ""%full%"" ""/MY CAM/my snapshot.jpg""" "put ""%small%"" ""/MY CAM/my snapshot thumb.jpg"""
    Attention: paths with spaces are surrounded by double double-quotes!
  • Passive mode is enabled by default, to use the active mode provide the parameter
    /passive=off

command snapshots done ftp

5. Execute a batch file

  • Cmd
    C:\Windows\System32\cmd.exe
  • Params
    /C ""C:\Tools\my script.bat" "%full%" "%small%""

command rec done batch