For a full list of changes see Full list of changes
Please check the issues and discussions before reporting a new issue.
Only changes since RC2 are listed:
rate_per_digitalization_round to rate_per_digitization_round (change happened already in RC1)Only changes since RC2 are listed:
For a full list of changes see Full list of changes
Please check the issues and discussions before reporting a new issue.
Only changes since RC1 are listed:
Only changes since RC1 are listed:
For a full list of changes see Full list of changes
Please check the issues and discussions before reporting a new issue.
Those are just the major changes:
Those are just the major changes:
For a full list of changes see Full list of changes
Settings > Alignment > Reference Image and Camera Settings). You might need to re-create the reference image and alignment marks. Note worthy:
v15.5) as is seems to cause issues for many users.For a full list of changes see Full list of changes
For a full list of changes see Full list of changes
For a full list of changes see Full list of changes
Updates submodules (esp-nn, tflite-micro-example, esp-camera)
Explicitly included needed tflite network layers (instead of all) , resulting in much smaller firmware size
Added shortcut icon
Rename in InfluxDB 'Database' to 'Bucket'
Updated analog tflite files
Added config entries for MQTT TLS
InfluxDB: consider DST setting for UTC time conversion
Minor html response bugfix
For a full list of changes see Full list of changes
6.3.2For a full list of changes see Full list of changes
6.2.0For a full list of changes see Full list of changes
For a full list of changes see Full list of changes
5.2.0 to 6.1.0 (resp. ESP IDF from 4.4.2 to 5.0.1)For a full list of changes see Full list of changes
Update Procedure see online documentation
:bangbang: Afterwards you should force-reload the Web Interface (usually Ctrl-F5 will do it)!
:bangbang: Afterwards you should check your configuration for errors!
For a full list of changes see Full list of changes
GJ (gigajoule) as an energy meter unitraw topic160 to 240 Mhzdig-cont_0611_s3ana-cont-11.0.5 and ana-clas100-1.5.7dig-class100-1.6.0Previous Value pageImage Quality Index: Limit lower input range to 8 to avoid system instabilitiesName: Parameter Migration
Update Procedure see online documentation
:bangbang: Afterwards you should force-reload the Web Interface (usually Ctrl-F5 will do it).
This release only migrates some parameters, see #2023 for details and a list of all parameter changes.
The parameter migration happens automatically on the next startup. No user interaction is required.
A backup of the config is stored on the SD-card as config.bak.
Beside of the parameter change and the bugfix listed below, no changes are contained in this release!
If you want to revert back to v14 or earlier, you will have to revert the migration changes in config.ini manually!
Topic parameter, it is not used anymoreName: Stabilization and Improved User Experience
Thanks to over 80 Pull Requests from 6 contributors, we can anounce another great release with many many improvements and new features:
Update Procedure see online documentation
For a full list of changes see Full list of changes
Initializing and Take Image as the current camera image might be incomplete or outdatedwifi.ini from beeing deleted.Problem SensorName: Home Assistant MQTT Discovery Support
/log/data - One day per file and each measurement is on one line
time, name-of-number, raw-value, return-value, pre-value, change-rate, change-absolute, error-text, cnn-digit, cnn-analogShow graph of values direct in the user interface (thanks to @rdmueller)
Note: You need to activate data logging for this feature to work, see above!
PreValue is now contained in /json (#1154)
SD card info into the System>Info menu (thanks to @Slider007)
Version check (Firmware vs. Web UI)
Various minor new features
dig-cont_0600_s3.tflite)espressif32@v5.2.0AnalogDigTransitionStart. It can setup very early and very late digit transition starts.dig-class100 (v1.4.0): added images of heliowatt powermeterstatus (Digitization Status), Timezone to MQTT topic timestamp.#firmware.bin not working in OTAanalog->digit (lowest digit processing)= in MQTT and InfluxDB passwordswlan.ini against deletionName: Improve user experience
:bangbang: The release breaks a few things in ota update :bangbang:
Make sure to read the instructions below carfully!.
System > Backup/Restore page)!11.3.1 before you update to this release. All other migrations are not tested.
Rolling newer than 11.3.1 can also be used, but no guaranty.firmware.bin file from this release. but do not reboothtml-from-11.3.1.zip in html upload and update the web interface.If anything breaks you can try to
1. Call http://<IP>/ota?task=update&file=firmware.bin resp. http://<IP>/ota?task=update&file=html.zip if the upload successed but the extraction failed.
1. Use the initial_esp32_setup.zip ( https://github.com/jomjol/AI-on-the-edge-device/wiki/Installation ) as alternative.
zip, tfl, tflite, bin) within in one common update interfaceupdate.zip from the Release pageupload, processing, ...) displayed on Web Interfacetflite, esp32-cam, esp-nn, as of 20220924)checkDigitConsistency now working like releases before 11.3.1/firmware from GitHub repository.
If you want to get the latest firmware.bin and html.zip files, please download from the automated build action or release pageIntermediate Digits
ATTENTION:
first update the firmware.bin and ensure that the new version is running
Only afterwards update the html.zip
Otherwise the downwards compatibility of the new counter clockwise feature is not given and you end in a reboot loop, that needs manual flashing!
NEW v11.3.1: corrected corrupted asset firmware.bin
Increased precision (more than 6-7 digits)
Implements Counter Clockwise Analog Pointers
Improved post processing algorithm
Debugging: intensive use of testcases
MQTT: improved handling, extended logging, automated reconnect
HTML: Backup Option for Configuration
HTML: Improved Reboot
HTML: Update WebUI (Reboot, Infos, CPU Temp, RSSI)
This version is largely also based on the work of caco3, adellafave, haverland, stefanbode, PLCHome
Intermediate Digits
Updated Tensorflow / TFlite to newest tflite (version as of 2022-07-27)
Updated analog neural network file (ana-cont_11.3.0_s2.tflite - default, ana-class100_0120_s1_q.tflite)
Updated digit neural network file (dig-cont_0570_s3.tflite - default, dig-class100_0120_s2_q.tflite)
Added automated filtering of tflite-file in the graphical configuration (thanks to @caco3)
Updated consistency algorithm & test cases
HTML: added favicon and system name, Improved reboot dialog (thanks to @caco3)
Intermediate Digits
Intermediate Digits
NEW v11.0.1: Bug Fix InfluxDB configuration (only update of html.zip necessary)
Implementation of new CNN types to detect intermediate values of digits with rolling numbers
Updated neural network files (and adaption to new naming convention)
Published a tool to download and combine log files - **Thanks to **
Bug Fix: InfluxDB enabling in grahic configuration
Stability Increase
NEW 10.6.2: ignore hidden files in model selection (configuration page)
NEW 10.6.1: Revoke esp32cam & tflite update
NEW 10.6.1: Bug Fix: tflite-filename with ".", HTML spelling error
IndluxDB: direct injection into InfluxDB - thanks to wetneb
MQTT: implemented "Retain Flag" and extend with absolute Change (in addition to rate)
config.ini: removal of modelsize (readout from tflite)
Updated analog neural network file (ana1000s2.tflite) & digit neural network file (dig1400s2q.tflite)
TFMicro/Lite: Update (espressif Version 20220716)
Updated esp32cam (v20220716)
ESP-IDF: Update to 4.4
Internal update (CNN algorithm optimizations, reparation for new neural network type)
Bug Fix: no time with fixed IP, Postprocessing, MQTT
Stability Increase
firmware.bin (no rate update)Stability Increase
/config/)
firmware directory of the repositoryana-s3-q-20220105.tflite)dig-s1-q-20220102.tflite)Espressif 3.5.0Stability Increase
LEDIntensity).
Remark: as auto illumination in the camera is used, this is rather for energy saving. It will not help reducing reflectionsATTENTION: The new ESP32 camera hardware driver is much more stable on newer OV2640 versions (no or much less reboots) but seems to be not fully compatible with older versions.
If you have problem with stalled systems you can try the following
Update the parameter ImageQuality to 12 instead of current value 5 (manually in the config.ini)
If this is not helping, you might need to update your hardware or stay with version 9.2
Stability Increase
Due to the updated camera driver, the image looks different and a new setup might be needed
Reduce reboot due to camera problems
Update esp32-camera to new version (master as of 2022-01-09)
Stability Increase
html.zipconfig.ini available: copy it to /config, open the graphical configuration and save it again.config.ini not available: reset the parameter "MainTopic" within the config.ini manuallyStability Increase
Reduce ESP32 frequency to 160MHz
Update tflite (new source: https://github.com/espressif/tflite-micro-esp-examples)
Update analog neural network (ana-s3-q-20220105.tflite)
Update digit neural network (dig-s1-q-20220102.tflite)
Increased web-server buffers
bug fix: compiler compatibility
Stability Increase
NEW v10.0.2: Corrected JSON error
Updated compiler toolchain to ESP-IDF 4.3
Removal of memory leak
Improved error handling during startup (check PSRAM and camera with remark in logfile)
MQTT: implemented raw value additionally, removal of regex contrain
Normalized Parameter MaxRateValue to "change per minute"
HTML: improved input handling
Corrected error handling: in case of error the old value, rate, timestamp are not transmitted any more
External Illumination
http://IP-ADRESS/json
License change (remove MIT license, remark see below)
html: show hostname in title and main page
configuration:
ExtendedResolution to individual number settingsIgnoreLeadingNaN (delete leading NaN's specifically)config.ini needed (open, adjust ExtendedResolution, save)Bug fixing (html, images of recognized numbers)
ATTENTION: LICENSE CHANGE - removal of MIT License.
Currently no licence published - copyright belongs to author
If you are interested in a commercial usage or dedicated versions please contact the developer
Improve server responsiveness
Flow status and prevalue status in overview
Improved prevalue handling
GPIO: using the general mqtt main topic for GPIO
Upgrade digit CNN to v12.0.0 (added new images)
Update tfmicro to new master (2021-08-07)
Bug fix: remove text in mqtt value, remove connect limit in wlan reconnet
NEW 8.0.5: bug fix: saving prevalue
NEW 8.0.4: bug fix: load config.ini after upgrade
NEW 8.0.3: bug fix: reboot during config.ini handling, html error
NEW 8.0.2: saving roundes prevalue, bug fix html server
NEW 8.0.1: bug fix: html handling of parameter FixedExposure and ImageSize
Dual / multi meter support (more than 1 number to be recognized) This is implemented with the feature "number" on the ROI definition as well as selected options
MQTT: standardization of the naming - including new topics (json, freeMem, uptime)c
Preparation for extended GPIO support (thanks to Zwerk2k) - not tested and fully functional yet
Bug fixing: html server, memory leak, MQTT connect, hostname, turn of flash LED
ATTENTION: the configuration and prevalue files are modified automatically and will not be backward compatible!
NEW: 7.1.2: bug fix setting hostname, Flash-LED not off during reboot
NEW: 7.1.1: bug fix wlan password with "=" (again)
MQTT error message: changes "no error", send retain flag
Update wlan handling to esp-idf 4.1
Upgrade digit CNN to v8.7.0 (added new images)
Bug fix: MQTT, WLAN, LED-Controll, GPIO usage, fixed IP, calculation flow rate
NEW: 7.0.1: bug fix wlan password with "="
Upgrade digit CNN to v8.5.0 (added new images)
New MQTT topics: flow rate (units/minute), time stamp (last correct read readout)
Update MQTT/Error topic to " " in case no error (instead of empty string)
Portrait or landscape image orientation in rotated image (avoid cropping)
NEW 6.7.2: Updated html for setup modus - remove reboot on edit configuration)
NEW 6.7.1: Improved stability of camera (back to v6.6.1) - remove black strips and areas
Upgrade digit CNN to v8.3.0 (added new type of digits)
Internal update: TFlite (v2.5), esp32cam, startup sequence
Rollback to espressif v2.1.0, as v3.2.0 shows unstable reboot
Bugfix: WLan-passwords, reset of hostname
NEW 6.6.1: failed SD card initialization indicated by fast blinking LED at startup
Improved SD-card handling (increase compatibility with more type of cards)
Upgrade digit CNN to v8.2.0 (added new type of digits)
Supporting alignment structures in ROI definition
Bug fixing: definition of hostname in config.ini
Additional alignment marks for settings the ROIs (analog and digit)
Upgrade analog CNN to v7.0.0 (added new type of pointer)
NEW: 6.3.1: bug fixing in initial edit reference image and config.ini (Spelling error in InitialRotate)
Initial setup mode: bug fixing, error correction
Bug-fixing
NEW 6.2.2: bug fixing
NEW 6.2.1: Changed brightness and contrast to default if not enabled (resolves to bright images)
Determination of fixed illumination settings during startup - speed up of 5s in each run
Update digit CNN to v8.1.1 (additional digit images trained)
Extended error message in MQTT error message
Image brightness is now adjustable
Bug fixing: minor topics
Disabling of analog / digit counters in configuration
Improved Alignment Algorithm (AlignmentAlgo = Default, Accurate , Fast)
Analog counters: ExtendedResolution (last digit is extended by sub comma value of CNN)
config.ini: additional parameter hostname (additional to wlan.ini)
Switching of GPIO12/13 via http-interface: /GPIO?GPIO=12&Status=high/low
Bug fixing: html configuration page, wlan password ("=" now possible)
Major change: image processing fully in memory - no need of SD card buffer anymore
MQTT: Last Will Testament (LWT) implemented: "connection lost" in case of connection lost to TopicError
Disabled CheckDigitIncreaseConsistency in default configuration - must now be explicit enabled if needed
Update digit CNN to v7.2.1 (additional digit images trained)
Setting of arbitrary time server in config.ini
Option for fixed IP-, DNS-Settings in wlan.ini
Increased stability (internal image and camera handling)
Bug fixing: edit digits, handling PreValue, html-bugs
Implementation of initial setup modus for fresh installation
Code restructuring (full compatibility between pure ESP-IDF and Platformio w/ espressif)
Implementation of configuration editor (including basic and expert mode)
Adjustable time zone to adjust to local time setting (incl. daylight saving time)
MQTT: additional topic for error reporting
standardized access to current logfile via http://IP-ADRESS/logfileact
Update digit CNN to v7.2.0, analog CNN to 6.3.0
Bug fixing: truncation error, CheckDigitConsistency & PreValue implementation
Implementation of rolling log-files
Update Tflite-Core to master@20201108 (v2.4)
Bug-fixing for reducing reboots
Update digit CNN to v6.5.0 and HTML (Info to hostname, IP, ssid)
New implementation of "checkDigitConsistency" also for digits
MQTT-Adapter: user and password for sign in MQTT-Broker
Implementation of MQTT Client
Improved Version Control
bug-fixing
Integrated automated versioning system (menu: SYSTEM --> INFO)
Update Build-System to PlatformIO - Espressif 32 v2.0.0 (ESP-IDF 4.1)
Implementation of Decimal Shift
Update default CNN for digits to v6.4.0
Improvement HTML
Support for Chrome and Edge
Reduce logging to minimum - extended logging on demand
Implementation of hostname in wlan.ini (hostname = "HOSTNAME")
Bug fixing, code corrections
wasserzaehler.html?noerror=true to suppress an potential error messageBug in configuration of analog ROIs corrected - correction in v.1.0.2 did not work properly
Improved update page for the web server (/html can be updated via a zip-file, which is provided in /firmware/html.zip)
Improved Chrome support
firmware.bin, also the content of /html needs to be updated!Bug in configuration of analog ROIs corrected
minor bug correction
preValue.ini Bug corrected
minor bug correction
First usable version - compatible to previous project (https://github.com/jomjol/water-meter-system-complete)
NEW: