diff --git a/README.md b/README.md index 0a0006c5..4877664c 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ A 3d-printable housing can be found here: https://www.thingiverse.com/thing:4571 ##### Rolling - (2020-11-30) +* Modification `config.ini`: true/false only in small letters, removal of comma as separator (up/downwards compatibility is still given) * New feature: time zone can be specified, regular time synchronization possible (see new section `[System]` in configuration) 2020-11-29 diff --git a/firmware/html.zip b/firmware/html.zip index 8e2ee694..a803d804 100644 Binary files a/firmware/html.zip and b/firmware/html.zip differ diff --git a/sd-card/config/config.ini b/sd-card/config/config.ini index 7df6ec31..4d14d2e5 100644 --- a/sd-card/config/config.ini +++ b/sd-card/config/config.ini @@ -7,8 +7,8 @@ ImageSize = VGA [Alignment] InitalRotate=180 -/config/ref0.jpg 119, 273 -/config/ref1.jpg 456, 138 +/config/ref0.jpg 119 273 +/config/ref1.jpg 456 138 SearchFieldX = 20 SearchFieldY = 20 @@ -18,43 +18,43 @@ Model = /config/dig0720s1.tflite ;LogImageLocation = /log/digit ;LogfileRetentionInDays = 3 ModelInputSize = 20 32 -digit1, 306, 120, 37, 67 -digit2, 355, 120, 37, 67 -digit3, 404, 120, 37, 67 +digit1 306 120 37 67 +digit2 355 120 37 67 +digit3 404 120 37 67 [Analog] Model = /config/ana0630s2.tflite ;LogImageLocation = /log/analog ;LogfileRetentionInDays = 3 ModelInputSize = 32 32 -analog1, 444, 225, 92, 92 -analog2, 391, 329, 92, 92 -analog3, 294, 369, 92, 92 -analog4, 168, 326, 92, 92 +analog1 444 225 92 92 +analog2 391 329 92 92 +analog3 294 369 92 92 +analog4 168 326 92 92 [PostProcessing] DecimalShift = 0 -PreValueUse = True +PreValueUse = true PreValueAgeStartup = 720 -AllowNegativeRates = False +AllowNegativeRates = false MaxRateValue = 0.1 -ErrorMessage = True -CheckDigitIncreaseConsistency = True +ErrorMessage = true +CheckDigitIncreaseConsistency = true [MQTT] -;Uri = mqtt://IP-ADRESS:1883 -;Topic = wasserzaehler/zaehlerstand -;TopicError = wasserzaehler/error -;ClientID = wasser +Uri = mqtt://IP-ADRESS:1883 +Topic = wasserzaehler/zaehlerstand +TopicError = wasserzaehler/error +ClientID = wasser ;user = USERNAME ;password = PASSWORD [AutoTimer] -AutoStart = True +AutoStart = true Intervall = 4.85 [Debug] -Logfile = False +Logfile = false LogfileRetentionInDays = 3 [System] diff --git a/sd-card/html/edit_config_param.html b/sd-card/html/edit_config_param.html index b07c82d0..1b995808 100644 --- a/sd-card/html/edit_config_param.html +++ b/sd-card/html/edit_config_param.html @@ -24,7 +24,6 @@ textarea {
-|
@@ -39,6 +38,8 @@ textarea {
+ |