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:
Naomi Rennie-Waldock
2025-04-24 10:59:08 +03:00
committed by GitHub
parent 7ed8284ccb
commit 0d5bdb2440
9 changed files with 254 additions and 0 deletions
@@ -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
@@ -0,0 +1,5 @@
#!/bin/sh
. /usr/share/openipc/gpio.conf
# sd card power enable
gpio clear $mmc_pwr