fix broken

This commit is contained in:
cronyx
2024-03-27 00:14:06 +03:00
parent f810364e38
commit c973bccf84

View File

@@ -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/ssc337_lite_tp-link-tapo-c110-v1-nor.tgz'
#
# Set custom majestic settings
#
cli -s .system.staticDir /var/www/majestic
cli -s .nightMode.enabled true
cli -s .nightMode.irCutPin1 78
cli -s .nightMode.irCutPin2 79
cli -s .nightMode.backlightPin 14
cli -s .nightMode.colorToGray true
cli -s .audio.speakerPin 61
cli -s .video0.codec h264
#
# Set wlan device and credentials if need
#
fw_setenv wlandev ssw101b-ssc333-tapo-c110
#fw_setenv wlanssid Router
#fw_setenv wlanpass 12345678
exit 0