Add t31_lite_tp-link-tapo-tc70-v3 profile (#56)
Signed-off-by: Naomi Rennie-Waldock <naomi.renniewaldock@gmail.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
modprobe -s motor hmaxstep=4000 vmaxstep=790 hst1=39 hst2=45 hst3=46 hst4=40 vst1=41 vst2=47 vst3=48 vst4=38
|
||||
;;
|
||||
stop)
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop}" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set_gpio() {
|
||||
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
|
||||
sleep 1
|
||||
}
|
||||
|
||||
if [ "$1" = "rtl8188fu-generic" ]; then
|
||||
set_gpio 51 1
|
||||
modprobe 8188fu
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Perform basic settings on a known IP camera
|
||||
#
|
||||
#
|
||||
# Set custom upgrade url
|
||||
#
|
||||
fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/t31_lite_tp-link-tapo-tc70-v3-nor.tgz'
|
||||
#
|
||||
#
|
||||
# Set custom majestic settings
|
||||
#
|
||||
cli -s .audio.speakerPin 63
|
||||
cli -s .nightMode.backlightPin 49
|
||||
cli -s .nightMode.irCutPin1 57
|
||||
cli -s .nightMode.irCutPin2 58
|
||||
cli -s .nightMode.colorToGray true
|
||||
cli -s .nightMode.minThreshold 30
|
||||
cli -s .nightMode.maxThreshold 150
|
||||
cli -s .video0.fps 20
|
||||
|
||||
|
||||
#
|
||||
#
|
||||
# Set wlan device and credentials if need
|
||||
#
|
||||
fw_setenv wlandev rtl8188fu-generic
|
||||
#fw_setenv wlanssid Router
|
||||
#fw_setenv wlanpass 12345678
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,14 @@
|
||||
alarm_in=-1
|
||||
alarm_out=-1
|
||||
button=62
|
||||
ircut1=57
|
||||
ircut2=58
|
||||
led1=42 # green
|
||||
led2=43 # red
|
||||
led3=50 # white (active low)
|
||||
light_ir=49
|
||||
light_wl=-1
|
||||
light_sensor=-1
|
||||
mmc_pwr=60 # active low
|
||||
speaker=63
|
||||
usb=-1
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
. /usr/share/openipc/gpio.conf
|
||||
|
||||
# sd card power enable
|
||||
gpio clear $mmc_pwr
|
||||
Reference in New Issue
Block a user