Przeglądaj źródła

Updated setup mode (#1370)

* update config

* delete unused file

* added notes about not-needed reboot, added links to wiki and discussions

Co-authored-by: CaCO3 <caco@ruinelli.ch>
CaCO3 3 lat temu
rodzic
commit
dd28859a9f

+ 2 - 2
sd-card/config/config.ini

@@ -82,10 +82,10 @@ LEDColor = 150 150 150
 
 
 [AutoTimer]
 [AutoTimer]
 AutoStart = true
 AutoStart = true
-Intervall = 4.85
+Intervall = 5
 
 
 [Debug]
 [Debug]
-Logfile = false
+Logfile = 1
 LogfileRetentionInDays = 3
 LogfileRetentionInDays = 3
 
 
 [System]
 [System]

+ 8 - 4
sd-card/html/edit_explain_0.html

@@ -28,11 +28,12 @@ p {font-size: 1em;}
 
 
     <p>
     <p>
         This is the first time you started the digitizer after the initial installation. You have been automatically routed to the <b>initial setup procedure</b>. 
         This is the first time you started the digitizer after the initial installation. You have been automatically routed to the <b>initial setup procedure</b>. 
-        Here you adjust the setting to your local counter within five steps. In the final step the inital setup will be disabled and it will restart to the normal mode.  
+        Here you adjust the settings for your counter within five steps. In the final step the inital setup will be disabled and it will restart to the normal mode.
+        All settings will also be accessible there.
         <br>
         <br>
         <br>
         <br>
-        You can navigate forward and backward during the setup with the buttons "Next" and "Previous". Do not forget to save in each step. 
-        <br>
+        You can navigate forward and backward during the setup with the buttons "Next" and "Previous".<br><br>
+        <span color=red>Do not forget to save in each step!</span><br>
     </p>
     </p>
     <p>
     <p>
         This is an overview over the five steps:
         This is an overview over the five steps:
@@ -53,7 +54,10 @@ p {font-size: 1em;}
     </ol>
     </ol>
     <p>
     <p>
 
 
-After step 5 you switch of the setup mode, reboot and start in normal mode!
+After step 5 setup mode is completed, it then reboots and starts into the normal mode.
+<br><br>
+
+If you need help. have a look on the <a href=https://github.com/jomjol/AI-on-the-edge-device/wiki target=_blank>Wiki</a> and the <a href=https://github.com/jomjol/AI-on-the-edge-device/discussions target=_blank>Discussion</a> pages.<br>
 
 
 <h4>Have fun with the digitizer!</h4>
 <h4>Have fun with the digitizer!</h4>
 
 

+ 3 - 3
sd-card/html/edit_explain_6.html

@@ -30,11 +30,11 @@ p {font-size: 1em;}
     <p>
     <p>
         Now you are finished with the setup and ready to reboot to the normal mode.
         Now you are finished with the setup and ready to reboot to the normal mode.
         <br>
         <br>
-        Once you have pushed below button, the setup modus will be left and the digitizer start to normal operation mode.
+        Once you have pushed below button, the setup modus will be left and the digitizer will restart to normal operation mode.
         <br>
         <br>
-        After a view seconds you can reload this page. It will take two to four minutes, until you get the first reading. 
+        The Web Interface will automatically reload. It will take two to four minutes, until you get the first reading. 
         <br>
         <br>
-        All settings can be changed as well in the configuration menue in normal operation mode.
+        All settings can be changed as well in the configuration menu in normal operation mode.
     </p>
     </p>
 
 
     <p>
     <p>

+ 0 - 27
sd-card/html/explain_0.html

@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html style="width: fit-content">
-<head>
-<link rel="icon" href="favicon.ico" type="image/x-icon">
-<title>AI on the edge</title>
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1.0">
-
-<style>
-h1 {font-size: 2em; margin-block-end: 0.3em;}
-h2 {font-size: 1.5em;margin-block-start: 0.3em;}
-h3 {font-size: 1.2em;}
-p {font-size: 1em;}
-
-
-
-</style>
-</head>
-
-<body style="font-family: arial">
-
-<h4>Introduction</h4>
-<p>
-Read below!
-
-</body>
-</html>

+ 1 - 1
sd-card/html/explain_1.html

@@ -25,7 +25,7 @@ The reference image is the base to define the digits, counters and references po
 <p>
 <p>
     Firstly you see the default image. Use the Button "Create New Reference" to start to create your own reference image.<br>
     Firstly you see the default image. Use the Button "Create New Reference" to start to create your own reference image.<br>
     Most important feature is a straight alignment of the image. Use the Pre-rotate angle and the fine alignment to adjust the rotation of the image<br>
     Most important feature is a straight alignment of the image. Use the Pre-rotate angle and the fine alignment to adjust the rotation of the image<br>
-    Store the reference image by pushing <b>"Update Reference Image"</b>.
+    Store the reference image by pushing <b>"Update Reference Image"</b>. A reboot is not yet required.
 </p>
 </p>
 
 
 </body>
 </body>

+ 1 - 1
sd-card/html/explain_2.html

@@ -27,7 +27,7 @@ Two opposite alignment references are needed to identify unique fix points on th
     You can switch between the two reference with <b>"Select Reference"</b>.
     You can switch between the two reference with <b>"Select Reference"</b>.
 </p>
 </p>
 <p>
 <p>
-    Don't forget to save your changes with <b>"Save to Config.ini"</b>!.
+    Don't forget to save your changes with <b>"Save to Config.ini"</b>! A reboot is not yet required.
 </p>
 </p>
 
 
 </body>
 </body>

+ 1 - 1
sd-card/html/explain_3.html

@@ -29,7 +29,7 @@ Here you define your digits you want to read. If you have more than one number o
     You can change it with <b>"move Next" / "move Previous"</b>.
     You can change it with <b>"move Next" / "move Previous"</b>.
 </p>
 </p>
 <p>
 <p>
-    Don't forget to save your changes with <b>"Save all to Config.ini"</b>!.
+    Don't forget to save your changes with <b>"Save all to Config.ini"</b>! A reboot is not yet required.
 </p>
 </p>
 
 
 </body>
 </body>

+ 1 - 1
sd-card/html/explain_4.html

@@ -28,7 +28,7 @@ Here you define your analog counters you want to read. If you have more than one
     You can change it with <b>"move Next" / "move Previous"</b>.
     You can change it with <b>"move Next" / "move Previous"</b>.
 </p>
 </p>
 <p>
 <p>
-    Don't forget to save your changes with <b>"Save all to Config.ini"</b>!.
+    Don't forget to save your changes with <b>"Save all to Config.ini"</b>! A reboot is not yet required.
 </p>
 </p>
 
 
 </body>
 </body>

+ 3 - 5
sd-card/html/explain_5.html

@@ -20,13 +20,11 @@ p {font-size: 1em;}
 <body style="font-family: arial">
 <body style="font-family: arial">
 
 
 <h4>General configuration parameters</h4>
 <h4>General configuration parameters</h4>
-Here you define additional setting. The settings should fit for a normal setup. </p>
-<p>
-    Only if you want to connect to a MQTT-broker you need to adjust the corresponding parameters.
-</p>
+<p>Here you can define additional settings. The settings should fit for a normal setup.</p>
+<p>You will also be availabl</p>
 <p>
 <p>
     Don't forget to save your changes with <b>"Update Config.ini"</b>!.
     Don't forget to save your changes with <b>"Update Config.ini"</b>!.
-    <br>You should not reboot here, but leave the setup modus on the next page.
+    <br><span color=red>You should not reboot here, but leave the setup modus on the next page!</span>
 </p>
 </p>
 
 
 </body>
 </body>

+ 1 - 0
sd-card/html/setup.html

@@ -40,6 +40,7 @@ p {font-size: 1em;}
       <td>
       <td>
          <button class="button" id="previous" name="previous" onclick="clickPrevious()">Previous</button>
          <button class="button" id="previous" name="previous" onclick="clickPrevious()">Previous</button>
          <button class="button" id="next" name="next" onclick="clickNext()">Next</button>
          <button class="button" id="next" name="next" onclick="clickNext()">Next</button>
+         If you need help. have a look on the <a href=https://github.com/jomjol/AI-on-the-edge-device/wiki target=_blank>Wiki</a> and the <a href=https://github.com/jomjol/AI-on-the-edge-device/discussions target=_blank>Discussion</a> pages.
       </td>
       </td>
    </tr>
    </tr>
 </table>
 </table>