## Config.ini:

Expertenmodus

Enable | Parameter | Value | Information
--- | --- | --- | ---

#### MakeImage

| LogImageLocation |  | Location to store raw images for logging
<td"> | 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")

#### 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")

#### Digits

| Model |  | path to CNN model file for image recognition (in seconds)
| LogImageLocation |  | Location to store separated digits for logging
<td"> | 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 (in seconds)
| LogImageLocation |  | Location to store separated digits for logging
<td"> | LogfileRetentionInDays |  | Time to keep the separated digit images (in days -"0" = forever)
| 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
<td"> | LogfileRetentionInDays |  | Time to keep the log files (in days - "0" = forever)

#### System

<td"> | TimeZone |  | Time zone in POSIX syntax (Europe/Berlin = "CET-1CEST,M3.5.0,M10.5.0/3" - incl. daylight saving)
<td"> | TimeServer |  | Time server to synchronize system time (default: "pool.ntp.org" - used if nothing is specified)