Releases: jomjol/AI-on-the-edge-device
15.2.0
[15.2.0] - 2023-04-23
- #2351 Crash/Failure on Alignment Mark Updating
Update Procedure
Update Procedure see online documentation
Changes
For a full list of changes see Full list of changes
Added
- #2286 Implement a camera livestream handler
- #2252 Set prevalue using MQTT + set prevalue to RAW value (REST+MQTT)
- #2319 Extend InfluxDBv1 with individual topic names
Changed
- #2285 Re-implemented PSRAM usage
- #2325 Keep MainFlowTask alive to handle reboot
- #2233 Remove trailing slash in influxDBv1
- #2305 Migration of PlatformIO
5.2.0
to6.1.0
(resp. ESP IDF from4.4.2
to5.0.1
) - Various cleanup and refactoring
Fixed
- #2326 Activate save button after Analogue ROI creationSet prevalue using MQTT + set prevalue to RAW value (REST+MQTT)
- #2283 Fix Timezone issues on InfluxDB
- Various minor fixes
Removed
- n.a.
15.1.1
Update Procedure
Update Procedure see online documentation
Changes
For a full list of changes see Full list of changes
Added
Changed
- n.a.
Fixed
- #2224, #2213 Reverted some of the PSRAM usage changes due to negative sideffects
- #2203 Correct API for pure InfluxDB v1
- #2180 Fixed links in Parameter Documentation
- Various minor fixes
Removed
- n.a.
15.1.0
Update Procedure
Update Procedure see online documentation
Changes
For a full list of changes see Full list of changes
Added
- The Configuration page has now tooltips with enhanced documentation
- MQTT:
- Added
GJ
(gigajoule
) as an energy meter unit - Removed State Class and unit from
raw
topic - Various Improvements (Only send Homeassistant Discovery the first time we connect, ...) (#2091)
- Added
- Added Expert Parameter to change CPU Clock from
160
to240 Mhz
- SD card basic read/write check and a folder/file presence check at boot to indicate SD card issues or missing folders / files (#2085)
- Simplified "WIFI roaming" by client triggered channel scan (AP switching at low RSSI) -> using expert parameter "RSSIThreshold" (#2120)
- Log WLAN disconnect reason codes (see WLAN disconnect reasons)
- Support of InfluxDB v2 (#2004)
Changed
- Updated models (tflite files), removed old versions (#2089, #2133)
‼️ Attention: Update your configuration!- Hybrid CNN network to
dig-cont_0611_s3
- Analog CNN network to
ana-cont-11.0.5
andana-clas100-1.5.7
- Digital CNN network to
dig-class100-1.6.0
- Hybrid CNN network to
- Various Web interface Improvements/Enhancements:
- Restructured Menu (Needs cache clearing to be applied)
- Enhanced
Previous Value
page - Improved/faster Graph page
- Various minor improvements
- ROI config pages improvements
- Improved Backup Functionality
- Added log file logs for Firmware Update
- Improved memory management (moved various stuff to external PSRAM, #2117)
- Camera driver update: Support of contrast and saturation (#2048)
‼️ Attention: This could have impact to old configurations. Please check your configuration and potentially adapt parametrization, if detection is negativly affected. - Improved error handling and provide more verbose output in error cases during boot phase (#2020)
- Red board LED is indicating more different errors and states (see Status LED Blink Codes)
- Logfile: Print start indication block after time is synced to indicate start in logfile after a cold boot
Image Quality Index
: Limit lower input range to 8 to avoid system instabilities
Fixed
- Various minor fixes
- Added State Class "measurement" to rate_per_time_unit
- GPIO: Avoid MQTT publishing to empty topic when "MQTT enable" flag is not set
- Fix timezone config parser
- Remote Setup truncated long passwords (#2167)
- Problem with timestamp in InfluxDB interface
Removed
- n.a.
15.0.3
Name: Parameter Migration
Update Procedure
Update Procedure see online documentation
Changes
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!
Added
- n.a.
Changed
- #2023 Migrated Parameters
- Removed old
Topic
parameter, it is not used anymore
Fixed
- #2036 Fix wrong url-encoding
- NEW v15.0.2: #1933 Bugfix InfluxDB Timestamp
- NEW v15.0.3: Re-added lost dropdownbox filling for Postprocessing Individual Parameters
Removed
- n.a.
15.0.2
Name: Parameter Migration
Update Procedure
Update Procedure see online documentation
Changes
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!
Added
- n.a.
Changed
- #2023 Migrated Parameters
- Removed old
Topic
parameter, it is not used anymore
Fixed
Removed
- n.a.
15.0.1
Name: Parameter Migration
Update Procedure
Make sure to create a backup beforehand
Update Procedure see online documentation
Changes
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!
Added
- n.a.
Changed
- #2023 Migrated Parameters
- Removed old
Topic
parameter, it is not used anymore
Fixed
- 2036 Fix wrong url-encoding
Removed
- n.a.
14.0.3
Stabilization and Improved User Experience
Thanks to over 80 Pull Requests from 6 contributors, we can announce another great release with many many improvements and new features:
Update Procedure
Update Procedure see online documentation
Changes
For a full list of changes see Full list of changes
Added
- 1877 Show WIFI signal text labels / Log RSSI value to logfile
- 1671 Added experimental support for WLAN 802.11k und 802.11v (Mesh-Support)
- Web UI caching of static files
- Added various debug tools
- 1798 Add error handling for memory intensive tasks
- 1784 Add option to disable brownout detector
- Added full web browser based installation mode (including initial setup of SD-card) - see WebInstaller
- Added Demo Mode
- 1648 Added trigger to start a flow by REST API or MQTT
- Show special images during steps
Initializing
andTake Image
as the current camera image might be incomplete or outdated
Changed
- Migrated documentation (Wiki) to https://jomjol.github.io/AI-on-the-edge-device-docs. Please help us to make it even better.
- New OTA Update page with progress indication
- Various memory optimizations
- Cleanup code/Web UI
- Updated models
- 1809 Store preprocessed image with ROI to RAM
- Better log messages on some errors/issues
- 1742 Replace alert boxes with overlay info boxes
- Improve log message when web UI is installed incomplete
- 1676 Improve NTP handling
- HTML: improved user informations (info boxes, error hints, ...)
- 1904 Removed newlines in JSON and replaced all whitespaces where there was more than one
Fixed
- Fixed many many things
- 1509 Protect
wifi.ini
from beeing deleted. - 1530 Homeassistant
Problem Sensor
- 1518 JSON Strings
- 1817 DataGraph: datafiles sorted -> newest on top
Removed
- n.a.
13.0.8
Home Assistant MQTT Discovery Support
Update Procedure
-
Backup your configuration (use the
System -> Backup/Restore
page)! -
You should update to
12.0.1
before you update to this release. All other migrations are untested. -
Upload and update the
update-*.zip
file from this release. -
Let it restart and check on the
System -> Info
page that the Firmware as well as the Web UI got updated. If only one got updated, redo the update. If it fails several times, you also can update the Firmware and the Web UI separately. -
Safe way:
- Update first the
firmware.bin
(extract it from one of the provided zip files) and do the Reboot - Update with the full zip file (
update-*.zip
, ignore the version warning after the reboot)
- Update first the
-
Please go to
Settings -> Configuration
and address the changed parameters:- DataLogging (storing the values for data graph)
- Debug (extended by different debug reporting levels)
-
Make sure it starts to do the digitalization (check the Error field on the overview page). If it does not start a round within a minute, restart the device.
If anything breaks you can try to enforce manual update as following:
OTA:
1. Make sure the last run of the update completed the Uploading step.
1. Call http://<IP>/ota?task=update&file=<UPLOAD_FILENAME>
to enforce the extraction/flashing.
Initial Setup:
1. Use the initial_esp32_setup.zip ( https://github.com/jomjol/AI-on-the-edge-device/wiki/Installation ) as alternative to have a clean install.
Added
-
Implementation of Home Assistant MQTT Discovery
-
Improved ROIs configuration: locked ROI geometry, equidistant delta x
-
Improved OTA Update mechanism (only working after installation for next update)
-
Added data logging in
/log/data
- One day per file and each measurement is on one line- Format: csv - comma separated
- Content:
time
,name-of-number
,raw-value
,return-value
,pre-value
,change-rate
,change-absolute
,error-text
,cnn-digital
,cnn-analog
-
Show graph of values direct in the user interface (thanks to @rdmueller)
- Using new data logging (see above)
- Possibility to choose different values and switch between different numbers (if present)
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
Changed
- Updated tflite (
dig-cont_0600_s3.tflite
) - Updated OTA functionality (more robust, but not fully bullet prove yet)
- Updated Espressif library to
espressif32@v5.2.0
- #1176 accept minor negative values (-0.2) if extended resolution is enabled
- #1143 added config parameter
AnalogDigitalTransitionStart
. It can setup very early and very late digit transition starts. - New version of
dig-class100
(v1.4.0): added images of heliowatt powermeter - NEW v13.0.2: Update Tool "Logfile downloader and combiner" to handle the new csv file format.
- NEW v13.0.2: MQTT: Added MQTT topic
status
(Digitalization Status), Timezone to MQTT topictimestamp
.# - NEW v13.0.2: Logging: Disable heap logs by default, cleanup
- NEW v13.0.7:
- log NTP server name
- Improved log messages
- Various preparations for next release
- NEW v13.0.8:
- Continue booting on PSRAM issues, Web UI will show an error
- Updated models
- Various UI enhancements
- Various internal improvements
- Show uptime in log
- Show uptime and round on overview page
Fixed
- #1116 precision problem at setting prevalue
- #1119 renamed
firmware.bin
not working in OTA - #1143 changed postprocess for
analog->digit
(lowest digit processing) - #1280 check ROIs name for unsupported characters
- #983 old log files did not get deleted
- Failed NTP time sync during startup gets now retried every round if needed
- Whitespaces and
=
in MQTT and InfluxDB passwords - Various minor fixes and improvements
- NEW v13.0.2: Corrected Version comparison between firmware and Web UI.
- NEW v13.0.3: Re-updated build environment to v5.2.0 (from accidental downgrad to v4.4.0)
- NEW v13.0.4: Fix for reboot in case of MQTT not used
- NEW v13.0.5: No reboot in case of missing NTP-connection
- NEW v13.0.7:
- Prevent autoreboot on cam framebuffer init error
- Properly protect
wlan.ini
against deletion - Fixed various MQTT topic content issues
- Fix Digit detected as 10 (#1525)
- Fix frozen time in datafile on error
- Various minor fixes
- NEW v13.0.8:
Removed
- n.a.
12.0.1
Improve user experience
Make sure to read the instructions below carfully!.
- Backup your configuration (use the
System > Backup/Restore
page)! - You should update to
11.3.1
before you update to this release. All other migrations are not tested.
Rolling newer than11.3.1
can also be used, but no guaranty. - Upload and update the
firmware.bin
file from this release. but do not reboot - Upload the
html-from-11.3.1.zip
in html upload and update the web interface. - Now you can reboot.
If anything bricks you can try to
- 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. - Use the
initial_esp32_setup.zip
( https://github.com/jomjol/AI-on-the-edge-device/wiki/Installation ) as alternative.
Added
- Automatic release creation
- Newest firmware of rolling branch now automatically built and provided in Github Actions Output (developers only)
- #1068 New update mechanism:
- Handling of all files (
zip
,tfl
,tflite
,bin
) within in one common update interface - Using the
update.zip
from the Release page - Status (
upload
,processing
, ...) displayed on Web Interface - Automatical detection and suggestion for reboot where needed (Web Interface updates only need a page refresh)
‼️ Best for OTA use Firefox. Chrome works with warnings. Safari stuck in upload.
- Handling of all files (
Changed
- Integrated version info better shown on the Info page and in the log
- Updated menu
- Update used libraries (
tflite
,esp32-cam
,esp-nn
, as of 20220924)
Fixed
- #1092 censor passwords in log outputs
- #1029 wrong change of
checkDigitConsistency
now working like releases before11.3.1
- Spelling corrections (cristianmitran)
Removed
- Remove the folder
/firmware
from GitHub repository.
If you want to get the latestfirmware.bin
andhtml.zip
files, please download from the automated build action or release page
11.3.1 - Intermediate 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!
Changes
- NEW v11.3.1: corrected corrupted asset
firmware.bin
(v11.3.0
). - 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
Looking for the partition.bin
or bootloader.bin
?
Use the ones from https://github.com/jomjol/AI-on-the-edge-device/releases/tag/v11.2.0