Back to Ai On The Edge Device

Configuration

sd-card/html/edit_config_template.html

16.1.011.8 KB
Original Source

Configuration

CLICK HERE for usage description. More infos in documentation: Parameter

This page lists all available configuration parameters of the device.
The description of each parameter can be shown by hovering over or by clicking the icon.

The page gets opened with the default view which should be sufficient for regular configuration tasks. Enabling the "Show Expert Parameters" some expert parameters (light red background color) will be added to the parameter list. Additionally the button "Edit "Config.ini" File" to edit the underlaying configuration file (config.ini) manually is now shown on top of the page. This function should be only used for special cases.

Sections (entire functionality) or single parameters having a checkbox can be enabled or disabled. Disabling a complete section results in a disabled functionality. Whenever only a single parameter of a section is disabled the hard-coded default value is used for the disabled parameter.

Don't forget to save the changes with the button "Save Config" at the bottom of this page.
To apply the new configuration a restart of the device is neccessary: "Reboot to apply changes"


|

Configuration View

| | Show Expert Parameters | Edit Config file in raw mode | |

Take Image

| | Raw Images Location | | $TOOLTIP_TakeImage_RawImagesLocation | | Raw Images Retention | Days | $TOOLTIP_TakeImage_RawImagesRetention | | Wait Before Taking Picture | Seconds | $TOOLTIP_TakeImage_WaitBeforeTakingPicture | | CamGainceiling | x2x4x8x16x32x64x128 | $TOOLTIP_TakeImage_CamGainceiling | | Image Quality | | $TOOLTIP_TakeImage_CamQuality | | Brightness | | $TOOLTIP_TakeImage_CamBrightness | | Contrast | | $TOOLTIP_TakeImage_CamContrast | | Saturation | | $TOOLTIP_TakeImage_CamSaturation | | AutoSharpness | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamAutoSharpness | | Sharpness | | $TOOLTIP_TakeImage_CamSharpness | | SpecialEffect | no effectnegativegrayscaleredgreenblueretro | $TOOLTIP_TakeImage_CamSpecialEffect | | White Balance Mode | autosunnycloudyofficehome | $TOOLTIP_TakeImage_CamWbMode | | White Balance | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamAwb | | Auto White Balance | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamAwbGain | | Auto-Exposure Control | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamAec | | Auto-Exposure Control 2 | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamAec2 | | Auto Exposure Level | | $TOOLTIP_TakeImage_CamAeLevel | | Auto Exposure Value | | $TOOLTIP_TakeImage_CamAecValue | | Auto Gain | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamAgc | | Gain Manual Value | | $TOOLTIP_TakeImage_CamAgcGain | | Black Pixel Correction | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamBpc | | White Pixel Correction | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamWpc | | CamRawGma | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamRawGma | | Lens Correction | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamLenc | | Mirror Image | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamHmirror | | Flip Image | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamVflip | | Downsize | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamDcw | | Denoise | | $TOOLTIP_TakeImage_CamDenoise | | Zoom | enabled (true)disabled (false) | $TOOLTIP_TakeImage_CamZoom | | Zoom Size | | $TOOLTIP_TakeImage_CamZoomSize | | Zoom Offset X | Pixel | $TOOLTIP_TakeImage_CamZoomOffsetX | | Zoom Offset Y | Pixel | $TOOLTIP_TakeImage_CamZoomOffsetY | | LED Intensity | | $TOOLTIP_TakeImage_LEDIntensity | | Demo Mode | enabled (true)disabled (false) | $TOOLTIP_TakeImage_Demo | |

Alignment

| | Search Field X | Pixel | $TOOLTIP_Alignment_SearchFieldX | | Search Field Y | Pixel | $TOOLTIP_Alignment_SearchFieldY | | Alignment Algorithm | DefaultHighAccuracyFastOff | $TOOLTIP_Alignment_AlignmentAlgo | | Rotation angle | degree | $TOOLTIP_Alignment_InitialRotate | |

Digit ROI Processing

| | Model | | $TOOLTIP_Digits_Model | | CNN Good Threshold | | $TOOLTIP_Digits_CNNGoodThreshold | | ROI Images Location | | $TOOLTIP_Digits_ROIImagesLocation | | ROI Images Retention | Days | $TOOLTIP_Digits_ROIImagesRetention | |

Analog ROI Processing

| | Model | | $TOOLTIP_Analog_Model | | ROI Images Location | | $TOOLTIP_Analog_ROIImagesLocation | | ROI Images Retention | Days | $TOOLTIP_Analog_ROIImagesRetention | |

Post-Processing

