mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +03:00
Add parameter to disable write data log (#1382)
This commit is contained in:
@@ -9,9 +9,8 @@
|
||||
h1 {font-size: 2em;}
|
||||
h2 {font-size: 1.5em; margin-block-start: 0.0em; margin-block-end: 0.2em;}
|
||||
h3 {font-size: 1.2em;}
|
||||
h4 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
h4 {font-size: 1em; margin-bottom: 0;}
|
||||
h5 {font-size: 0.83em; margin-top: 0.2em; margin-bottom: 0;}
|
||||
|
||||
p {font-size: 1em;}
|
||||
|
||||
@@ -626,9 +625,11 @@ textarea {
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3" style="padding-left: 20px;"><h4>Homeassistant Discovery (using MQTT)</h4>
|
||||
<span style="font-size: 80%;">The discovery topics and the static topics (IP, MAC, Hostname, Interval, ...) only get sent on startup.
|
||||
To send them again, you can call the following URL: <a href=mqtt_publish_discovery target="_blank">http://<IP>/mqtt_publish_discovery</a></span></td>
|
||||
<td class="indent1" colspan="3">
|
||||
<h4>Homeassistant Discovery (using MQTT)</h4>
|
||||
<h5>The discovery topics and the static topics (IP, MAC, Hostname, Interval, ...) only get sent on startup.
|
||||
To send them again, you can call the following URL: <a href=mqtt_publish_discovery target="_blank">http://<IP>/mqtt_publish_discovery</a></h5>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="indent1">
|
||||
@@ -675,8 +676,7 @@ textarea {
|
||||
<td colspan="3" style="padding-left: 20px;">
|
||||
<h4>
|
||||
<input type="checkbox" id="Category_InfluxDB_enabled" value="1" onclick = 'UpdateAfterCategoryCheck()' unchecked >
|
||||
<label for=Category_InfluxDB_enabled>InfluxDB (Remark: only InfluxDB v1.x is supported, v2.x has a changed interface)</label>
|
||||
</h4>
|
||||
<label for=Category_InfluxDB_enabled>InfluxDB</h4><h5>Only InfluxDB v1.x is supported, v2.x has a changed interface</h5></label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -739,43 +739,14 @@ textarea {
|
||||
Password for InfluxDB authentication
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td colspan="3" style="padding-left: 20px;"><h4>AutoTimer</h4></td>
|
||||
</tr>
|
||||
<tr class="expert" id="ex13">
|
||||
<td class="indent1">
|
||||
<class id="AutoTimer_AutoStart_text" style="color:black;">AutoStart</class>
|
||||
</td>
|
||||
<td>
|
||||
<select id="AutoTimer_AutoStart_value1">
|
||||
<option value="true" selected>true</option>
|
||||
<option value="false" >false</option>
|
||||
</select>
|
||||
</td>
|
||||
<td style="font-size: 80%;">
|
||||
Start the image recognition immediatly after power up. false is basically for debugging.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="indent1">
|
||||
<class id="AutoTimer_Intervall_text" style="color:black;">Interval</class>
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" id="AutoTimer_Intervall_value1" size="13" min="3" step="any">
|
||||
</td>
|
||||
<td style="font-size: 80%;">
|
||||
Interval in which the number(s) are read (in minutes). If a run takes longer than this interval, the next run gets postponed until the current run completes.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="3" style="padding-left: 20px;">
|
||||
<h4><input type="checkbox" id="Category_GPIO_enabled" value="1" onclick='UpdateAfterCategoryCheck()' unchecked >
|
||||
<label for=Category_GPIO_enabled>GPIO Settings
|
||||
<span class="GPIO_Item" > - Enabling GPIO handler, disable by default integrated flash light.<br>Please enable it with GPIO4 (internal flash LED) settings or GPIO12 (external LED).</span></label>
|
||||
</h4>
|
||||
<span class="GPIO_Item">
|
||||
<h5>Enabling GPIO handler, disable by default integrated flash light.<br>Please enable it with GPIO4 (internal flash LED) settings or GPIO12 (external LED).</span></label>
|
||||
</h4>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -1272,13 +1243,71 @@ textarea {
|
||||
</tr>
|
||||
<!------------- GPIO13 end ------------------>
|
||||
|
||||
<tr>
|
||||
<td colspan="3" style="padding-left: 20px;"><h4>AutoTimer</h4></td>
|
||||
</tr>
|
||||
<tr class="expert" id="ex13">
|
||||
<td class="indent1">
|
||||
<class id="AutoTimer_AutoStart_text" style="color:black;">AutoStart</class>
|
||||
</td>
|
||||
<td>
|
||||
<select id="AutoTimer_AutoStart_value1">
|
||||
<option value="true" selected>true</option>
|
||||
<option value="false" >false</option>
|
||||
</select>
|
||||
</td>
|
||||
<td style="font-size: 80%;">
|
||||
Start the image recognition immediatly after power up. false is basically for debugging.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="indent1">
|
||||
<class id="AutoTimer_Intervall_text" style="color:black;">Interval</class>
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" id="AutoTimer_Intervall_value1" size="13" min="3" step="any">
|
||||
</td>
|
||||
<td style="font-size: 80%;">
|
||||
Interval in which the number(s) are read (in minutes). If a run takes longer than this interval, the next run gets postponed until the current run completes.
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="3" style="padding-left: 20px;"><h4>DataLogging</h4></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="indent1">
|
||||
<class id="DataLogging_DataLogActive_text" style="color:black;">DataLogActive</class>
|
||||
</td>
|
||||
<td>
|
||||
<select id="DataLogging_DataLogActive_value1">
|
||||
<option value="true" selected>true</option>
|
||||
<option value="false" >false</option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="description">
|
||||
Activate data log to SD card
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="indent1">
|
||||
<class id="DataLogging_DataLogRetentionInDays_text" style="color:black;">DataLogRetentionInDays</class>
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" id="DataLogging_DataLogRetentionInDays_value1" size="13" min="0" step="1">
|
||||
</td>
|
||||
<td class="description">
|
||||
Time to keep the data files (in days - "0" = forever)
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="3" style="padding-left: 20px;"><h4>Debug</h4></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="indent1">
|
||||
<input type="checkbox" id="Debug_Logfile_enabled" value="1" onclick = 'InvertEnableItem("Debug", "Logfile")' unchecked >
|
||||
<label for=Debug_Logfile_enabled><class id="Debug_Logfile_text" style="color:black;">Logfile Log Level</class></label>
|
||||
<class id="Debug_Logfile_text" style="color:black;">Logfile Log Level</class>
|
||||
</td>
|
||||
<td>
|
||||
<select id="Debug_Logfile_value1">
|
||||
@@ -1294,8 +1323,7 @@ textarea {
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="indent1">
|
||||
<input type="checkbox" id="Debug_LogfileRetentionInDays_enabled" value="1" onclick = 'InvertEnableItem("Debug", "LogfileRetentionInDays")' unchecked >
|
||||
<label for=Debug_LogfileRetentionInDays_enabled><class id="Debug_LogfileRetentionInDays_text" style="color:black;">LogfileRetentionInDays</class></label>
|
||||
<class id="Debug_LogfileRetentionInDays_text" style="color:black;">LogfileRetentionInDays</class>
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" id="Debug_LogfileRetentionInDays_value1" size="13" min="0" step="1">
|
||||
@@ -1784,8 +1812,11 @@ function UpdateInput() {
|
||||
WriteParameter(param, category, "AutoTimer", "AutoStart", false);
|
||||
WriteParameter(param, category, "AutoTimer", "Intervall", false);
|
||||
|
||||
WriteParameter(param, category, "Debug", "Logfile", true);
|
||||
WriteParameter(param, category, "Debug", "LogfileRetentionInDays", true);
|
||||
WriteParameter(param, category, "DataLogging", "DataLogActive", false);
|
||||
WriteParameter(param, category, "DataLogging", "DataLogRetentionInDays", false);
|
||||
|
||||
WriteParameter(param, category, "Debug", "Logfile", false);
|
||||
WriteParameter(param, category, "Debug", "LogfileRetentionInDays", false);
|
||||
|
||||
WriteParameter(param, category, "System", "TimeZone", true);
|
||||
WriteParameter(param, category, "System", "Hostname", true);
|
||||
@@ -1908,9 +1939,12 @@ function ReadParameterAll()
|
||||
|
||||
ReadParameter(param, "AutoTimer", "AutoStart", false);
|
||||
ReadParameter(param, "AutoTimer", "Intervall", false);
|
||||
|
||||
ReadParameter(param, "DataLogging", "DataLogActive", false);
|
||||
ReadParameter(param, "DataLogging", "DataLogRetentionInDays", false);
|
||||
|
||||
ReadParameter(param, "Debug", "Logfile", true);
|
||||
ReadParameter(param, "Debug", "LogfileRetentionInDays", true);
|
||||
ReadParameter(param, "Debug", "Logfile", false);
|
||||
ReadParameter(param, "Debug", "LogfileRetentionInDays", false);
|
||||
|
||||
ReadParameter(param, "System", "TimeZone", true);
|
||||
ReadParameter(param, "System", "Hostname", true);
|
||||
|
||||
Reference in New Issue
Block a user