-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* misc changes * adjusting arp count * updating readme with new wifi instructions
- Loading branch information
1 parent
c869ce0
commit e7f8281
Showing
6 changed files
with
57 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# To do | ||
|
||
- Automatically clean up old photos | ||
- Tidy up comments | ||
- Fig syslog formatting `Dec 22 10:40:02 raspberrypi monitor_alarm_state.py:...` should include service name | ||
- Sometimes motion trigger doesn't run arp_ping before sending images, it sends them immediately. | ||
- Increase resolution of motion detection and image captured with bounding box as it's currently hard coded to 500 pixel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
HOST="api.telegram.org" | ||
RETRY=5 | ||
|
||
for run in $(seq 1 $RETRY); do | ||
if /usr/bin/host api.telegram.org > /dev/null 2>1; then | ||
exit 0 | ||
fi | ||
sleep 10 | ||
done | ||
|
||
/usr/bin/logger "Rebooting due to connectivity issue" | ||
/sbin/shutdown -r now | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters