#!/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/hi3518ev300_lite_bathhouse-nor.tgz'
fw_setenv wlandev rtl8188fu-generic
#
#
# Set custom majestic settings
#
#cli -s .isp.sensorConfig /etc/sensors/bt656_ahd_1920x1080_25fps.ini
#cli -s .nightMode.lightMonitor true
#cli -s .nightMode.minThreshold 2000
#cli -s .nightMode.maxThreshold 14000
#cli -s .audio.speakerPin 55
cli -s .video0.codec h264
cli -s .audio.enabled true
cli -s .audio.codec opus
cli -s .audio.volume 30
cli -s .audio.srate 48000
#
#
# Set wlan device and credentials if need
#
#fw_setenv wlanssid Router
#fw_setenv wlanpass 12345678
#

exit 0

