diff --git a/README.md b/README.md index 001822c5..6f7edf21 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,12 @@ A 3d-printable housing can be found here: https://www.thingiverse.com/thing:4571 -##### Rolling - (2020-11-26) +##### Rolling - (2020-11-29) + +* New html interface for modification of configuration parameters (access to direct edit of `config.ini` moved to new expert mode) +* Preparation for feature implementation + +2020-11-26 * Bug fixing: CheckDigitConsistency not always working (case zero crossing & no increase) diff --git a/code/src/version.cpp b/code/src/version.cpp index 9b59d969..d8d8b6aa 100644 --- a/code/src/version.cpp +++ b/code/src/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="190e7e7"; +const char* GIT_REV="891adf3"; const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2020-11-27 16:57"; \ No newline at end of file +const char* BUILD_TIME="2020-11-29 15:14"; \ No newline at end of file diff --git a/code/version.cpp b/code/version.cpp index 9b59d969..d8d8b6aa 100644 --- a/code/version.cpp +++ b/code/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="190e7e7"; +const char* GIT_REV="891adf3"; const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2020-11-27 16:57"; \ No newline at end of file +const char* BUILD_TIME="2020-11-29 15:14"; \ No newline at end of file diff --git a/firmware/bootloader.bin b/firmware/bootloader.bin index 65baf2d0..0b2913ea 100644 Binary files a/firmware/bootloader.bin and b/firmware/bootloader.bin differ diff --git a/firmware/firmware.bin b/firmware/firmware.bin index c312e63b..e04e2071 100644 Binary files a/firmware/firmware.bin and b/firmware/firmware.bin differ diff --git a/firmware/html.zip b/firmware/html.zip index d8637d3b..126ae829 100644 Binary files a/firmware/html.zip and b/firmware/html.zip differ diff --git a/sd-card/html/edit_config_param.html b/sd-card/html/edit_config_param.html new file mode 100644 index 00000000..fa90c8f5 --- /dev/null +++ b/sd-card/html/edit_config_param.html @@ -0,0 +1,848 @@ + + +
+
+ Config.ini:+ |
+ + + + | +
| + Enable + | ++ Parameter + | ++ Value + | ++ Information + | +|
|---|---|---|---|---|
MakeImage |
+ ||||
| + + | +
+ |
+ + + | ++ Location to store raw images for logging + | +|
| + | + + |
+ |
+ + + | ++ Time to keep the raw image (in days -"0" = forever) + | +
| + | +
+ |
+ + + | ++ Wait time between illumination switch on and take the picture (in seconds) + | +|
| + | +
+ |
+ + + | ++ Quality index for picture (default = "5" - "0" high ... "63" low) + | +|
| + | +
+ |
+ + + | ++ Picture size camera (default = "VGA") + | +|
Alignment |
+ ||||
| + | +
+ |
+ + + | ++ x size (width) in which the reference is searched (default = "20") + | +|
| + | +
+ |
+ + + | ++ y size (height) in which the reference is searched (default = "20") + | +|
Digits |
+ ||||
| + | +
+ |
+ + + | ++ path to CNN model file for image recognition (in seconds) + | +|
| + + | +
+ |
+ + + | ++ Location to store separated digits for logging + | +|
| + | + + |
+ |
+ + + | ++ Time to keep the separated digit images (in days -"0" = forever) + | +
| + | +
+ |
+ + x: + y: + | ++ Size of the input image for the CNN model + | +|
Analog |
+ ||||
| + | +
+ |
+ + + | ++ path to CNN model file for image recognition (in seconds) + | +|
| + + | +
+ |
+ + + | ++ Location to store separated digits for logging + | +|
| + | + + |
+ |
+ + + | ++ Time to keep the separated digit images (in days -"0" = forever) + | +
| + | +
+ |
+ + x: + y: + | ++ Size of the input image for the CNN model + | +|
PostProcessing |
+ ||||
| + + | +
+ |
+ + + | ++ shift the digit separator within the digital digits (positiv and negativ) + | +|
| + + | +
+ |
+ + + | ++ Enable to use the previous read value for consistency checks - also on reboots + | +|
| + + | +
+ |
+ + + | ++ Time (in minutes), how long a previous read value is valid after reboot (default = 720 min) + | +|
| + + | +
+ |
+ + + | ++ Set on "False" to ensure, that only positive changes are accepted (typically for counter) + | +|
| + + | +
+ |
+ + + | ++ Maximum change of reading from one to the next readout + | +|
| + + | +
+ |
+ + + | ++ Do not show error message in return value - in error case, the last valid number will be send out + | +|
| + + | +
+ |
+ + + | ++ Activate to enalbe additional consistency check - especially zero crossing check between digits + | +|
MQTT |
+ ||||
| + + | +
+ |
+ + + | ++ URI to the MQTT broker including port: http:\\IP-ADRESS:port + | +|
| + + | +
+ |
+ + + | ++ MQTT topic, in which the value is registered + | +|
| + + | +
+ |
+ + + | ++ MQTT topic, in which the error status is reported (empty = no error) + | +|
| + + | +
+ |
+ + + | ++ ClientID to connect to the MQTT broker + | +|
| + + | +
+ |
+ + + | ++ user for MQTT authenficiation + | +|
| + + | +
+ |
+ + + | ++ password for MQTT authenficiation + | +|
AutoTimer |
+ ||||
| + + | +
+ |
+ + + | ++ Start the image recognition immediatly after power up. False is basically for debugging. + | +|
| + + | +
+ |
+ + + | ++ Intervall in which the counter is read (in minutes). Number must be greater than 3 minutes. + | +|
Debug |
+ ||||
| + + | +
+ |
+ + + | ++ Turn on/off the extended logging + | +|
| + | + + |
+ |
+ + + | ++ Time to keep the log files (in days - "0" = forever) + | +
System |
+ ||||
| + | + + |
+ |
+ + + | ++ Adjustment of time zone relative to UTC (in hours) + | +
| + + | +
+ |
+ + + | ++ Autoadjust the summertime + | +|
| + + | +
+ |
+ + + | ++ Intervall for synchronizing the time with the time server (in hours) + | +|
+ +
++ +
++ +
+ + + + + + + + \ No newline at end of file diff --git a/sd-card/html/gethost.js b/sd-card/html/gethost.js index c61614e8..79750188 100644 --- a/sd-card/html/gethost.js +++ b/sd-card/html/gethost.js @@ -5,10 +5,10 @@ function gethost_Version(){ function getbasepath(){ var host = window.location.hostname; - if (host == "127.0.0.1") + if ((host == "127.0.0.1") || (host == "localhost")) { - host = "http://192.168.178.26"; // jomjol interner test -// host = "http://192.168.178.22"; // jomjol interner Real +// host = "http://192.168.178.26"; // jomjol interner test + host = "http://192.168.178.22"; // jomjol interner Real // host = "."; // jomjol interner localhost } else diff --git a/sd-card/html/index_configure.html b/sd-card/html/index_configure.html index cda18685..f55e9a05 100644 --- a/sd-card/html/index_configure.html +++ b/sd-card/html/index_configure.html @@ -76,7 +76,7 @@ li.dropdown {