turn camera on/off via telnet
Posted: Mon Sep 07, 2015 10:30 am
I'm looking for a solution to turn camera(s) on and off from a command line.
I found this solution that actually works for me:
Start: { echo "3|on|255|textstring1|textstring2|textstring3"; sleep 1; } | telnet 192.168.0.10 6802
Stop: { echo "3|off|"; sleep 1; } | telnet 192.168.0.10 6802
The only problem is that the camera should be in a "Nodect" function. It really makes me uncomfortable (I feel like living in the big brother's house) and I would prefer to set all cameras to "none/disabled". Then, when I decide to turn them on, switch to "Nodect" and then issue the command I written above (or any other command) to turn all cameras on and start recording.
Then issue another command to return to the "none/disable" state
What I'm looking for is something like coming/going scenarios.
I found this solution that actually works for me:
Start: { echo "3|on|255|textstring1|textstring2|textstring3"; sleep 1; } | telnet 192.168.0.10 6802
Stop: { echo "3|off|"; sleep 1; } | telnet 192.168.0.10 6802
The only problem is that the camera should be in a "Nodect" function. It really makes me uncomfortable (I feel like living in the big brother's house) and I would prefer to set all cameras to "none/disabled". Then, when I decide to turn them on, switch to "Nodect" and then issue the command I written above (or any other command) to turn all cameras on and start recording.
Then issue another command to return to the "none/disable" state
What I'm looking for is something like coming/going scenarios.