mirror of
https://github.com/nikdoof/builder.git
synced 2025-12-25 15:59:22 +00:00
add tp-link tapo c310 v1 with binary sensor driver for tests
This commit is contained in:
13
devices/ssc325_lite_tp-link-tapo-c310-v1/general/overlay/etc/wireless/usb
Executable file
13
devices/ssc325_lite_tp-link-tapo-c310-v1/general/overlay/etc/wireless/usb
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
set_gpio() {
|
||||
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
|
||||
sleep 1
|
||||
}
|
||||
|
||||
if [ "$1" = "rtl8192eu-ssc325-tapo-c310v1" ]; then
|
||||
modprobe 8192eu
|
||||
exit 0
|
||||
fi
|
||||
|
||||
exit 1
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/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/ssc325_lite_tp-link-tapo-c310-v1-nor.tgz'
|
||||
#
|
||||
#
|
||||
# Set custom majestic settings
|
||||
#
|
||||
#cli -s .nightMode.enabled true
|
||||
#cli -s .nightMode.irCutPin1 78
|
||||
#cli -s .nightMode.irCutPin2 79
|
||||
#cli -s .nightMode.backlightPin 52
|
||||
#cli -s .nightMode.colorToGray true
|
||||
cli -s .video0.codec h264
|
||||
#
|
||||
#
|
||||
# Set wlan device and credentials if need
|
||||
#
|
||||
fw_setenv wlandev rtl8192eu-ssc325-tapo-c310v1
|
||||
#fw_setenv wlanssid Router
|
||||
#fw_setenv wlanpass 12345678
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user