| | Previous Value | enabled (true)disabled (false) | $TOOLTIP_PostProcessing_PreValueUse | | Maximum Age of Previous Value after Startup | Minutes | $TOOLTIP_PostProcessing_PreValueAgeStartup | | Skip Messages on Error | enabled (true)disabled (false) | $TOOLTIP_PostProcessing_ErrorMessage | | The following parameters are configurable individually for each number sequence: | | Allow Negative Rate | enabled (true)disabled (false) | $TOOLTIP_PostProcessing_NUMBER.AllowNegativeRates | | Decimal Shift | | $TOOLTIP_PostProcessing_NUMBER.DecimalShift | | Analog to Digit Transition Start | | $TOOLTIP_PostProcessing_NUMBER.AnalogToDigitTransitionStart | | Maximum Rate Value | | $TOOLTIP_PostProcessing_NUMBER.MaxRateValue | | Maximum Rate Type | AbsoluteChangeRateChange | $TOOLTIP_PostProcessing_NUMBER.MaxRateType | | Change Rate Threshold | | $TOOLTIP_PostProcessing_NUMBER.ChangeRateThreshold | | Extended Resolution | enabled (true)disabled (false) | $TOOLTIP_PostProcessing_NUMBER.ExtendedResolution | | Ignore Leading NaNs | enabled (true)disabled (false) | $TOOLTIP_PostProcessing_NUMBER.IgnoreLeadingNaN | | Check Digit Increase Consistency | enabled (true)disabled (false) | $TOOLTIP_PostProcessing_NUMBER.CheckDigitIncreaseConsistency | |

MQTT

| | URI | | $TOOLTIP_MQTT_Uri | | Main Topic | | $TOOLTIP_MQTT_MainTopic | | Client ID | | $TOOLTIP_MQTT_ClientID | | Username | | $TOOLTIP_MQTT_user | | Password | | $TOOLTIP_MQTT_password | | Root CA Certificate file | | $TOOLTIP_MQTT_CACert | | Client Certificate file | | $TOOLTIP_MQTT_ClientCert | | Client Key file | | $TOOLTIP_MQTT_ClientKey | | Validate ServerCert | enabled (true)disabled (false) | $TOOLTIP_MQTT_ValidateServerCert | | Retain Messages | enabled (true)disabled (false) | $TOOLTIP_MQTT_RetainMessages | | Homeassistant Discovery (using MQTT)
If activated, the discovery topics gets automatically scheduled to sent once after device startup during state "Publish to MQTT". To schedule a retransmission: Use "Manual Control > Resend HA Discovery" or call REST API: http://<IP>/mqtt_publish_discovery | | Homeassistant Discovery | enabled (true)disabled (false) | $TOOLTIP_MQTT_HomeassistantDiscovery | | Meter Type | Other (no Units)Watermeter (Value: m³, Rate: m³/h)Watermeter (Value: l, Rate: l/h) ⚠️ Not supported by Homeassistant 2025.7 and later! ⚠️Watermeter (Value: gal, Rate: gal/h) ⚠️ Not supported by Homeassistant 2025.7 and later! ⚠️Watermeter (Value: gal, Rate: gal/min)Watermeter (Value: ft³, Rate: ft³/min)Gasmeter (Value: m³, Rate: m³/h)Gasmeter (Value: ft³, Rate: ft³/min)Energymeter (Value: Wh, Rate: W)Energymeter (Value: kWh, Rate: kW)Energymeter (Value: MWh, Rate: MW)Energymeter (Value: GJ, Rate: GJ/h) ⚠️ Not supported by Homeassistant 2025.7 and later! ⚠️Thermometer (Value: °C, Rate: °C/min)Thermometer (Value: °F, Rate: °F/min)Thermometer (Value: K, Rate: K/min) | $TOOLTIP_MQTT_MeterType | | Domoticz "in" topic | | $TOOLTIP_MQTT_DomoticzTopicIn | | The following parameters are configurable individually for each number sequence: | | Domoticz Counter Idx: | | $TOOLTIP_MQTT_NUMBER.DomoticzIDX | |

InfluxDB v1.x

| | URI | | $TOOLTIP_InfluxDB_Uri | | Database | | $TOOLTIP_InfluxDB_Database | | Username | | $TOOLTIP_InfluxDB_user | | Password | | $TOOLTIP_InfluxDB_password | | Parameter per number sequence: | | Measurement | | $TOOLTIP_InfluxDB_NUMBER.Measurement | | Field | | $TOOLTIP_InfluxDB_NUMBER.Field | |

InfluxDB v2.x

| | URI | | $TOOLTIP_InfluxDBv2_Uri | | Bucket | | $TOOLTIP_InfluxDBv2_Bucket | | Organization (Org) | | $TOOLTIP_InfluxDBv2_Org | | Token | | $TOOLTIP_InfluxDBv2_Token | | Parameter per number sequence: | | Measurement | | $TOOLTIP_InfluxDBv2_NUMBER.Measurement | | Field | | $TOOLTIP_InfluxDBv2_NUMBER.Field | |

