add wansview q5 2k and xiaomi aw200

This commit is contained in:
cronyx
2023-12-09 20:40:20 +03:00
parent a800d4ff16
commit 2e3b1b1c1b
11 changed files with 2554 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#
Experimental system for building OpenIPC firmware for known devices
#

View File

@@ -0,0 +1,14 @@
#!/bin/sh
case "$1" in
start)
autonight -d 3
;;
stop)
kill -9 $(pidof autonight)
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac

View File

@@ -0,0 +1,35 @@
#!/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_wansview-q5-2k-nor.tgz'
#
#
# Set custom majestic settings
#
cli -s .system.webAdmin disabled
cli -s .system.staticDir /var/www/majestic
cli -s .isp.blkCnt 1
#cli -s .nightMode.enabled true
#cli -s .nightMode.irCutPin1 58
#cli -s .nightMode.irCutPin2 57
#cli -s .nightMode.backlightPin ??
cli -s .video0.codec h264
#
#
# Set wlan device and credentials if need
#
fw_setenv wlandev atbm603x-generic
#fw_setenv wlanssid Router
#fw_setenv wlanpass 12345678
#
#
# Set osmem and rmem
#
fw_setenv osmem 39M
fw_setenv rmem 25M@0x2700000
#
exit 0