-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
devices/hi3518ev200_lite_switcam-hs303/general/overlay/usr/share/openipc/customizer.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |