Skip to content

Instantly share code, notes, and snippets.

@rringler
Created August 2, 2016 03:12
Show Gist options
  • Save rringler/a03b58366d88c58eb6df44df1c8893dc to your computer and use it in GitHub Desktop.
Save rringler/a03b58366d88c58eb6df44df1c8893dc to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
http GET http://192.168.10.80:88/cgi-bin/CGIProxy.fcgi \
'usr'=='admin' \
'pwd'=='${FOSCAM_PASSWORD}' \
'cmd'=='setAudioAlarmConfig' \
'isEnable'==0 \
'sensitivity'==1 \
'linkage'==138 \
'triggerInterval'==10 \
'snapInterval'==2 \
'schedule0'==281474976710655 \
'schedule1'==281474976710655 \
'schedule2'==281474976710655 \
'schedule3'==281474976710655 \
'schedule4'==281474976710655 \
'schedule5'==281474976710655 \
'schedule6'==281474976710655
http GET http://192.168.10.81:88/cgi-bin/CGIProxy.fcgi \
'usr'=='admin' \
'pwd'=='${FOSCAM_PASSWORD}' \
'cmd'=='setAudioAlarmConfig' \
'isEnable'==0 \
'sensitivity'==1 \
'linkage'==138 \
'triggerInterval'==10 \
'snapInterval'==2 \
'schedule0'==281474976710655 \
'schedule1'==281474976710655 \
'schedule2'==281474976710655 \
'schedule3'==281474976710655 \
'schedule4'==281474976710655 \
'schedule5'==281474976710655 \
'schedule6'==281474976710655
http GET http://192.168.10.80:88/cgi-bin/CGIProxy.fcgi \
'usr'=='admin' \
'pwd'=='${FOSCAM_PASSWORD}' \
'cmd'=='setMotionDetectConfig' \
'isEnable'==0 \
'linkage'==138 \
'snapInterval'==2 \
'sensitivity'==0 \
'triggerInterval'==10 \
'isMovAlarmEnable'==1 \
'isPirAlarmEnable'==1 \
'schedule0'==281474976710655 \
'schedule1'==281474976710655 \
'schedule2'==281474976710655 \
'schedule3'==281474976710655 \
'schedule4'==281474976710655 \
'schedule5'==281474976710655 \
'schedule6'==281474976710655 \
'area0'==1023 \
'area1'==1023 \
'area2'==1023 \
'area3'==1023 \
'area4'==1023 \
'area5'==1023 \
'area6'==1023 \
'area7'==1023 \
'area8'==1023 \
'area9'==1023
http GET http://192.168.10.81:88/cgi-bin/CGIProxy.fcgi \
'usr'=='admin' \
'pwd'=='${FOSCAM_PASSWORD}' \
'cmd'=='setMotionDetectConfig' \
'isEnable'==0 \
'linkage'==138 \
'snapInterval'==2 \
'sensitivity'==0 \
'triggerInterval'==10 \
'isMovAlarmEnable'==1 \
'isPirAlarmEnable'==1 \
'schedule0'==281474976710655 \
'schedule1'==281474976710655 \
'schedule2'==281474976710655 \
'schedule3'==281474976710655 \
'schedule4'==281474976710655 \
'schedule5'==281474976710655 \
'schedule6'==281474976710655 \
'area0'==1023 \
'area1'==1023 \
'area2'==1023 \
'area3'==1023 \
'area4'==1023 \
'area5'==1023 \
'area6'==1023 \
'area7'==1023 \
'area8'==1023 \
'area9'==1023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment