From 0bb840bf062b807d299f924ca1b370e6d5e39103 Mon Sep 17 00:00:00 2001 From: Signor Pellegrino Date: Sat, 3 Aug 2024 15:29:35 +0300 Subject: [PATCH] Up lite_switcam-hs303 --- .../overlay/usr/share/openipc/customizer.sh | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 devices/hi3518ev200_lite_switcam-hs303/general/overlay/usr/share/openipc/customizer.sh diff --git a/devices/hi3518ev200_lite_switcam-hs303/general/overlay/usr/share/openipc/customizer.sh b/devices/hi3518ev200_lite_switcam-hs303/general/overlay/usr/share/openipc/customizer.sh new file mode 100644 index 00000000..5618be33 --- /dev/null +++ b/devices/hi3518ev200_lite_switcam-hs303/general/overlay/usr/share/openipc/customizer.sh @@ -0,0 +1,42 @@ +#!/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/hi3518ev200_lite_switcam-hs303-nor.tgz' +# +# +# Set custom majestic settings +# +# cli -s .nightMode.irCutPin1 48 +# cli -s .nightMode.irCutPin2 47 +# cli -s .nightMode.backlightPin 59 +# cli -s .nightMode.lightMonitor false # can set true +# cli -s .nightMode.minThreshold 2000 +# cli -s .nightMode.maxThreshold 10000 +cli -s .video0.codec h264 +cli -s .audio.enabled true +cli -s .audio.codec alaw +cli -s .audio.srate 8000 +cli -s .audio.volume 40 +cli -s .audio.outputEnabled true +cli -s .audio.outputVolume 80 +# cli -s .audio.speakerPin 53 +# +# +# Set wlan device and credentials if need +# +# fw_setenv wlandev rtl8188eu-hi3518ev200-qvc-ipc-136w +#fw_setenv wlanssid Router +#fw_setenv wlanpass 12345678 +# +# +# Other custom settings +# +fw_setenv extras initcall_blacklist=hisi_femac_driver_init +fw_setenv board hs303-v1 +#fw_setenv osmem 45M +# +exit 0