This website works better with JavaScript.
Home
Explore
Help
Sign In
adminguy
/
ZMHW_Project_InfraredDiodeSensor
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1
Wiki
Activity
Browse Source
telnet.
master
Your Name
6 years ago
parent
8eddd3f4dc
commit
7278947e13
2 changed files
with
18 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
BIN
docs/ZMHW_LaserInfrared_Doc21.odt
+18
-0
resouces/telnet_zmtrigger.sh
BIN
docs/ZMHW_LaserInfrared_Doc21.odt
View File
+ 18
- 0
resouces/telnet_zmtrigger.sh
View File
@ -0,0 +1,18 @@
#!/bin/bash
IPADDRESS
=
192.168.78.50
CAMERAMODECTLOC
=
bay4hfs
TMPFILE
=
bay4tmp
TELNETSERVER
=
127.0.0.1
PORT
=
6802
MONITORNUMBER
=
12
wget
$IPADDRESS
-O
$CAMERAMODECTLOC
&&
cat
$CAMERAMODECTLOC
|
grep Temp >
$TMPFILE
RESULT
=
$(
cat
$TMPFILE
)
telnet
$TELNETSERVER
$PORT
<<EOF
$MONITORNUMBER
|
show
||
||
$RESULT
EOF
Write
Preview
Loading…
Cancel
Save