mirror of
https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git
synced 2025-09-09 15:40:45 +02:00
Minor changes
Miinor test changes Re-add split for hours back into group data pattern
This commit is contained in:
@@ -247,8 +247,8 @@ action "rm -rf ${DESTOVERRIDE} 2>/dev/null"
|
||||
if [ -f "$VERSION_FILE" ]; then
|
||||
LOCALCOMMITID=$(${JQ} -r .commit ${VERSION_FILE})
|
||||
if [ ${LOCALCOMMITID} = ${REMOTECOMMITID} ]; then
|
||||
logerror "You have already lastest version"
|
||||
echo "You have already lastest version"
|
||||
logerror "You are currently on the lastest version"
|
||||
echo "You are currently on the lastest version"
|
||||
exit 1
|
||||
else
|
||||
echo "Need to upgrade from ${LOCALCOMMITID} to ${REMOTECOMMITID}"
|
||||
|
@@ -26,7 +26,7 @@ telegram_alert_type=image
|
||||
send_matrix=false
|
||||
|
||||
# General
|
||||
group_date_pattern="+%Y-%m-%d"
|
||||
group_date_pattern="+%Y-%m-%d/%H"
|
||||
file_date_pattern="+%Y-%m-%d_%H-%M-%S"
|
||||
video_duration=10
|
||||
save_files_attr="0644"
|
||||
|
@@ -56,7 +56,7 @@ cat << EOF
|
||||
</tr>
|
||||
<tr>
|
||||
<td> Firmware commit </td>
|
||||
<td> $(if [ -s "/system/sdcard/VERSION" ]; then echo $(check_commit); else echo "Never updated. Make an update to get version."; fi) </td>
|
||||
<td> $(if [ -s "/system/sdcard/VERSION" ]; then echo $(check_commit); else echo "Never updated through UI, please run update to get a version file."; fi) </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
@@ -220,7 +220,7 @@
|
||||
<a id="osdconfig" class="navbar-item onpage" href="javascript: void(0)" data-target="cgi-bin/system_osd.cgi">OSD</a>
|
||||
<a id="ptconfig" class="navbar-item onpage" href="javascript: void(0)" data-target="cgi-bin/system_pt.cgi">Pan / Tilt</a>
|
||||
<a id="ledconfig" class="navbar-item onpage" href="javascript: void(0)" data-target="cgi-bin/system_led.cgi">LED configuration</a>
|
||||
<a id="configmotion" class="navbar-item onpage" href="javascript: void(0)" data-target="configmotion.html">Motion Detection</a>
|
||||
<a id="configmotion" class="navbar-item onpage" href="javascript: void(0)" data-target="configmotion.html">Motion Detection</a>
|
||||
<a id="sw_night" class="navbar-item onpage" href="javascript: void(0)" data-target="sw_night_configure.html">SW night configuration</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -62,7 +62,7 @@ $(document).ready(function () {
|
||||
|
||||
// Show dpad according camera version
|
||||
$.get("cgi-bin/action.cgi", {cmd: "show_HWmodel"}, function(model){
|
||||
|
||||
|
||||
if (model == "Xiaomi Dafang\n")
|
||||
document.getElementById("dpad_container").style.visibility = "visible";
|
||||
else
|
||||
|
Reference in New Issue
Block a user