Files
AI-on-the-edge-device-docs/Parameters/index.html
2023-02-10 22:45:18 +00:00

1346 lines
67 KiB
HTML

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="canonical" href="https://jomjol.github.io/AI-on-the-edge-device-docs/Parameters/" />
<link rel="shortcut icon" href="../img/favicon.ico" />
<title>Parameters - AI on the Edge Device</title>
<link rel="stylesheet" href="../css/theme.css" />
<link rel="stylesheet" href="../css/theme_extra.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
<script>
// Current page data
var mkdocs_page_name = "Parameters";
var mkdocs_page_input_path = "Parameters.md";
var mkdocs_page_url = "/AI-on-the-edge-device-docs/Parameters/";
</script>
<script src="../js/jquery-3.6.0.min.js" defer></script>
<!--[if lt IE 9]>
<script src="../js/html5shiv.min.js"></script>
<![endif]-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<img src=https://jomjol.github.io/AI-on-the-edge-device-docs//img/logo.png>
<a href=".." class="icon icon-home"> AI on the Edge Device
</a><div role="search">
<form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption"><span class="caption-text">Getting Started</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="..">Welcome</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Installation/">Installation</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../initial-setup/">Initial Setup</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Hardware-Compatibility/">Hardware Compatibility</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Best-Practice/">Best Practice</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../FAQs/">Frequently Asked Questions</a>
</li>
</ul>
<p class="caption"><span class="caption-text">External Links</span></p>
<ul>
<li class="toctree-l1"><a class="" href="https://github.com/jomjol/AI-on-the-edge-device/releases">Releases</a>
</li>
<li class="toctree-l1"><a class="" href="https://jomjol.github.io/AI-on-the-edge-device/index.html">Web Installer/Console</a>
</li>
<li class="toctree-l1"><a class="" href="https://github.com/jomjol/AI-on-the-edge-device/issues">Place an Issue</a>
</li>
<li class="toctree-l1"><a class="" href="https://github.com/jomjol/AI-on-the-edge-device/discussions">Join a Discussion</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Configuration</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../ROI-Configuration/">ROI (Region of Interest)</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Choosing-the-Model/">Model Selection</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Neural-Network-Types/">Neural Network Types</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../ota/">Over-The-Air (OTA) Update</a>
</li>
<li class="toctree-l1 current"><a class="reference internal current" href="./">Parameters</a>
<ul class="current">
<li class="toctree-l2"><a class="reference internal" href="#list-of-all-parameters">List of all Parameters</a>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-alignment">Section Alignment</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-alignmentalgo">Parameter AlignmentAlgo</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-flipimagesize">Parameter FlipImageSize</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-initialmirror">Parameter InitialMirror</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-initialrotate">Parameter InitialRotate</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-searchfieldx">Parameter SearchFieldX</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-searchfieldy">Parameter SearchFieldY</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-analog">Section Analog</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-cnngoodthreshold">Parameter CNNGoodThreshold</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-extendedresolution">Parameter ExtendedResolution</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-logimagelocation">Parameter LogImageLocation</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-logfileretentionindays">Parameter LogfileRetentionInDays</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-model">Parameter Model</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-autotimer">Section AutoTimer</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-autostart">Parameter AutoStart</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-intervall">Parameter Intervall</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-datalogging">Section DataLogging</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-datalogactive">Parameter DataLogActive</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-datalogretentionindays">Parameter DataLogRetentionInDays</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-debug">Section Debug</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-logfile">Parameter Logfile</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-logfileretentionindays_1">Parameter LogfileRetentionInDays</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-digits">Section Digits</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-cnngoodthreshold_1">Parameter CNNGoodThreshold</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-logimagelocation_1">Parameter LogImageLocation</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-logfileretentionindays_2">Parameter LogfileRetentionInDays</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-model_1">Parameter Model</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-gpio">Section GPIO</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-io0">Parameter IO0</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-io1">Parameter IO1</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-io12">Parameter IO12</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-io13">Parameter IO13</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-io3">Parameter IO3</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-io4">Parameter IO4</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-ledcolor">Parameter LEDColor</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-lednumbers">Parameter LEDNumbers</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-ledtype">Parameter LEDType</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-maintopicmqtt">Parameter MainTopicMQTT</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-influxdb">Section InfluxDB</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-database">Parameter Database</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-measurement">Parameter Measurement</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-uri">Parameter Uri</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-password">Parameter password</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-user">Parameter user</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-mqtt">Section MQTT</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-clientid">Parameter ClientID</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-homeassistantdiscovery">Parameter HomeassistantDiscovery</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-maintopic">Parameter MainTopic</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-metertype">Parameter MeterType</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-setretainflag">Parameter SetRetainFlag</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-uri_1">Parameter Uri</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-password_1">Parameter password</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-user_1">Parameter user</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-makeimage">Section MakeImage</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-brightness">Parameter Brightness</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-contrast">Parameter Contrast</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-demo">Parameter Demo</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-fixedexposure">Parameter FixedExposure</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-imagequality">Parameter ImageQuality</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-imagesize">Parameter ImageSize</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-ledintensity">Parameter LEDIntensity</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-logimagelocation_2">Parameter LogImageLocation</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-logfileretentionindays_3">Parameter LogfileRetentionInDays</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-saturation">Parameter Saturation</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-waitbeforetakingpicture">Parameter WaitBeforeTakingPicture</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-postprocessing">Section PostProcessing</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-allownegativerates">Parameter AllowNegativeRates</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-checkdigitincreaseconsistency">Parameter CheckDigitIncreaseConsistency</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-errormessage">Parameter ErrorMessage</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-numbersallownegativerates">Parameter &lt;NUMBERS&gt;.AllowNegativeRates</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberanalogdigitaltransitionstart">Parameter &lt;NUMBER&gt;.AnalogDigitalTransitionStart</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberdecimalshift">Parameter &lt;NUMBER&gt;.DecimalShift</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberextendedresolution">Parameter &lt;NUMBER&gt;.ExtendedResolution</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberignoreleadingnan">Parameter &lt;NUMBER&gt;.IgnoreLeadingNaN</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-numbermaxratetype">Parameter &lt;NUMBER&gt;.MaxRateType</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-numbermaxratevalue">Parameter &lt;NUMBER&gt;.MaxRateValue</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-prevalueagestartup">Parameter PreValueAgeStartup</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-prevalueuse">Parameter PreValueUse</a>
</li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#section-system">Section System</a>
<ul>
<li class="toctree-l3"><a class="reference internal" href="#parameter-autoadjustsummertime">Parameter AutoAdjustSummertime</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-hostname">Parameter Hostname</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-rssithreashold">Parameter RSSIThreashold</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-setupmode">Parameter SetupMode</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-timeserver">Parameter TimeServer</a>
</li>
<li class="toctree-l3"><a class="reference internal" href="#parameter-timezone">Parameter TimeZone</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<p class="caption"><span class="caption-text">Advanced</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../Integration-Home-Assistant/">Integration into Home Assistant</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../External-LED/">External LED</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../rolling-installation/">Living on the Edge</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Configuration-Parameter-Details/">Configuration Parameter Details</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Configuration/">Configuration</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Watermeter-specific-analog---digital-transition/">Analog/Digital Transition on Water Meters</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../collect-new-images/">Collect images to improve the models</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Learn-models-with-your-own-images/">Learn a model with your own images</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Correction%20Algorithm/">Correction Algorithm</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Additional-Information/">Additional Information</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../New-Releases-Notification/">Notification about new Releases</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Troubleshooting</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../Error-Codes/">Error Codes</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Error-Debugging/">Error Debugging</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Frequent-Reboots/">Frequent Reboots</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Demo-Mode/">Demo Mode</a>
</li>
</ul>
<p class="caption"><span class="caption-text">API's</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../REST-API/">REST API</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../MQTT-API/">MQTT API</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Influx-DB/">Influx DB</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Development</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../Build-Instructions/">Build the Project</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Upload-files-by-script/">Scripted File Upload</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Testing/">Testing</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../Release-creation/">Preparing for Release</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Old Pages (no longer maintained)</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../outdated--Integrated-Functions/">Integrated Functions</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../outdated--Gasmeter-Log-Downloader/">Gas Meter Log Downloader</a>
</li>
<li class="toctree-l1"><a class="reference internal" href="../outdated--Migrate-Old-Config-To-New-Config/">Migration from water-meter „old“ to water-meter “AI-on-the-edge-device”</a>
</li>
</ul>
<p class="caption"><span class="caption-text">Assorted Pages</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../Graphical-Configuration/">Graphical Configuration</a>
</li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="..">AI on the Edge Device</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href=".." class="icon icon-home" alt="Docs"></a> &raquo;</li>
<li>Configuration &raquo;</li>
<li>Parameters</li>
<li class="wy-breadcrumbs-aside">
<a href="https://github.com/jomjol/AI-on-the-edge-device-docs/edit/main/docs/Parameters.md" class="icon icon-github"> Edit on GitHub</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div class="section" itemprop="articleBody">
<h1 id="parameters">Parameters</h1>
<p>This page lists all available <a href="../Configuration">Configuration</a> Parameters.</p>
<p>If a parameter or section has a tick box on its left side, you can disable it.
In such case the functionality gets disabled respectively the default values will be used.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This is an auto-generated page! See the <a href="https://github.com/jomjol/AI-on-the-edge-device-docs/blob/main/README.md">README</a> for details!</p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Due to a typo, one of the sections is called <code>MakeImage</code> instead of <code>TakeImage</code>!
For backwards compatibility, this did not get changed.</p>
</div>
<h2 id="list-of-all-parameters">List of all Parameters</h2>
<p><a href="#alignment">Alignment</a></p>
<ul>
<li><a href="#Alignment-AlignmentAlgo"><code>AlignmentAlgo</code></a></li>
<li><a href="#Alignment-FlipImageSize"><code>FlipImageSize</code></a></li>
<li><a href="#Alignment-InitialMirror"><code>InitialMirror</code></a></li>
<li><a href="#Alignment-InitialRotate"><code>InitialRotate</code></a></li>
<li><a href="#Alignment-SearchFieldX"><code>SearchFieldX</code></a></li>
<li><a href="#Alignment-SearchFieldY"><code>SearchFieldY</code></a></li>
</ul>
<p><a href="#analog">Analog</a></p>
<ul>
<li><a href="#Analog-CNNGoodThreshold"><code>CNNGoodThreshold</code></a></li>
<li><a href="#Analog-ExtendedResolution"><code>ExtendedResolution</code></a></li>
<li><a href="#Analog-LogImageLocation"><code>LogImageLocation</code></a></li>
<li><a href="#Analog-LogfileRetentionInDays"><code>LogfileRetentionInDays</code></a></li>
<li><a href="#Analog-Model"><code>Model</code></a></li>
</ul>
<p><a href="#autotimer">AutoTimer</a></p>
<ul>
<li><a href="#AutoTimer-AutoStart"><code>AutoStart</code></a></li>
<li><a href="#AutoTimer-Intervall"><code>Intervall</code></a></li>
</ul>
<p><a href="#datalogging">DataLogging</a></p>
<ul>
<li><a href="#DataLogging-DataLogActive"><code>DataLogActive</code></a></li>
<li><a href="#DataLogging-DataLogRetentionInDays"><code>DataLogRetentionInDays</code></a></li>
</ul>
<p><a href="#debug">Debug</a></p>
<ul>
<li><a href="#Debug-Logfile"><code>Logfile</code></a></li>
<li><a href="#Debug-LogfileRetentionInDays"><code>LogfileRetentionInDays</code></a></li>
</ul>
<p><a href="#digits">Digits</a></p>
<ul>
<li><a href="#Digits-CNNGoodThreshold"><code>CNNGoodThreshold</code></a></li>
<li><a href="#Digits-LogImageLocation"><code>LogImageLocation</code></a></li>
<li><a href="#Digits-LogfileRetentionInDays"><code>LogfileRetentionInDays</code></a></li>
<li><a href="#Digits-Model"><code>Model</code></a></li>
</ul>
<p><a href="#gpio">GPIO</a></p>
<ul>
<li><a href="#GPIO-IO0"><code>IO0</code></a></li>
<li><a href="#GPIO-IO1"><code>IO1</code></a></li>
<li><a href="#GPIO-IO12"><code>IO12</code></a></li>
<li><a href="#GPIO-IO13"><code>IO13</code></a></li>
<li><a href="#GPIO-IO3"><code>IO3</code></a></li>
<li><a href="#GPIO-IO4"><code>IO4</code></a></li>
<li><a href="#GPIO-LEDColor"><code>LEDColor</code></a></li>
<li><a href="#GPIO-LEDNumbers"><code>LEDNumbers</code></a></li>
<li><a href="#GPIO-LEDType"><code>LEDType</code></a></li>
<li><a href="#GPIO-MainTopicMQTT"><code>MainTopicMQTT</code></a></li>
</ul>
<p><a href="#influxdb">InfluxDB</a></p>
<ul>
<li><a href="#InfluxDB-Database"><code>Database</code></a></li>
<li><a href="#InfluxDB-Measurement"><code>Measurement</code></a></li>
<li><a href="#InfluxDB-Uri"><code>Uri</code></a></li>
<li><a href="#InfluxDB-password"><code>password</code></a></li>
<li><a href="#InfluxDB-user"><code>user</code></a></li>
</ul>
<p><a href="#mqtt">MQTT</a></p>
<ul>
<li><a href="#MQTT-ClientID"><code>ClientID</code></a></li>
<li><a href="#MQTT-HomeassistantDiscovery"><code>HomeassistantDiscovery</code></a></li>
<li><a href="#MQTT-MainTopic"><code>MainTopic</code></a></li>
<li><a href="#MQTT-MeterType"><code>MeterType</code></a></li>
<li><a href="#MQTT-SetRetainFlag"><code>SetRetainFlag</code></a></li>
<li><a href="#MQTT-Uri"><code>Uri</code></a></li>
<li><a href="#MQTT-password"><code>password</code></a></li>
<li><a href="#MQTT-user"><code>user</code></a></li>
</ul>
<p><a href="#makeimage">MakeImage</a></p>
<ul>
<li><a href="#MakeImage-Brightness"><code>Brightness</code></a></li>
<li><a href="#MakeImage-Contrast"><code>Contrast</code></a></li>
<li><a href="#MakeImage-Demo"><code>Demo</code></a></li>
<li><a href="#MakeImage-FixedExposure"><code>FixedExposure</code></a></li>
<li><a href="#MakeImage-ImageQuality"><code>ImageQuality</code></a></li>
<li><a href="#MakeImage-ImageSize"><code>ImageSize</code></a></li>
<li><a href="#MakeImage-LEDIntensity"><code>LEDIntensity</code></a></li>
<li><a href="#MakeImage-LogImageLocation"><code>LogImageLocation</code></a></li>
<li><a href="#MakeImage-LogfileRetentionInDays"><code>LogfileRetentionInDays</code></a></li>
<li><a href="#MakeImage-Saturation"><code>Saturation</code></a></li>
<li><a href="#MakeImage-WaitBeforeTakingPicture"><code>WaitBeforeTakingPicture</code></a></li>
</ul>
<p><a href="#postprocessing">PostProcessing</a></p>
<ul>
<li><a href="#PostProcessing-AllowNegativeRates"><code>AllowNegativeRates</code></a></li>
<li><a href="#PostProcessing-CheckDigitIncreaseConsistency"><code>CheckDigitIncreaseConsistency</code></a></li>
<li><a href="#PostProcessing-ErrorMessage"><code>ErrorMessage</code></a></li>
<li><a href="#PostProcessing-NUMBER.AllowNegativeRates"><code>NUMBER.AllowNegativeRates</code></a></li>
<li><a href="#PostProcessing-NUMBER.AnalogDigitalTransitionStart"><code>NUMBER.AnalogDigitalTransitionStart</code></a></li>
<li><a href="#PostProcessing-NUMBER.DecimalShift"><code>NUMBER.DecimalShift</code></a></li>
<li><a href="#PostProcessing-NUMBER.ExtendedResolution"><code>NUMBER.ExtendedResolution</code></a></li>
<li><a href="#PostProcessing-NUMBER.IgnoreLeadingNaN"><code>NUMBER.IgnoreLeadingNaN</code></a></li>
<li><a href="#PostProcessing-NUMBER.MaxRateType"><code>NUMBER.MaxRateType</code></a></li>
<li><a href="#PostProcessing-NUMBER.MaxRateValue"><code>NUMBER.MaxRateValue</code></a></li>
<li><a href="#PostProcessing-PreValueAgeStartup"><code>PreValueAgeStartup</code></a></li>
<li><a href="#PostProcessing-PreValueUse"><code>PreValueUse</code></a></li>
</ul>
<p><a href="#system">System</a></p>
<ul>
<li><a href="#System-AutoAdjustSummertime"><code>AutoAdjustSummertime</code></a></li>
<li><a href="#System-Hostname"><code>Hostname</code></a></li>
<li><a href="#System-RSSIThreashold"><code>RSSIThreashold</code></a></li>
<li><a href="#System-SetupMode"><code>SetupMode</code></a></li>
<li><a href="#System-TimeServer"><code>TimeServer</code></a></li>
<li><a href="#System-TimeZone"><code>TimeZone</code></a></li>
</ul>
<hr style="border:2px solid">
<h2 id="section-alignment">Section <code>Alignment</code></h2>
<p><a id=Alignment-AlignmentAlgo></a></p>
<h3 id="parameter-alignmentalgo">Parameter <code>AlignmentAlgo</code></h3>
<p>Default Value: <code>Default</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Algorithm used for the alignment step.</p>
<p>Available options:</p>
<ul>
<li><code>Default</code>: Use only red color channel</li>
<li><code>HighAccuracy</code>: Use all 3 color Channels (3x slower)</li>
<li><code>Fast</code>: First time use <code>HighAccuracy</code>, then only check if the image is shifted</li>
</ul>
<hr style="border:2px solid">
<p><a id=Alignment-FlipImageSize></a></p>
<h3 id="parameter-flipimagesize">Parameter <code>FlipImageSize</code></h3>
<p>Default Value: <code>false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This parameter is not accessible through the Web Interface Configuration Page!</p>
</div>
<p>This parameter can be used to rotate the viewport together with the alignment rotation:</p>
<p><img alt="" src="../img/flipImageSize.png" /> </p>
<hr style="border:2px solid">
<p><a id=Alignment-InitialMirror></a></p>
<h3 id="parameter-initialmirror">Parameter <code>InitialMirror</code></h3>
<p>Default Value: <code>false</code></p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This parameter is not accessible through the Web Interface Configuration Page!</p>
</div>
<p>Please fill me with an explanation and useful links</p>
<hr style="border:2px solid">
<p><a id=Alignment-InitialRotate></a></p>
<h3 id="parameter-initialrotate">Parameter <code>InitialRotate</code></h3>
<p>Default Value: <code>179</code></p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This parameter is not accessible through the Web Interface Configuration Page!</p>
</div>
<p>Please fill me with an explanation and useful links</p>
<hr style="border:2px solid">
<p><a id=Alignment-SearchFieldX></a></p>
<h3 id="parameter-searchfieldx">Parameter <code>SearchFieldX</code></h3>
<p>Default Value: <code>20</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p><code>x</code> size (width) in which the reference is searched.</p>
<hr style="border:2px solid">
<p><a id=Alignment-SearchFieldY></a></p>
<h3 id="parameter-searchfieldy">Parameter <code>SearchFieldY</code></h3>
<p>Default Value: <code>20</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p><code>y</code> size (height) in which the reference is searched.</p>
<hr style="border:2px solid">
<h2 id="section-analog">Section <code>Analog</code></h2>
<p><a id=Analog-CNNGoodThreshold></a></p>
<h3 id="parameter-cnngoodthreshold">Parameter <code>CNNGoodThreshold</code></h3>
<p>Default Value: <code>0.5</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Threshold above which the classification should be to accept the value (only meaningful for digits).</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is only supported for the <code>ana-class100</code> models!</p>
</div>
<hr style="border:2px solid">
<p><a id=Analog-ExtendedResolution></a></p>
<h3 id="parameter-extendedresolution">Parameter <code>ExtendedResolution</code></h3>
<p>Default Value: <code>true</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This parameter got replaced by <a href="../Parameters/#PostProcessing-NUMBER.ExtendedResolution"><code>NUMBER.ExtendedResolution</code></a>!</p>
</div>
<hr style="border:2px solid">
<p><a id=Analog-LogImageLocation></a></p>
<h3 id="parameter-logimagelocation">Parameter <code>LogImageLocation</code></h3>
<p>Default Value: <code>/log/analog</code></p>
<p>Location to store separated analog images on the SD-Card for logging.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>A SD-Card has limited write cycles. Since the device does not support <a href="https://en.wikipedia.org/wiki/Wear_leveling">Wear Leveling</a>, this can wear out your SD-Card!</p>
</div>
<hr style="border:2px solid">
<p><a id=Analog-LogfileRetentionInDays></a></p>
<h3 id="parameter-logfileretentionindays">Parameter <code>LogfileRetentionInDays</code></h3>
<p>Default Value: <code>3</code></p>
<p>Days to keep the separated analog images (<code>0</code> = forever).</p>
<hr style="border:2px solid">
<p><a id=Analog-Model></a></p>
<h3 id="parameter-model">Parameter <code>Model</code></h3>
<p>Default Value: <code>/config/ana-cont_11.3.1_s2.tflite</code></p>
<p>Path to CNN model file for image recognition. See <a href="../Choosing-the-Model">here</a> for details. </p>
<hr style="border:2px solid">
<h2 id="section-autotimer">Section <code>AutoTimer</code></h2>
<p><a id=AutoTimer-AutoStart></a></p>
<h3 id="parameter-autostart">Parameter <code>AutoStart</code></h3>
<p>Default Value: <code>true</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Automatically start the Flow (Digitization Rounds) immediately after power up.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Typically this is set to <code>true</code>.
The only reason to set it to <code>false</code> is debugging or if you want to trigger it manually using the <a href="../REST-API">REST API</a> or <a href="../MQTT-API">MQTT-API</a>.</p>
</div>
<hr style="border:2px solid">
<p><a id=AutoTimer-Intervall></a></p>
<h3 id="parameter-intervall">Parameter <code>Intervall</code></h3>
<p>Default Value: <code>5</code></p>
<p>Interval in minutes in which the Flow (Digitization Round) is run.
If a rund takes longer than this interval, the next round gets postponed until the current round completes.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Due to a typo, it is called <code>Intervall</code> instead of <code>Interval</code>.
For backwards compatibility, this did not get changed.</p>
</div>
<hr style="border:2px solid">
<h2 id="section-datalogging">Section <code>DataLogging</code></h2>
<p><a id=DataLogging-DataLogActive></a></p>
<h3 id="parameter-datalogactive">Parameter <code>DataLogActive</code></h3>
<p>Default Value: <code>true</code></p>
<p>Activate data logging to SD-Card.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>A SD-Card has limited write cycles. Since the device does not support <a href="https://en.wikipedia.org/wiki/Wear_leveling">Wear Leveling</a>, this can wear out your SD-Card!</p>
</div>
<hr style="border:2px solid">
<p><a id=DataLogging-DataLogRetentionInDays></a></p>
<h3 id="parameter-datalogretentionindays">Parameter <code>DataLogRetentionInDays</code></h3>
<p>Default Value: <code>3</code></p>
<p>Number of days to keep the data files (<code>0</code> = forever).</p>
<hr style="border:2px solid">
<h2 id="section-debug">Section <code>Debug</code></h2>
<p><a id=Debug-Logfile></a></p>
<h3 id="parameter-logfile">Parameter <code>Logfile</code></h3>
<p>Default Value: <code>1</code> (<code>ERROR</code>)</p>
<p>Define the log level for the logging to the SD-Card.</p>
<p>Available options:</p>
<ul>
<li><code>1</code>: <code>ERROR</code></li>
<li><code>2</code>: <code>WARNING</code></li>
<li><code>3</code>: <code>INFO</code></li>
<li><code>4</code>: <code>DEBUG</code></li>
</ul>
<p>As higher the level, as more log messages get written to the SD-Card.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p><code>DEBUG</code> or <code>INFO</code> might damage the SD-Card if enabled long term due to excessive writes to the SD-Card!
A SD-Card has limited write cycles. Since the device does not support <a href="https://en.wikipedia.org/wiki/Wear_leveling">Wear Leveling</a>, this can wear out your SD-Card!</p>
</div>
<hr style="border:2px solid">
<p><a id=Debug-LogfileRetentionInDays></a></p>
<h3 id="parameter-logfileretentionindays_1">Parameter <code>LogfileRetentionInDays</code></h3>
<p>Default Value: <code>3</code></p>
<p>Number of days to keep the log files (<code>0</code> = forever).</p>
<hr style="border:2px solid">
<h2 id="section-digits">Section <code>Digits</code></h2>
<p><a id=Digits-CNNGoodThreshold></a></p>
<h3 id="parameter-cnngoodthreshold_1">Parameter <code>CNNGoodThreshold</code></h3>
<p>Default Value: <code>0.5</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Threshold above which the classification should be to accept the value (only meaningful for digits).</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is only supported for the <code>dig-class100</code> models!</p>
</div>
<hr style="border:2px solid">
<p><a id=Digits-LogImageLocation></a></p>
<h3 id="parameter-logimagelocation_1">Parameter <code>LogImageLocation</code></h3>
<p>Default Value: <code>/log/digit</code></p>
<p>Location to store separated digit images on the SD-Card for logging.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>A SD-Card has limited write cycles. Since the device does not support <a href="https://en.wikipedia.org/wiki/Wear_leveling">Wear Leveling</a>, this can wear out your SD-Card!</p>
</div>
<hr style="border:2px solid">
<p><a id=Digits-LogfileRetentionInDays></a></p>
<h3 id="parameter-logfileretentionindays_2">Parameter <code>LogfileRetentionInDays</code></h3>
<p>Default Value: <code>3</code></p>
<p>Days to keep the separated digit images (<code>0</code> = forever).</p>
<hr style="border:2px solid">
<p><a id=Digits-Model></a></p>
<h3 id="parameter-model_1">Parameter <code>Model</code></h3>
<p>Default Value: <code>/config/dig-cont_0600_s3.tflite</code></p>
<p>Path to CNN model file for image recognition. See <a href="../Choosing-the-Model">here</a> for details. </p>
<hr style="border:2px solid">
<h2 id="section-gpio">Section <code>GPIO</code></h2>
<p><a id=GPIO-IO0></a></p>
<h3 id="parameter-io0">Parameter <code>IO0</code></h3>
<p>Default Value: <code>input disabled 10 false false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>This parameter can be used to configure the GPIO <code>IO0</code> pin.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This pin is only usable with restrictions!
It must be disabled when the camera is used.
Additionally, it is used to activate Bootloader mode and must therefore be HIGH after a reset!</p>
</div>
<p>Parameters:</p>
<ul>
<li><code>GPIO 0 state</code>: One of <code>input</code>, <code>input pullup</code>, <code>input pulldown</code> or <code>output</code>.</li>
<li><code>GPIO 0 use interrupt</code>: Enable interrupt trigger</li>
<li><code>GPIO 0 PWM duty resolution</code>: LEDC PWM duty resolution in bit</li>
<li><code>GPIO 0 enable MQTT</code>: Enable MQTT publishing/subscribing</li>
<li><code>GPIO 0 enable HTTP</code>: Enable HTTP write/read</li>
<li><code>GPIO 0 name</code>: MQTT topic name (empty = <code>GPIO0</code>). Allowed characters: <code>a-z, A-Z, 0-9, _, -</code>.</li>
</ul>
<hr style="border:2px solid">
<p><a id=GPIO-IO1></a></p>
<h3 id="parameter-io1">Parameter <code>IO1</code></h3>
<p>Default Value: <code>input disabled 10 false false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>This parameter can be used to configure the GPIO <code>IO1</code> pin.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This pin is by default used for the serial communication as TX pin (USB logging)!</p>
</div>
<p>Parameters:</p>
<ul>
<li><code>GPIO 1 state</code>: One of <code>input</code>, <code>input pullup</code>, <code>input pulldown</code> or <code>output</code>.</li>
<li><code>GPIO 1 use interrupt</code>: Enable interrupt trigger</li>
<li><code>GPIO 1 PWM duty resolution</code>: LEDC PWM duty resolution in bit</li>
<li><code>GPIO 1 enable MQTT</code>: Enable MQTT publishing/subscribing</li>
<li><code>GPIO 1 enable HTTP</code>: Enable HTTP write/read</li>
<li><code>GPIO 1 name</code>: MQTT topic name (empty = <code>GPIO1</code>). Allowed characters: <code>a-z, A-Z, 0-9, _, -</code>.</li>
</ul>
<hr style="border:2px solid">
<p><a id=GPIO-IO12></a></p>
<h3 id="parameter-io12">Parameter <code>IO12</code></h3>
<p>Default Value: <code>input-pullup disabled 10 false false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>This parameter can be used to configure the GPIO <code>IO12</code> pin.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This pin is usable without known restrictions!</p>
</div>
<p>Parameters:</p>
<ul>
<li><code>GPIO 12 state</code>: One of <code>external-flash-ws281x</code>, <code>input</code>, <code>input pullup</code>, <code>input pulldown</code> or <code>output</code>.</li>
<li><code>GPIO 12 use interrupt</code>: Enable interrupt trigger</li>
<li><code>GPIO 12 PWM duty resolution</code>: LEDC PWM duty resolution in bit</li>
<li><code>GPIO 12 enable MQTT</code>: Enable MQTT publishing/subscribing</li>
<li><code>GPIO 12 enable HTTP</code>: Enable HTTP write/read</li>
<li><code>GPIO 12 name</code>: MQTT topic name (empty = <code>GPIO12</code>). Allowed characters: <code>a-z, A-Z, 0-9, _, -</code>.</li>
</ul>
<hr style="border:2px solid">
<p><a id=GPIO-IO13></a></p>
<h3 id="parameter-io13">Parameter <code>IO13</code></h3>
<p>Default Value: <code>input-pullup disabled 10 false false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>This parameter can be used to configure the GPIO <code>IO13</code> pin.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This pin is usable without known restrictions!</p>
</div>
<p>Parameters:</p>
<ul>
<li><code>GPIO 13 state</code>: One of <code>input</code>, <code>input pullup</code>, <code>input pulldown</code> or <code>output</code>.</li>
<li><code>GPIO 13 use interrupt</code>: Enable interrupt trigger</li>
<li><code>GPIO 13 PWM duty resolution</code>: LEDC PWM duty resolution in bit</li>
<li><code>GPIO 13 enable MQTT</code>: Enable MQTT publishing/subscribing</li>
<li><code>GPIO 13 enable HTTP</code>: Enable HTTP write/read</li>
<li><code>GPIO 13 name</code>: MQTT topic name (empty = <code>GPIO13</code>). Allowed characters: <code>a-z, A-Z, 0-9, _, -</code>.</li>
</ul>
<hr style="border:2px solid">
<p><a id=GPIO-IO3></a></p>
<h3 id="parameter-io3">Parameter <code>IO3</code></h3>
<p>Default Value: <code>input disabled 10 false false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>This parameter can be used to configure the GPIO <code>IO3</code> pin.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This pin is by default used for the serial communication as RX pin (USB logging)!</p>
</div>
<p>Parameters:</p>
<ul>
<li><code>GPIO 3 state</code>: One of <code>input</code>, <code>input pullup</code>, <code>input pulldown</code> or <code>output</code>.</li>
<li><code>GPIO 3 use interrupt</code>: Enable interrupt trigger</li>
<li><code>GPIO 3 PWM duty resolution</code>: LEDC PWM duty resolution in bit</li>
<li><code>GPIO 3 enable MQTT</code>: Enable MQTT publishing/subscribing</li>
<li><code>GPIO 3 enable HTTP</code>: Enable HTTP write/read</li>
<li><code>GPIO 3 name</code>: MQTT topic name (empty = <code>GPIO3</code>). Allowed characters: <code>a-z, A-Z, 0-9, _, -</code>.</li>
</ul>
<hr style="border:2px solid">
<p><a id=GPIO-IO4></a></p>
<h3 id="parameter-io4">Parameter <code>IO4</code></h3>
<p>Default Value: <code>built-in-led disabled 10 false false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>This parameter can be used to configure the GPIO <code>IO4</code> pin.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This pin is only usable with restrictions!
By default, it is used for build-in flash light (onboard LED).</p>
</div>
<p>Parameters:</p>
<ul>
<li><code>GPIO 4 state</code>: One of <code>built-in-led</code>, <code>input</code>, <code>input pullup</code>, <code>input pulldown</code> or <code>output</code>.</li>
<li><code>GPIO 4 use interrupt</code>: Enable interrupt trigger</li>
<li><code>GPIO 4 PWM duty resolution</code>: LEDC PWM duty resolution in bit</li>
<li><code>GPIO 4 enable MQTT</code>: Enable MQTT publishing/subscribing</li>
<li><code>GPIO 4 enable HTTP</code>: Enable HTTP write/read</li>
<li><code>GPIO 4 name</code>: MQTT topic name (empty = <code>GPIO4</code>). Allowed characters: <code>a-z, A-Z, 0-9, _, -</code>.</li>
</ul>
<hr style="border:2px solid">
<p><a id=GPIO-LEDColor></a></p>
<h3 id="parameter-ledcolor">Parameter <code>LEDColor</code></h3>
<p>Default Value: <code>150 150 150</code></p>
<p>Color of the attached LEDs to GPIO12 in (R)ed, (G)reen (B)lue from <code>0</code> (full off) .. <code>255</code> (full on).
(See <code>IO12</code> parameter).</p>
<hr style="border:2px solid">
<p><a id=GPIO-LEDNumbers></a></p>
<h3 id="parameter-lednumbers">Parameter <code>LEDNumbers</code></h3>
<p>Default Value: <code>2</code></p>
<p>Number of LEDs on the external LED-stripe attached to GPIO12 (See <code>IO12</code> parameter).</p>
<hr style="border:2px solid">
<p><a id=GPIO-LEDType></a></p>
<h3 id="parameter-ledtype">Parameter <code>LEDType</code></h3>
<p>Default Value: <code>WS2812</code></p>
<p>Type of the <code>WS2812x</code> which is connected to GPIO12 (See <code>IO12</code> parameter).</p>
<hr style="border:2px solid">
<p><a id=GPIO-MainTopicMQTT></a></p>
<h3 id="parameter-maintopicmqtt">Parameter <code>MainTopicMQTT</code></h3>
<p>Default Value: <code>wasserzaehler/GPIO</code></p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This parameter is not accessible through the Web Interface Configuration Page!</p>
</div>
<p>Please fill me with an explanation and useful links</p>
<hr style="border:2px solid">
<h2 id="section-influxdb">Section <code>InfluxDB</code></h2>
<p><a id=InfluxDB-Database></a></p>
<h3 id="parameter-database">Parameter <code>Database</code></h3>
<p>Default Value: <code>''</code></p>
<p>Name of the Database into which to publish the values.</p>
<hr style="border:2px solid">
<p><a id=InfluxDB-Measurement></a></p>
<h3 id="parameter-measurement">Parameter <code>Measurement</code></h3>
<p>Default Value: <code>undefined</code></p>
<p>Name of the Measurement to use to publish the value.</p>
<hr style="border:2px solid">
<p><a id=InfluxDB-Uri></a></p>
<h3 id="parameter-uri">Parameter <code>Uri</code></h3>
<p>Default Value: <code>undefined</code></p>
<p>URI of the HTTP interface to InfluxDB v1, without trailing slash, e.g. <code>http://192.168.1.1:8086</code>.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Currently only InfluxDB v1 is supported!</p>
</div>
<hr style="border:2px solid">
<p><a id=InfluxDB-password></a></p>
<h3 id="parameter-password">Parameter <code>password</code></h3>
<p>Default Value: <code>undefined</code></p>
<p>Password for the InfluxDB v1 authentication.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Currently only InfluxDB v1 is supported!</p>
</div>
<hr style="border:2px solid">
<p><a id=InfluxDB-user></a></p>
<h3 id="parameter-user">Parameter <code>user</code></h3>
<p>Default Value: <code>undefined</code></p>
<p>Username for the InfluxDB v1 authentication.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Currently only InfluxDB v1 is supported!</p>
</div>
<hr style="border:2px solid">
<h2 id="section-mqtt">Section <code>MQTT</code></h2>
<p><a id=MQTT-ClientID></a></p>
<h3 id="parameter-clientid">Parameter <code>ClientID</code></h3>
<p>Default Value: <code>watermeter</code></p>
<p>ClientID to connect to the MQTT broker.</p>
<p>If disabled, the <code>hostname</code> will be used.</p>
<hr style="border:2px solid">
<p><a id=MQTT-HomeassistantDiscovery></a></p>
<h3 id="parameter-homeassistantdiscovery">Parameter <code>HomeassistantDiscovery</code></h3>
<p>Default Value: <code>true</code></p>
<p>Enable or disable the Homeassistant Discovery.</p>
<p>See <a href="../Integration-Home-Assistant">here</a> for details about the discovery.</p>
<hr style="border:2px solid">
<p><a id=MQTT-MainTopic></a></p>
<h3 id="parameter-maintopic">Parameter <code>MainTopic</code></h3>
<p>Default Value: <code>watermeter</code></p>
<p>MQTT main topic, under which the counters are published.
The single value will be published with the following key: <code>MAINTOPIC/NUMBER/RESULT_TOPIC</code> where:</p>
<ul>
<li><code>NUMBER</code> is the name of the value (a meter might have more than one value).
The names get defined in the analog and digital ROI configuration (defaults to <code>main</code>).</li>
<li><code>RESULT_TOPIC</code> can be one of <code>value</code>, <code>rate</code>, <code>timestamp</code>, <code>error</code>, ....</li>
</ul>
<p>The general connection status can be found in <code>MAINTOPIC/CONNECTION</code>. </p>
<p>See <a href="../MQTT-API#result">MQTT Result Topics</a> for a full list of topics.</p>
<hr style="border:2px solid">
<p><a id=MQTT-MeterType></a></p>
<h3 id="parameter-metertype">Parameter <code>MeterType</code></h3>
<p>Default Value: <code>other</code></p>
<p>Select the Meter Type so the sensors have the right units in Homeassistant.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>For <code>Watermeter</code> you need to have Homeassistant 2022.11 or newer!</p>
</div>
<p>Please also make sure that the selected Meter Type matches the dimension of the value provided by the meter!
Eg. if your meter provides <code></code>, you need to also set it to <code></code>.
Alternatively you can set the parameter <code>DecimalShift</code> to <code>3</code> so the value is converted to <code>liters</code>!</p>
<hr style="border:2px solid">
<p><a id=MQTT-SetRetainFlag></a></p>
<h3 id="parameter-setretainflag">Parameter <code>SetRetainFlag</code></h3>
<p>Default Value: <code>true</code></p>
<p>Enable or disable the retain flag for all MQTT entries.</p>
<hr style="border:2px solid">
<p><a id=MQTT-Uri></a></p>
<h3 id="parameter-uri_1">Parameter <code>Uri</code></h3>
<p>Default Value: <code>mqtt://IP-ADRESS:1883</code></p>
<p>URI to the MQTT broker including the port. E.g. <code>mqtt://192.168.1.1:1883</code>.</p>
<hr style="border:2px solid">
<p><a id=MQTT-password></a></p>
<h3 id="parameter-password_1">Parameter <code>password</code></h3>
<p>Default Value: <code>PASSWORD</code></p>
<p>Password for MQTT authentication.</p>
<hr style="border:2px solid">
<p><a id=MQTT-user></a></p>
<h3 id="parameter-user_1">Parameter <code>user</code></h3>
<p>Default Value: <code>USERNAME</code></p>
<p>Username for MQTT authentication.</p>
<hr style="border:2px solid">
<h2 id="section-makeimage">Section <code>MakeImage</code></h2>
<p><a id=MakeImage-Brightness></a></p>
<h3 id="parameter-brightness">Parameter <code>Brightness</code></h3>
<p>Default Value: <code>0</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!
This parameter can also be set on the Reference Image configuration.</p>
</div>
<p>Image Brightness (<code>-2</code> .. <code>2</code>) </p>
<hr style="border:2px solid">
<p><a id=MakeImage-Contrast></a></p>
<h3 id="parameter-contrast">Parameter <code>Contrast</code></h3>
<p>Default Value: <code>0</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!
This parameter can also be set on the Reference Image configuration.</p>
</div>
<p>Image Contrast (<code>-2</code> .. <code>2</code>)</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Camera driver is not fully supporting this setting yet (no impact on image) </p>
</div>
<hr style="border:2px solid">
<p><a id=MakeImage-Demo></a></p>
<h3 id="parameter-demo">Parameter <code>Demo</code></h3>
<p>Default Value: <code>false</code></p>
<p>Enable to use demo images instead of the real camera images.
Make sure to have a <code>/demo</code> folder on your SD-Card and it contains the expected files!
Check <a href="../Demo-Mode">here</a> for details. </p>
<hr style="border:2px solid">
<p><a id=MakeImage-FixedExposure></a></p>
<h3 id="parameter-fixedexposure">Parameter <code>FixedExposure</code></h3>
<p>Default Value: <code>false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Fixes the illumination setting of camera at the startup and uses this later --&gt;
individual round is faster.</p>
<hr style="border:2px solid">
<p><a id=MakeImage-ImageQuality></a></p>
<h3 id="parameter-imagequality">Parameter <code>ImageQuality</code></h3>
<p>Default Value: <code>12</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Quality index for pictures. <code>0</code> (high) .. <code>63</code> (low)</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>Values below <code>12</code> can result in reboots as the image gets larger and might no longer fit in the available RAM!</p>
</div>
<hr style="border:2px solid">
<p><a id=MakeImage-ImageSize></a></p>
<h3 id="parameter-imagesize">Parameter <code>ImageSize</code></h3>
<p>Default Value: <code>VGA</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Size of the camera picture.
Available options:</p>
<ul>
<li><code>VGA</code> (640 x 480 pixel)</li>
<li><code>QVGA</code> (320 x 240 pixel)</li>
</ul>
<hr style="border:2px solid">
<p><a id=MakeImage-LEDIntensity></a></p>
<h3 id="parameter-ledintensity">Parameter <code>LEDIntensity</code></h3>
<p>Default Value: <code>50</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!
This parameter can also be set on the Reference Image configuration.</p>
</div>
<p>Set the Flash LED Intensity.</p>
<hr style="border:2px solid">
<p><a id=MakeImage-LogImageLocation></a></p>
<h3 id="parameter-logimagelocation_2">Parameter <code>LogImageLocation</code></h3>
<p>Default Value: <code>/log/source</code></p>
<p>Location on the SD-Card to store the raw images for logging.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>A SD-Card has limited write cycles. Since the device does not support <a href="https://en.wikipedia.org/wiki/Wear_leveling">Wear Leveling</a>, this can wear out your SD-Card!</p>
</div>
<hr style="border:2px solid">
<p><a id=MakeImage-LogfileRetentionInDays></a></p>
<h3 id="parameter-logfileretentionindays_3">Parameter <code>LogfileRetentionInDays</code></h3>
<p>Default Value: <code>15</code></p>
<p>Number of days to keep the raw images (<code>0</code> = forever)</p>
<hr style="border:2px solid">
<p><a id=MakeImage-Saturation></a></p>
<h3 id="parameter-saturation">Parameter <code>Saturation</code></h3>
<p>Default Value: <code>0</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!
This parameter can also be set on the Reference Image configuration.</p>
</div>
<p>Image Saturation (<code>-2</code> .. <code>2</code>)</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Camera driver is not fully supporting this setting yet (no impact on image)!</p>
</div>
<hr style="border:2px solid">
<p><a id=MakeImage-WaitBeforeTakingPicture></a></p>
<h3 id="parameter-waitbeforetakingpicture">Parameter <code>WaitBeforeTakingPicture</code></h3>
<p>Default Value: <code>5</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Waiting time between switching illumination on and taking the picture (in seconds)-</p>
<hr style="border:2px solid">
<h2 id="section-postprocessing">Section <code>PostProcessing</code></h2>
<p><a id=PostProcessing-AllowNegativeRates></a></p>
<h3 id="parameter-allownegativerates">Parameter <code>AllowNegativeRates</code></h3>
<p>Default Value: <code>false</code></p>
<p>Please fill me with an explanation and useful links</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-CheckDigitIncreaseConsistency></a></p>
<h3 id="parameter-checkdigitincreaseconsistency">Parameter <code>CheckDigitIncreaseConsistency</code></h3>
<p>Default Value: <code>false</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>An additional consistency check.
It especially improves the zero crossing check between digits.</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-ErrorMessage></a></p>
<h3 id="parameter-errormessage">Parameter <code>ErrorMessage</code></h3>
<p>Default Value: <code>true</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Do not show error message in return value.
In an error case, the last valid number will be used for the various transmission protocols (MQTT, InfluxDB, REST, ...).</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-NUMBER.AllowNegativeRates></a></p>
<h3 id="parameter-numbersallownegativerates">Parameter <code>&lt;NUMBERS&gt;.AllowNegativeRates</code></h3>
<p>Default Value: <code>false</code></p>
<p>Allow a meter to count backwards (decreasing values).</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This is unusual (it means there is a negative rate) and not wanted in most cases!</p>
</div>
<hr style="border:2px solid">
<p><a id=PostProcessing-NUMBER.AnalogDigitalTransitionStart></a></p>
<h3 id="parameter-numberanalogdigitaltransitionstart">Parameter <code>&lt;NUMBER&gt;.AnalogDigitalTransitionStart</code></h3>
<p>Default Value: <code>9.2</code></p>
<p>This can be used if you have wrong values, but the recognition of the individual ROIs are correct.
Look for the start of changing of the first digit and note the analog pointer value behind.
Set it here. Only used on combination of digits and analog pointers.
See <a href="../Watermeter-specific-analog---digital-transition">here</a> for details.</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-NUMBER.DecimalShift></a></p>
<h3 id="parameter-numberdecimalshift">Parameter <code>&lt;NUMBER&gt;.DecimalShift</code></h3>
<p>Default Value: <code>0</code></p>
<p>Shift the decimal separator (positiv or negativ).
Eg. to move from 'm³' to 'liter' (1 m³ equals 1000 liters), you need to set it to +3.</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-NUMBER.ExtendedResolution></a></p>
<h3 id="parameter-numberextendedresolution">Parameter <code>&lt;NUMBER&gt;.ExtendedResolution</code></h3>
<p>Default Value: <code>false</code></p>
<p>Use the decimal place of the last analog counter for increased accuracy.</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-NUMBER.IgnoreLeadingNaN></a></p>
<h3 id="parameter-numberignoreleadingnan">Parameter <code>&lt;NUMBER&gt;.IgnoreLeadingNaN</code></h3>
<p>Default Value: <code>true</code></p>
<p>Leading <code>N</code>'s will be deleted before further processing.</p>
<p>This is only relevant for models which use <code>N</code>!</p>
<p>See <a href="../Choosing-the-Model">here</a> for details.</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-NUMBER.MaxRateType></a></p>
<h3 id="parameter-numbermaxratetype">Parameter <code>&lt;NUMBER&gt;.MaxRateType</code></h3>
<p>Default Value: <code>AbsoluteChange</code></p>
<p>Defines if the <strong>Change Rate</strong> compared to the previous value is calculated as absolute change (<code>AbsoluteChange</code>) or
as rate normalized to the interval (<code>RateChange</code> = change/minute).</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-NUMBER.MaxRateValue></a></p>
<h3 id="parameter-numbermaxratevalue">Parameter <code>&lt;NUMBER&gt;.MaxRateValue</code></h3>
<p>Default Value: <code>0.05</code></p>
<p>Maximum change of a reading.</p>
<p>Depending on the settings of <code>&lt;NUMBER&gt;.MaxRateType</code> it is either treated as <code>absolute</code> or <code>relative</code>!</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-PreValueAgeStartup></a></p>
<h3 id="parameter-prevalueagestartup">Parameter <code>PreValueAgeStartup</code></h3>
<p>Default Value: <code>720</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Time in minutes, how long a previous read value is valid after reboot.</p>
<hr style="border:2px solid">
<p><a id=PostProcessing-PreValueUse></a></p>
<h3 id="parameter-prevalueuse">Parameter <code>PreValueUse</code></h3>
<p>Default Value: <code>true</code></p>
<p>Use the previous value (value from previous round) for consistency checks.
This also works through a reboot of the device!</p>
<hr style="border:2px solid">
<h2 id="section-system">Section <code>System</code></h2>
<p><a id=System-AutoAdjustSummertime></a></p>
<h3 id="parameter-autoadjustsummertime">Parameter <code>AutoAdjustSummertime</code></h3>
<p>Default Value: <code>false</code></p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This parameter is not accessible through the Web Interface Configuration Page!</p>
</div>
<hr style="border:2px solid">
<p><a id=System-Hostname></a></p>
<h3 id="parameter-hostname">Parameter <code>Hostname</code></h3>
<p>Default Value: <code>undefined</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Hostname for the device.
It gets automatically transferred to <code>/wlan.ini</code> on the SD-Card at next startup.</p>
<hr style="border:2px solid">
<p><a id=System-RSSIThreashold></a></p>
<h3 id="parameter-rssithreashold">Parameter <code>RSSIThreashold</code></h3>
<p>Default Value: <code>''</code></p>
<p>WLAN Mesh Parameter: Threshold for the RSSI value to check for start switching access point in a mesh system.
Possible values: <code>-100</code> .. <code>0</code>, <code>0</code> = disabled.
It gets automatically transferred to <code>/wlan.ini</code> on the SD-Card at next startup.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Due to a typo, the parameter is wrongly named <code>RSSIThreashold</code>.</p>
</div>
<hr style="border:2px solid">
<p><a id=System-SetupMode></a></p>
<h3 id="parameter-setupmode">Parameter <code>SetupMode</code></h3>
<p>Default Value: <code>true</code></p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This parameter is not accessible through the Web Interface Configuration Page!</p>
</div>
<p>Set this parameter to <code>true</code> to stay in the Setup Mode after the next start of the device.</p>
<hr style="border:2px solid">
<p><a id=System-TimeServer></a></p>
<h3 id="parameter-timeserver">Parameter <code>TimeServer</code></h3>
<p>Default Value: <code>pool.ntp.org</code></p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>This is an <strong>Expert Parameter</strong>! Only change it if you understand what it does!</p>
</div>
<p>Time server to synchronize system time. If it is disabled or <code>undefined</code>, <code>pool.ntp.org</code> will be used.
You can also set it to the IP of your router. Many routers like Fritzboxes can act as a local NTP server.
To disable NTP, you need to activate it but set the TimeServer config to be empty (<code>""</code>).
In such case the time always starts at <code>01.01.1970</code> after each power cycle!</p>
<hr style="border:2px solid">
<p><a id=System-TimeZone></a></p>
<h3 id="parameter-timezone">Parameter <code>TimeZone</code></h3>
<p>Default Value: <code>CET-1CEST,M3.5.0,M10.5.0/3</code></p>
<p>Time zone in POSIX syntax (Europe/Berlin = <code>CET-1CEST,M3.5.0,M10.5.0/3</code> - incl. daylight saving)
Check the table on <code>http://&lt;DEVICE IP&gt;/timezones.html</code> to find the settings for your region.</p>
<hr style="border:2px solid">
</div>
</div><footer>
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
<a href="../ota/" class="btn btn-neutral float-left" title="Over-The-Air (OTA) Update"><span class="icon icon-circle-arrow-left"></span> Previous</a>
<a href="../Integration-Home-Assistant/" class="btn btn-neutral float-right" title="Integration into Home Assistant">Next <span class="icon icon-circle-arrow-right"></span></a>
</div>
<hr/>
<div role="contentinfo">
<!-- Copyright etc -->
</div>
Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<div class="rst-versions" role="note" aria-label="Versions">
<span class="rst-current-version" data-toggle="rst-current-version">
<span>
<a href="https://github.com/jomjol/AI-on-the-edge-device-docs" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
</span>
<span><a href="../ota/" style="color: #fcfcfc">&laquo; Previous</a></span>
<span><a href="../Integration-Home-Assistant/" style="color: #fcfcfc">Next &raquo;</a></span>
</span>
</div>
<script>var base_url = '..';</script>
<script src="../js/theme_extra.js" defer></script>
<script src="../js/theme.js" defer></script>
<script src="../search/main.js" defer></script>
<script defer>
window.onload = function () {
SphinxRtdTheme.Navigation.enable(true);
};
</script>
</body>
</html>