-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from jmtatsch/master
Port scripts to rootfs
- Loading branch information
Showing
88 changed files
with
3,260 additions
and
828 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
.idea/* | ||
var/log/* | ||
var/run/* | ||
etc/*.conf | ||
.ash_history | ||
etc/dropbear/dropbear_ecdsa_host_key | ||
etc/lighttpd.pem | ||
etc/TZ | ||
.ssh/* |
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 @@ | ||
-c /usr/scripts/nightmode.sh |
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,2 @@ | ||
#!/bin/sh | ||
/usr/controlscripts/auto-night-detection |
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,2 @@ | ||
#!/bin/sh | ||
/usr/controlscripts/rtsp-h264 |
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# by default root:ismart12 | ||
root:all:a6564902a687c445cbd80bab194c42d5 |
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,21 @@ | ||
############################################################ | ||
# edit this file and move it to /etc/motion.conf # | ||
############################################################ | ||
|
||
# Configure the motion core parameters: | ||
|
||
region_of_interest=0,0,1280,720 | ||
motion_sensitivity=4 | ||
motion_indicator_color=2 | ||
motion_timeout=-1 | ||
motion_tracking=off | ||
|
||
# Configure how to deal with motion events: | ||
|
||
motion_trigger_led=true | ||
save_snapshot=false | ||
max_snapshots=20 | ||
publish_mqtt_message=false | ||
sendemail=false | ||
send_telegram=false | ||
save_dir=/media/motion/stills |
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,37 @@ | ||
############################################################ | ||
# edit this file and move it to /etc/mqtt.conf # | ||
############################################################ | ||
|
||
# Options for mosquitto_sub & mosquitto_pub | ||
USER=mqtt-user | ||
PASS=mqtt-password | ||
HOST=mqtt-host | ||
PORT=1883 | ||
|
||
# Define a location | ||
LOCATION="myhome" | ||
|
||
# Define device name | ||
DEVICE_NAME="dafang" | ||
|
||
# Define the base topic used by the camera | ||
# send a message to myhome/dafang/set with the payload help for help. | ||
# Results will be placed in myhome/dafang/${command} or topic/dafang/error - so please subscribe topic/dafang/# for testing purposes | ||
TOPIC="$LOCATION/$DEVICE_NAME" | ||
|
||
# Define an autodiscovery prefix, if autodiscovery is desired: | ||
# AUTODISCOVERY_PREFIX="homeassistant" | ||
|
||
# Define additional options for Mosquitto here. | ||
# For example --cafile /etc/DST_Root_CA_X3.pem --tls-version tlsv1 | ||
# or use a special id to connect to brokers like azure | ||
MOSQUITTOOPTS="" | ||
|
||
# Add options for mosquitto_pub like -r for retaining messages | ||
MOSQUITTOPUBOPTS="" | ||
|
||
# Add options for curl here e.g --user user:password | ||
CURLOPTS="" | ||
|
||
# Send a mqtt statusupdate every n seconds | ||
STATUSINTERVAL=30 |
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 @@ | ||
time.google.com |
Oops, something went wrong.