mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-31 21:59:22 +03:00
Update 20200925
This commit is contained in:
Binary file not shown.
@@ -11,6 +11,7 @@ InitalRotate=180
|
||||
SearchFieldX = 20
|
||||
SearchFieldY = 20
|
||||
|
||||
|
||||
[Digits]
|
||||
Model=/config/dig0640s3.tflite
|
||||
LogImageLocation = /log/digit
|
||||
@@ -42,4 +43,7 @@ CheckDigitIncreaseConsistency = True
|
||||
AutoStart= True
|
||||
Intervall = 4.85
|
||||
|
||||
[Debug]
|
||||
Logfile = True
|
||||
|
||||
[Ende]
|
||||
Binary file not shown.
Binary file not shown.
@@ -29,12 +29,15 @@ textarea {
|
||||
<tr><td><h2>Config.ini:</h2></td></tr>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<textarea id="inputTextToSave" cols="117" rows="38"></textarea>
|
||||
<textarea id="inputTextToSave" cols="100" rows="33"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button class="button" onclick="saveTextAsFile()">Update Config.ini</button></td>
|
||||
</tr>
|
||||
<td><button class="button" onclick="saveTextAsFile()">Update Config.ini</button></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><button class="button" id="reboot" type="button" onclick="doReboot()">Reboot to activate updates</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript" src="./gethost.js"></script>
|
||||
@@ -59,6 +62,17 @@ function saveTextAsFile()
|
||||
FileSendContent(textToSave, "/config/config.ini", basepath);
|
||||
}
|
||||
}
|
||||
|
||||
function doReboot() {
|
||||
if (confirm("Are you sure you want to reboot the ESP32?")) {
|
||||
var stringota = "/reboot";
|
||||
window.location = stringota;
|
||||
window.location.href = stringota;
|
||||
window.location.assign(stringota);
|
||||
window.location.replace(stringota);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
LoadConfigNeu();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user