Update switcam-hs303-v2

This commit is contained in:
Signor Pellegrino
2024-08-03 15:15:18 +03:00
parent ae4e79b218
commit ce72d44698
4 changed files with 28 additions and 37 deletions

View File

@@ -6,43 +6,36 @@
#
fw_setenv upgrade 'https://github.com/OpenIPC/builder/releases/download/latest/hi3518ev200_lite_switcam-hs303-v2-nor.tgz'
#
#
# Set majestic settings
#
cli -s .nightMode.irCutPin1 2
cli -s .nightMode.backlightPin 56
cli -s .nightMode.lightMonitor true
cli -s .nightmode.lightSensorPin 62
cli -s .nightmode.lightSensorInvert true
cli -s .video0.codec h264
cli -s .audio.enabled true
cli -s .audio.volume 40
cli -s .audio.srate 8000
cli -s .audio.codec alaw
cli -s .audio.outputEnabled true
cli -s .audio.outputVolume 80
cli -s .audio.speakerPin 53
cli -s .audio.speakerPinInvert true
#
#
# Set wlan device and credentials if need
#
fw_setenv wlandev rtl8188eus-switcam-hs303v2
#fw_setenv wlanssid Router
#fw_setenv wlanpass 12345678
#
# Set majestic settings
#
cli -s .system.staticDir /var/www/majestic
cli -s .isp.blkCnt 5
cli -s .isp.iqProfile /etc/sensors/iq/ov9732.ini
cli -s .nightMode.irCutPin1 2
cli -s .nightMode.lightMonitor true
cli -s .nightmode.lightSensorPin 62
cli -s .nightmode.lightSensorInvert true
cli -s .nightMode.backlightPin 56
cli -s .audio.enabled true
cli -s .audio.volume 70
cli -s .audio.srate 8000
cli -s .audio.codec alaw
cli -s .audio.outputEnabled true
cli -s .audio.speakerPin 53
cli -s .audio.speakerPinInvert true
cli -s .rtsp.enabled true
cli -s .onvif.enabled false
cli -s .video0.fps 20
cli -s .video0.codec h264
cli -s .jpeg.enabled true
cli -s .mjpeg.size 640x360
cli -s .mjpeg.fps 5
cli -s .mjpeg.bitrate 2048
# Other custom settings
#
fw_setenv extras initcall_blacklist=hisi_femac_driver_init
fw_setenv board hs303-v2
#fw_setenv osmem 45M
#
exit 0