## Config.ini: | Expertenmodus

Enable | Parameter | Value | Information
--- | --- | --- | ---
#### MakeImage
| LogImageLocation |  | Location to store raw images for logging
| LogfileRetentionInDays |  | Time to keep the raw image (in days -"0" = forever)
| WaitBeforeTakingPicture |  | Wait time between illumination switch on and take the picture (in seconds)
| ImageQuality |  | Quality index for picture (default = "5" - "0" high ... "63" low)
| ImageSize |  | Picture size camera (default = "VGA")
| Brightness |  | Image Brightness (-2 .. 2 - default = "0")
| FixedExposure |  | Fixes the illumination setting of camera at the startup and uses this later --> individual round is faster
#### Alignment
| SearchFieldX |  | x size (width) in which the reference is searched (default = "20")
| SearchFieldY |  | y size (height) in which the reference is searched (default = "20")
| AlignmentAlgo |  | "Default" = use only R-Channel, "HighAccurity" = use all Channels (RGB, 3x slower), "Fast" (First time RGB, then only check if image is shifted)
#### Digits
| Model |  | path to CNN model file for image recognition
| LogImageLocation |  | Location to store separated digits for logging
| LogfileRetentionInDays |  | Time to keep the separated digit images (in days -"0" = forever)
| ModelInputSize | x: y: | Size of the input image for the CNN model
#### Analog
| Model |  | path to CNN model file for image recognition
| LogImageLocation |  | Location to store separated digits for logging
| LogfileRetentionInDays |  | Time to keep the separated digit images (in days -"0" = forever)
| ExtendedResolution |  | Enable to use the after point resolution for the last analog counter
ExtendedResolution
| ModelInputSize | x: y: | Size of the input image for the CNN model
#### PostProcessing
| DecimalShift |  | shift the digit separator within the digital digits (positiv and negativ)
| PreValueUse |  | Enable to use the previous read value for consistency checks - also on reboots
| PreValueAgeStartup |  | Time (in minutes), how long a previous read value is valid after reboot (default = 720 min)
| AllowNegativeRates |  | Set on "false" to ensure, that only positive changes are accepted (typically for counter)
| MaxRateValue |  | Maximum change of reading from one to the next readout
| ErrorMessage |  | Do not show error message in return value - in error case, the last valid number will be send out
| CheckDigitIncreaseConsistency |  | Activate to enalbe additional consistency check - especially zero crossing check between digits
#### MQTT
| Uri |  | URI to the MQTT broker including port: http:\\IP-ADRESS:port
| Topic |  | MQTT topic, in which the value is registered
| TopicError |  | MQTT topic, in which the error status is reported (empty = no error)
| ClientID |  | ClientID to connect to the MQTT broker
| user |  | user for MQTT authenficiation
| password |  | password for MQTT authenficiation
#### AutoTimer
| AutoStart |  | Start the image recognition immediatly after power up. false is basically for debugging.
| Intervall |  | Intervall in which the counter is read (in minutes). Number must be greater than 3 minutes.
#### Debug
| Logfile |  | Turn on/off the extended logging
| LogfileRetentionInDays |  | Time to keep the log files (in days - "0" = forever)
#### System
| TimeZone |  | Time zone in POSIX syntax (Europe/Berlin = "CET-1CEST,M3.5.0,M10.5.0/3" - incl. daylight saving)
| TimeServer |  | Time server to synchronize system time (default: "pool.ntp.org" - used if nothing is specified)
| Hostname |  | Hostname for server - will be transfered to wlan.ini at next startup)