| 123456789101112131415161718 |
- #!/bin/sh
- if [ "$1" == "" ]; then
- echo -e "welcome to: cmd <arg>\n"
- echo -e "arg can be:"
- echo -e "jpeg <channel> <-n>\n Note: -n denotes no header"
- echo -e "video <channel> <on/off>"
- echo -e "audio <channel> <on/off>"
- echo -e "move <x> <y>"
- echo -e "waitMotion <timeout> (you must enable motion tagging in the app first)"
- echo -e "irled <on/off>"
- echo -e "aplay <file path> <volume 1-100>"
- echo -e "curlDebug on, off, disable_video"
- echo -e "mp4write <on/off> (t31 only)"
- echo -e "timelapse <file> <interval> <count>"
- else
- echo "$*" | /opt/wz_mini/bin/busybox nc localhost 4000
- fi
|