Webhook

| | URI | | $TOOLTIP_Webhook_Uri | | ApiKey | | $TOOLTIP_Webhook_ApiKey | | Upload Image | NEVERALWAYSON_ERROR | $TOOLTIP_Webhook_UploadImg | |

GPIO (General Purpose Input / Output)

| | GPIO0 Configuration | inputinput pullupinput pulldownoutput | $TOOLTIP_GPIO_IO0 | | GPIO0 Use Interrupt | disabledrising edgefalling edgerising and fallinglow level triggerhigh level trigger | | | GPIO0 PWM Duty Cycle Resolution | Bits | | | GPIO0 Enable MQTT | | | | GPIO0 Enable REST API | | | | GPIO0 Name | | | | GPIO1 Configuration | inputinput pullupinput pulldownoutput | $TOOLTIP_GPIO_IO1 | | GPIO1 Use Interrupt | disabledrising edgefalling edgerising and fallinglow level triggerhigh level trigger | | | GPIO1 PWM Duty Cycle Resolution | Bits | | | GPIO1 Enable MQTT | | | | GPIO1 Enable REST API | | | | GPIO1 Name | | | | GPIO3 Configuration | inputinput pullupinput pulldownoutput | $TOOLTIP_GPIO_IO3 | | GPIO3 Use Interrupt | disabledrising edgefalling edgerising and fallinglow level triggerhigh level trigger | | | GPIO3 PWM Duty Cycle Resolution | Bits | | | GPIO3 Enable MQTT | | | | GPIO3 Enable REST API | | | | GPIO3 Name | | | | GPIO4 Configuration | inputinput pullupinput pulldownoutputbuilt-in led flash light | $TOOLTIP_GPIO_IO4 | | IMPORTANT NOTE:
If you'd like to use the built-in flash LED in parallel with other GPIO functionality, you have to explicitely activate the "built-in LED flash light" option on GPIO4. The light intensity control (PWM) of the LED flash light is not functional anymore (only 100%). | | GPIO4 Use Interrupt | disabledrising edgefalling edgerising and fallinglow level triggerhigh level trigger | | | GPIO4 PWM Duty Cycle Resolution | Bits | | | GPIO4 Enable MQTT | | | | GPIO4 Enable REST API | | | | GPIO4 Name | | | | GPIO12 Configuration | inputinput pullupinput pulldownoutputexternal flash light ws281x controlled | $TOOLTIP_GPIO_IO12 | | GPIO12 Use Interrupt | disabledrising edgefalling edgerising and fallinglow level triggerhigh level trigger | | | GPIO12 PWM Duty Cycle Resolution | Bits | | | GPIO12 Enable MQTT | | | | GPIO12 Enable REST API | | | | GPIO12 Name | | | | LED Type (NeoPixel) | WS2812WS2812BSK6812WS2813 (not tested) | $TOOLTIP_GPIO_LEDType | | Numbers of LEDs | | $TOOLTIP_GPIO_LEDNumbers | | LED Color | R | $TOOLTIP_GPIO_LEDColor | | | G | | | B | | GPIO13 Configuration | inputinput pullupinput pulldownoutput | $TOOLTIP_GPIO_IO13 | | GPIO13 Use Interrupt | disabledrising edgefalling edgerising and fallinglow level triggerhigh level trigger | | | GPIO13 PWM Duty Cycle Resolution | Bits | | | GPIO13 Enable MQTT | | | | GPIO13 Enable REST API | | | | GPIO13 Name | | | |

Auto Timer

| | Round Interval | Minutes | $TOOLTIP_AutoTimer_Interval | |

Data Logging

| | Data Logging | enabled (true)disabled (false) | $TOOLTIP_DataLogging_DataLogActive | | Data Files Retention | Days | $TOOLTIP_DataLogging_DataFilesRetention | |

Debug

| | Logfile Log Level | ERROR WARNINGINFODEBUG | $TOOLTIP_Debug_LogLevel | | Logfiles Retention | Days | $TOOLTIP_Debug_LogfilesRetention | |

System

| | Time Zone

|

Use timezones to find your settings

| $TOOLTIP_System_TimeZone | | Time Server (NTP) | | $TOOLTIP_System_TimeServer | | Hostname | | $TOOLTIP_System_Hostname | | RSSI Threshold | dBm | $TOOLTIP_System_RSSIThreshold | | CPU Frequency | 160 MHz240 MHz | $TOOLTIP_System_CPUFrequency | | Tooltip | enabled (true)disabled (false) | |


Save Config