mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-09 13:06:56 +03:00
1270 lines
72 KiB
HTML
1270 lines
72 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html class="writer-html5" lang="en">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="IE=edge" http-equiv="X-UA-Compatible"/>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/><link href="https://jomjol.github.io/AI-on-the-edge-device-docs/Parameters/" rel="canonical"/>
|
|
<link href="../img/favicon.ico" rel="shortcut icon"/>
|
|
<title>Parameters - AI on the Edge Device</title>
|
|
<link href="../css/theme.css" rel="stylesheet"/>
|
|
<link href="../css/theme_extra.css" rel="stylesheet"/>
|
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github.min.css" rel="stylesheet"/>
|
|
<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>
|
|
<!--[if lt IE 9]>
|
|
<script src="../js/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
|
|
<script>hljs.highlightAll();</script>
|
|
</head>
|
|
<body class="wy-body-for-nav" role="document">
|
|
<div class="wy-grid-for-nav">
|
|
<nav class="wy-nav-side stickynav" data-toggle="wy-nav-shift">
|
|
<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 class="icon icon-home" href=".."> AI on the Edge Device
|
|
</a><div role="search">
|
|
<form action="../search.html" class="wy-form" id="rtd-search-form" method="get">
|
|
<input aria-label="Search docs" name="q" placeholder="Search docs" title="Type search term here" type="text"/>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div aria-label="Navigation menu" class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation">
|
|
<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">Create 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>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Reference-Image/">Reference Image</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Alignment/">Alignment References</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../ROI-Configuration/">ROIs (Regions of Interest)</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Configuration/">Graphical Configuration</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="../ota/">Over-The-Air (OTA) Update</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Advanced</span></p>
|
|
<ul class="current">
|
|
<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="#section-takeimage">Section TakeImage</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-rawimageslocation">Parameter RawImagesLocation</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-rawimagesretention">Parameter RawImagesRetention</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-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-digits">Section Digits</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-model">Parameter Model</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-roiimageslocation">Parameter ROIImagesLocation</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-roiimagesretention">Parameter ROIImagesRetention</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_1">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-model_1">Parameter Model</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-roiimageslocation_1">Parameter ROIImagesLocation</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-roiimagesretention_1">Parameter ROIImagesRetention</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 <NUMBERS>.AllowNegativeRates</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberanalogdigitaltransitionstart">Parameter <NUMBER>.AnalogDigitalTransitionStart</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberdecimalshift">Parameter <NUMBER>.DecimalShift</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberextendedresolution">Parameter <NUMBER>.ExtendedResolution</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberignoreleadingnan">Parameter <NUMBER>.IgnoreLeadingNaN</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-numbermaxratetype">Parameter <NUMBER>.MaxRateType</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-numbermaxratevalue">Parameter <NUMBER>.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-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-retainmessages">Parameter RetainMessages</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-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-numberfield">Parameter <NUMBER>.Field</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-measurement_1">Parameter Measurement</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-influxdbv2">Section InfluxDBv2</a>
|
|
<ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-database_1">Parameter Database</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-measurement_2">Parameter Measurement</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberfield_1">Parameter <NUMBER>.Field</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-numberfieldname">Parameter NUMBER.Fieldname</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-measurement_3">Parameter Measurement</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-org">Parameter Org</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-token">Parameter Token</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-uri_2">Parameter Uri</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-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-interval">Parameter Interval</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-datafilesretention">Parameter DataFilesRetention</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-datalogactive">Parameter DataLogActive</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-loglevel">Parameter LogLevel</a>
|
|
</li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#parameter-logfilesretention">Parameter LogfilesRetention</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-cpufrequency">Parameter CPUFrequency</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-rssithreshold">Parameter RSSIThreshold</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>
|
|
<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="../data-logging/">Data Logging</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="../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="../Neural-Network-Types/">Neural Network Types</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/">Reduced webinterface (error codes)</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../StatusLED-BlinkCodes/">Board status LED (blink codes)</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../WLAN-disconnect-reason/">WLAN disconnect reasons</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Error-Debugging/">Often observed issues</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Frequent-Reboots/">Basic hardware/config issues</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 Option for VSCode</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>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Assorted Pages</span></p>
|
|
<ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<section class="wy-nav-content-wrap" data-toggle="wy-nav-shift">
|
|
<nav aria-label="Mobile navigation menu" class="wy-nav-top" role="navigation">
|
|
<i class="fa fa-bars" data-toggle="wy-nav-top"></i>
|
|
<a href="..">AI on the Edge Device</a>
|
|
</nav>
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content"><div aria-label="breadcrumbs navigation" role="navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a aria-label="Docs" class="icon icon-home" href=".."></a> »</li>
|
|
<li>Advanced »</li>
|
|
<li class="breadcrumb-item active">Parameters</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a class="icon icon-github" href="https://github.com/jomjol/AI-on-the-edge-device-docs/edit/main/docs/Parameters.md"> Edit on GitHub</a>
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div class="document" itemscope="itemscope" itemtype="http://schema.org/Article" role="main">
|
|
<div class="section" itemprop="articleBody">
|
|
<h1 id="parameters"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.</span> Parameters</h1>
|
|
<p>This page lists all available <a href="../Configuration">Configuration</a> Parameters.
|
|
If a <strong>parameter</strong> or <strong>section</strong> 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>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-takeimage"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1</span> Section <code>TakeImage</code></h2>
|
|
<p><a id="TakeImage-Brightness"></a></p>
|
|
<h3 id="parameter-brightness"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.1</span> 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!</p>
|
|
</div>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>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="TakeImage-Contrast"></a></p>
|
|
<h3 id="parameter-contrast"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.2</span> 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!</p>
|
|
</div>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>This parameter can also be set on the Reference Image configuration.</p>
|
|
</div>
|
|
<p>Image Contrast (<code>-2</code> .. <code>2</code>)</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="TakeImage-Demo"></a></p>
|
|
<h3 id="parameter-demo"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.3</span> 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="TakeImage-FixedExposure"></a></p>
|
|
<h3 id="parameter-fixedexposure"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.4</span> 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 -> Individual round is faster.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="TakeImage-ImageQuality"></a></p>
|
|
<h3 id="parameter-imagequality"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.5</span> 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>8</code> (highest quality) ... <code>63</code> (lowest quality)</p>
|
|
<div class="admonition warning">
|
|
<p class="admonition-title">Warning</p>
|
|
<p>Value below 12 could result in system instabilities!</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="TakeImage-ImageSize"></a></p>
|
|
<h3 id="parameter-imagesize"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.6</span> 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.</p>
|
|
<p>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="TakeImage-LEDIntensity"></a></p>
|
|
<h3 id="parameter-ledintensity"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.7</span> 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: (<code>0</code> .. <code>100</code>)</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="TakeImage-RawImagesLocation"></a></p>
|
|
<h3 id="parameter-rawimageslocation"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.8</span> Parameter <code>RawImagesLocation</code></h3>
|
|
<p>Default Value: <code>/log/source</code></p>
|
|
<p>Location on the SD-Card to store the raw images.</p>
|
|
<div class="admonition warning">
|
|
<p class="admonition-title">Warning</p>
|
|
<p>A SD-Card has limited write cycles. Since the device does not do <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="TakeImage-RawImagesRetention"></a></p>
|
|
<h3 id="parameter-rawimagesretention"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.9</span> Parameter <code>RawImagesRetention</code></h3>
|
|
<p>Default Value: <code>15</code></p>
|
|
<p>Unit: Days</p>
|
|
<p>Number of days to keep the raw images (<code>0</code> = forever)</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="TakeImage-Saturation"></a></p>
|
|
<h3 id="parameter-saturation"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.10</span> 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!</p>
|
|
</div>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>This parameter can also be set on the Reference Image configuration.</p>
|
|
</div>
|
|
<p>Image Saturation (<code>-2</code> .. <code>2</code>)</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="TakeImage-WaitBeforeTakingPicture"></a></p>
|
|
<h3 id="parameter-waitbeforetakingpicture"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.1.11</span> Parameter <code>WaitBeforeTakingPicture</code></h3>
|
|
<p>Default Value: <code>5</code></p>
|
|
<p>Unit: seconds</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 the flash light (onboard LED) on and taking the picture.</p>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-alignment"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.2</span> Section <code>Alignment</code></h2>
|
|
<p><a id="Alignment-AlignmentAlgo"></a></p>
|
|
<h3 id="parameter-alignmentalgo"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.2.1</span> 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>
|
|
<li><code>Off</code>: Disable alignment algorithm</li>
|
|
</ul>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="Alignment-FlipImageSize"></a></p>
|
|
<h3 id="parameter-flipimagesize"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.2.2</span> 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 can also be set on the Reference Image configuration.</p>
|
|
</div>
|
|
<p>This parameter can be used to rotate the viewport together with the alignment rotation:
|
|
<img alt="" src="../img/flipImageSize.png"> </img></p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="Alignment-InitialMirror"></a></p>
|
|
<h3 id="parameter-initialmirror"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.2.3</span> Parameter <code>InitialMirror</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 can also be set on the Reference Image configuration.</p>
|
|
</div>
|
|
<p>Option for initially mirroring the image on the original x-axis.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="Alignment-InitialRotate"></a></p>
|
|
<h3 id="parameter-initialrotate"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.2.4</span> Parameter <code>InitialRotate</code></h3>
|
|
<p>Default Value: <code>179</code></p>
|
|
<p>Unit: Degrees</p>
|
|
<p>Initial rotation of image before alignment in degree (0 .. 359)</p>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>This parameter is accessible on the Reference Image Page but not on the Config page!</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="Alignment-SearchFieldX"></a></p>
|
|
<h3 id="parameter-searchfieldx"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.2.5</span> Parameter <code>SearchFieldX</code></h3>
|
|
<p>Default Value: <code>20</code></p>
|
|
<p>Unit: Pixels</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>X-size (width) in which the reference is searched.</p>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>Since the alignment is one of the steps using a lot of computation time,
|
|
the search field should be as small as possible.
|
|
The calculation time goes quadratic with the search field size.</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="Alignment-SearchFieldY"></a></p>
|
|
<h3 id="parameter-searchfieldy"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.2.6</span> Parameter <code>SearchFieldY</code></h3>
|
|
<p>Default Value: <code>20</code></p>
|
|
<p>Unit: Pixels</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>Y-size (height) in which the reference is searched.</p>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>Since the alignment is one of the steps using a lot of computation time,
|
|
the search field should be as small as possible.
|
|
The calculation time goes quadratic with the search field size.</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-digits"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.3</span> Section <code>Digits</code></h2>
|
|
<p><a id="Digits-CNNGoodThreshold"></a></p>
|
|
<h3 id="parameter-cnngoodthreshold"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.3.1</span> 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-Model"></a></p>
|
|
<h3 id="parameter-model"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.3.2</span> Parameter <code>Model</code></h3>
|
|
<p>Default Value: <code>/config/dig-cont_*.tflite</code> (See <a href="https://github.com/jomjol/AI-on-the-edge-device/blob/master/sd-card/config/config.ini">/config/config.ini</a>)</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"/>
|
|
<p><a id="Digits-ROIImagesLocation"></a></p>
|
|
<h3 id="parameter-roiimageslocation"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.3.3</span> Parameter <code>ROIImagesLocation</code></h3>
|
|
<p>Default Value: <code>/log/digit</code></p>
|
|
<p>Location to store separated digit images on the 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 do <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-ROIImagesRetention"></a></p>
|
|
<h3 id="parameter-roiimagesretention"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.3.4</span> Parameter <code>ROIImagesRetention</code></h3>
|
|
<p>Default Value: <code>3</code></p>
|
|
<p>Unit: Days</p>
|
|
<p>Days to keep the separated digit images (<code>0</code> = forever).</p>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-analog"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.4</span> Section <code>Analog</code></h2>
|
|
<p><a id="Analog-CNNGoodThreshold"></a></p>
|
|
<h3 id="parameter-cnngoodthreshold_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.4.1</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.4.2</span> Parameter <code>ExtendedResolution</code></h3>
|
|
<div class="admonition warning">
|
|
<p class="admonition-title">Warning</p>
|
|
<p>This parameter is unused!
|
|
Use <a href="../Parameters/#PostProcessing-NUMBER.ExtendedResolution"><code>NUMBER.ExtendedResolution</code></a> instead!</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="Analog-Model"></a></p>
|
|
<h3 id="parameter-model_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.4.3</span> Parameter <code>Model</code></h3>
|
|
<p>Default Value: <code>/config/ana-cont_*.tflite</code> (See <a href="https://github.com/jomjol/AI-on-the-edge-device/blob/master/sd-card/config/config.ini">/config/config.ini</a>)</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"/>
|
|
<p><a id="Analog-ROIImagesLocation"></a></p>
|
|
<h3 id="parameter-roiimageslocation_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.4.4</span> Parameter <code>ROIImagesLocation</code></h3>
|
|
<p>Default Value: <code>/log/analog</code></p>
|
|
<p>Location to store separated analog images on the 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 do <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-ROIImagesRetention"></a></p>
|
|
<h3 id="parameter-roiimagesretention_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.4.5</span> Parameter <code>ROIImagesRetention</code></h3>
|
|
<p>Default Value: <code>3</code></p>
|
|
<p>Unit: Days</p>
|
|
<p>Days to keep the separated analog images (<code>0</code> = forever).</p>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-postprocessing"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5</span> Section <code>PostProcessing</code></h2>
|
|
<p><a id="PostProcessing-AllowNegativeRates"></a></p>
|
|
<h3 id="parameter-allownegativerates"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.1</span> Parameter <code>AllowNegativeRates</code></h3>
|
|
<div class="admonition warning">
|
|
<p class="admonition-title">Warning</p>
|
|
<p>This parameter is unused!
|
|
Use <a href="../Parameters/#PostProcessing-NUMBER.AllowNegativeRates"><code>NUMBER.AllowNegativeRates</code></a> instead!</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="PostProcessing-CheckDigitIncreaseConsistency"></a></p>
|
|
<h3 id="parameter-checkdigitincreaseconsistency"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.2</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.3</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.4</span> Parameter <code><NUMBERS>.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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.5</span> Parameter <code><NUMBER>.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>
|
|
<p>Range: <code>6.0</code> .. <code>9.9</code>.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="PostProcessing-NUMBER.DecimalShift"></a></p>
|
|
<h3 id="parameter-numberdecimalshift"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.6</span> Parameter <code><NUMBER>.DecimalShift</code></h3>
|
|
<p>Default Value: <code>0</code></p>
|
|
<p>Shift the decimal separator (positiv or negativ).
|
|
Eg. to move from <code>m³</code> to <code>liter</code> (<code>1 m³</code> equals <code>1000 liters</code>), you need to set it to <code>+3</code>.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="PostProcessing-NUMBER.ExtendedResolution"></a></p>
|
|
<h3 id="parameter-numberextendedresolution"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.7</span> Parameter <code><NUMBER>.ExtendedResolution</code></h3>
|
|
<p>Default Value: <code>false</code></p>
|
|
<p>Use the decimal place of the last analog counter for increased accuracy.</p>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>This parameter is only supported on the <code>*-class*</code> and <code>*-const</code> models! See <a href="../Choosing-the-Model">Choosing-the-Model</a> for details.</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="PostProcessing-NUMBER.IgnoreLeadingNaN"></a></p>
|
|
<h3 id="parameter-numberignoreleadingnan"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.8</span> Parameter <code><NUMBER>.IgnoreLeadingNaN</code></h3>
|
|
<p>Default Value: <code>true</code></p>
|
|
<p>Leading <code>N</code>'s will be deleted before further processing.
|
|
This is only relevant for models which use <code>N</code>!
|
|
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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.9</span> Parameter <code><NUMBER>.MaxRateType</code></h3>
|
|
<p>Default Value: <code>AbsoluteChange</code></p>
|
|
<p>Defines if the <strong>Change Rate</strong> is calculated as the difference between the last two readings (<code>AbsoluteChange</code> = difference) or
|
|
as the difference normalized to the interval (<code>RateChange</code> = difference per minute).</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="PostProcessing-NUMBER.MaxRateValue"></a></p>
|
|
<h3 id="parameter-numbermaxratevalue"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.10</span> Parameter <code><NUMBER>.MaxRateValue</code></h3>
|
|
<p>Default Value: <code>0,05</code></p>
|
|
<p>Maximum allowed change between two readings, if exceeded the last reading will be rejected. Depending on the settings of <code><NUMBER>.MaxRateType</code> the <code>MaxRateValue</code> is either treated as the difference between the two measurements (<code>AbsoluteChange</code> = difference) not taking the set time interval into account or as the difference normalized to the interval (<code>RateChange</code> = difference per minute).</p>
|
|
<p>If negative rate is disallowed and no maximum rate value is set, one false high reading will lead to a period of missing measurements until the measurement reaches the previous false high reading. E.g. if the counter is at <code>600,00</code> and it's read incorrectly as<code>610,00</code>, all measurements will be skipped until the counter reaches <code>610,00</code>. Setting the MaxRateValue to <code>0,05</code> leads to a rejection of all readings with a difference <code>> 0,05</code>, in this case <code>610,00</code>. The rejection also applies to correct readings with a difference <code>> 0,05</code>!</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="PostProcessing-PreValueAgeStartup"></a></p>
|
|
<h3 id="parameter-prevalueagestartup"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.11</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.5.12</span> 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-mqtt"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6</span> Section <code>MQTT</code></h2>
|
|
<p><a id="MQTT-ClientID"></a></p>
|
|
<h3 id="parameter-clientid"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6.1</span> Parameter <code>ClientID</code></h3>
|
|
<p>Default Value: <code>watermeter</code></p>
|
|
<p>Client ID used to connect to the MQTT broker.
|
|
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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6.2</span> Parameter <code>HomeassistantDiscovery</code></h3>
|
|
<p>Default Value: <code>true</code></p>
|
|
<p>Enable or disable the Homeassistant Discovery.
|
|
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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6.3</span> Parameter <code>MainTopic</code></h3>
|
|
<p>Default Value: <code>watermeter</code></p>
|
|
<p>MQTT main topic, under which the counters are published.</p>
|
|
<p>The single value will be published with the following key: <code>MAINTOPIC/NUMBER/RESULT_TOPIC</code></p>
|
|
<p>With:</p>
|
|
<ul>
|
|
<li><code>NUMBER</code>: 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>: Automatically filled with the right name, eg. <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>.
|
|
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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6.4</span> 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>m³</code>, you need to also set it to <code>m³</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-RetainMessages"></a></p>
|
|
<h3 id="parameter-retainmessages"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6.5</span> Parameter <code>RetainMessages</code></h3>
|
|
<p>Default Value: <code>true</code></p>
|
|
<p>Enable or disable the <a href="https://www.hivemq.com/blog/mqtt-essentials-part-8-retained-messages/">Retain Flag</a> for all MQTT entries.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="MQTT-Uri"></a></p>
|
|
<h3 id="parameter-uri"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6.6</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6.7</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.6.8</span> 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-influxdb"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.7</span> Section <code>InfluxDB</code></h2>
|
|
<p><a id="InfluxDB-Database"></a></p>
|
|
<h3 id="parameter-database"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.7.1</span> Parameter <code>Database</code></h3>
|
|
<p>Default Value: <code>''</code></p>
|
|
<p>Name of the InfluxDB v1 Database into which to publish the values.</p>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>See section <code>InfluxDBv2</code> for InfluxDB v2 support! </p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDB-Measurement"></a></p>
|
|
<h3 id="parameter-measurement"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.7.2</span> Parameter <code>Measurement</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Please fill me with an explanation and useful links.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDB-NUMBER.Field"></a></p>
|
|
<h3 id="parameter-numberfield"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.7.3</span> Parameter <code><NUMBER>.Field</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Dedicated definition of the field for InfluxDB use for saving in the Influx database (e.g.: "watermeter/value").</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDB-NUMBER.Measurement"></a></p>
|
|
<h3 id="parameter-measurement_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.7.4</span> Parameter <code>Measurement</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Name of the InfluxDB v1 Measurement to use to publish the value.</p>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>See section <code>InfluxDBv2</code> for InfluxDB v2 support! </p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDB-Uri"></a></p>
|
|
<h3 id="parameter-uri_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.7.5</span> 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>See section <code>InfluxDBv2</code> for InfluxDB v2 support! </p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDB-password"></a></p>
|
|
<h3 id="parameter-password_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.7.6</span> 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>See section <code>InfluxDBv2</code> for InfluxDB v2 support! </p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDB-user"></a></p>
|
|
<h3 id="parameter-user_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.7.7</span> 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>See section <code>InfluxDBv2</code> for InfluxDB v2 support! </p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-influxdbv2"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8</span> Section <code>InfluxDBv2</code></h2>
|
|
<p><a id="InfluxDBv2-Database"></a></p>
|
|
<h3 id="parameter-database_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8.1</span> Parameter <code>Database</code></h3>
|
|
<p>Default Value: <code>''</code></p>
|
|
<p>Name of the InfluxDB v2 Database into which to publish the values.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDBv2-Measurement"></a></p>
|
|
<h3 id="parameter-measurement_2"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8.2</span> Parameter <code>Measurement</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Please fill me with an explanation and useful links.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDBv2-NUMBER.Field"></a></p>
|
|
<h3 id="parameter-numberfield_1"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8.3</span> Parameter <code><NUMBER>.Field</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Field for InfluxDB v2 to use for saving.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDBv2-NUMBER.Fieldname"></a></p>
|
|
<h3 id="parameter-numberfieldname"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8.4</span> Parameter <code>NUMBER.Fieldname</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Please fill me with an explanation and useful links.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDBv2-NUMBER.Measurement"></a></p>
|
|
<h3 id="parameter-measurement_3"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8.5</span> Parameter <code>Measurement</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Name of the InfluxDB v2 Measurement to use to publish the value.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDBv2-Org"></a></p>
|
|
<h3 id="parameter-org"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8.6</span> Parameter <code>Org</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Organisation (Org) for InfluxDB v2 authentication</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDBv2-Token"></a></p>
|
|
<h3 id="parameter-token"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8.7</span> Parameter <code>Token</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>Token for InfluxDB v2 authentication</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="InfluxDBv2-Uri"></a></p>
|
|
<h3 id="parameter-uri_2"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.8.8</span> Parameter <code>Uri</code></h3>
|
|
<p>Default Value: <code>undefined</code></p>
|
|
<p>URI of the HTTP interface to InfluxDB v2, without trailing slash, e.g. <code>http://192.168.1.1:8086</code>.</p>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-gpio"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9</span> Section <code>GPIO</code></h2>
|
|
<p><a id="GPIO-IO0"></a></p>
|
|
<h3 id="parameter-io0"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.1</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.2</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.3</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.4</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.5</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.6</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.7</span> Parameter <code>LEDColor</code></h3>
|
|
<p>Default Value: <code>150 150 150</code></p>
|
|
<p>Color of the attached LEDs to GPIO12 in <strong>R</strong>ed, <strong>G</strong>reen <strong>B</strong>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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.8</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.9</span> Parameter <code>LEDType</code></h3>
|
|
<p>Default Value: <code>WS2812</code>
|
|
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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.9.10</span> 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>The GPIO Interface is prepared to report it's status and status changes as a MQTT topic. With this parameter you configure the MQTT main topic, under which the status is published.
|
|
As this parameter is still experimental it can only be set manually in the <code>config.ini</code> itself and has not been tested in detail so far.</p>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-autotimer"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.10</span> Section <code>AutoTimer</code></h2>
|
|
<p><a id="AutoTimer-AutoStart"></a></p>
|
|
<h3 id="parameter-autostart"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.10.1</span> 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 main reasons to set it to <code>false</code> is when you want to trigger it manually using the
|
|
<a href="../REST-API">REST API</a> or <a href="../MQTT-API">MQTT-API</a> or for debugging.</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="AutoTimer-Interval"></a></p>
|
|
<h3 id="parameter-interval"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.10.2</span> Parameter <code>Interval</code></h3>
|
|
<p>Default Value: <code>5</code></p>
|
|
<p>Unit: Minutes</p>
|
|
<p>Interval in which the Flow (Digitization Round) is run.
|
|
If a round takes longer than this interval, the next round gets postponed until the current round completes.</p>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-datalogging"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.11</span> Section <code>DataLogging</code></h2>
|
|
<p><a id="DataLogging-DataFilesRetention"></a></p>
|
|
<h3 id="parameter-datafilesretention"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.11.1</span> Parameter <code>DataFilesRetention</code></h3>
|
|
<p>Default Value: <code>3</code></p>
|
|
<p>Unit: Days</p>
|
|
<p>Number of days to keep the data files (<code>0</code> = forever).</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="DataLogging-DataLogActive"></a></p>
|
|
<h3 id="parameter-datalogactive"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.11.2</span> Parameter <code>DataLogActive</code></h3>
|
|
<p>Default Value: <code>true</code>
|
|
Activate data logging to the SD-Card.</p>
|
|
<p>The files will be stored in <code>/log/data/data_YYYY-MM-DD.csv</code>. See <a href="../data-logging"><code>Data Logging</code></a> for details.</p>
|
|
<div class="admonition warning">
|
|
<p class="admonition-title">Warning</p>
|
|
<p>A SD-Card has limited write cycles. Since the device does not do <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"/>
|
|
<h2 id="section-debug"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.12</span> Section <code>Debug</code></h2>
|
|
<p><a id="Debug-LogLevel"></a></p>
|
|
<h3 id="parameter-loglevel"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.12.1</span> Parameter <code>LogLevel</code></h3>
|
|
<p>Default Value: <code>1</code> (<code>ERROR</code>)
|
|
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 do <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-LogfilesRetention"></a></p>
|
|
<h3 id="parameter-logfilesretention"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.12.2</span> Parameter <code>LogfilesRetention</code></h3>
|
|
<p>Default Value: <code>3</code></p>
|
|
<p>Unit: Days</p>
|
|
<p>Number of days to keep the log files (<code>0</code> = forever).</p>
|
|
<hr style="border:2px solid"/>
|
|
<h2 id="section-system"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.13</span> Section <code>System</code></h2>
|
|
<p><a id="System-CPUFrequency"></a></p>
|
|
<h3 id="parameter-cpufrequency"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.13.1</span> Parameter <code>CPUFrequency</code></h3>
|
|
<p>Default Value: <code>160</code></p>
|
|
<p>Set the CPU Frequency.</p>
|
|
<div class="admonition warning">
|
|
<p class="admonition-title">Warning</p>
|
|
<p>Setting it to 240 will lead to a faster device, but it will also require a stronger power supply!
|
|
Additionally, depending on the quality of your ESP32-CAM, it might run unstable!</p>
|
|
</div>
|
|
<p>Possible values: </p>
|
|
<ul>
|
|
<li>160</li>
|
|
<li>240 </li>
|
|
</ul>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="System-Hostname"></a></p>
|
|
<h3 id="parameter-hostname"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.13.2</span> 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 the next startup.</p>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="System-RSSIThreshold"></a></p>
|
|
<h3 id="parameter-rssithreshold"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.13.3</span> Parameter <code>RSSIThreshold</code></h3>
|
|
<p>Default Value: <code>0</code></p>
|
|
<p>Possible values: <code>-100</code> .. <code>0</code> (<code>0</code> = disabled).</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 activates a client triggered AP switching functionality (simplified roaming).
|
|
If actual RSSI value is lower (more negative) than <code>RSSIThreshold</code>, all WIFI channels will be scanned for configured access point SSID. If an access point is in range which has better RSSI value (less negative) than actual RSSI value + 5 dBm, the device is trying to connect to this access point with the better RSSI value.</p>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>The RSSI check only gets initiated at the end of each round to avoid any disturbance of processing.</p>
|
|
</div>
|
|
<div class="admonition note">
|
|
<p class="admonition-title">Note</p>
|
|
<p>It gets automatically transferred to <code>/wlan.ini</code> on the SD-Card at next startup.</p>
|
|
</div>
|
|
<hr style="border:2px solid"/>
|
|
<p><a id="System-SetupMode"></a></p>
|
|
<h3 id="parameter-setupmode"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.13.4</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.13.5</span> 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"><span class="enumerate-headings-plugin enumerate-heading-plugin">1.13.6</span> 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://<DEVICE IP>/timezones.html</code> to find the settings for your region.</p>
|
|
<hr style="border:2px solid"/>
|
|
</div>
|
|
</div><footer>
|
|
<div aria-label="Footer Navigation" class="rst-footer-buttons" role="navigation">
|
|
<a class="btn btn-neutral float-left" href="../ota/" title="Over-The-Air (OTA) Update"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
<a class="btn btn-neutral float-right" href="../Integration-Home-Assistant/" 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>.
|
|
</hr></footer>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<div aria-label="Versions" class="rst-versions" role="note">
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
<span>
|
|
<a class="fa fa-github" href="https://github.com/jomjol/AI-on-the-edge-device-docs" style="color: #fcfcfc"> GitHub</a>
|
|
</span>
|
|
<span><a href="../ota/" style="color: #fcfcfc">« Previous</a></span>
|
|
<span><a href="../Integration-Home-Assistant/" style="color: #fcfcfc">Next »</a></span>
|
|
</span>
|
|
</div>
|
|
<script src="../js/jquery-3.6.0.min.js"></script>
|
|
<script>var base_url = "..";</script>
|
|
<script src="../js/theme_extra.js"></script>
|
|
<script src="../js/theme.js"></script>
|
|
<script src="../search/main.js"></script>
|
|
<script>
|
|
jQuery(function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|