Releases: jomjol/AI-on-the-edge-device
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
11.2.0 - 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 digital 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)
11.1.1 - Intermediate Digits
- New and improved consistency check (especially with analog and digital counters mixed)
- Bug Fix: digital counter algorithm
11.0.1 - 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
- By default the old algo (0, 1, ..., 9, "N") is active (due to the limited types of digits trained so far)
- Activation can be done by selection a tflite file with the new trained model in the 'config.ini'
- Details can be found in the wiki (different types, trained image types, naming convention)
- Updated neural network files (and adaption to new naming convention)
- Published a tool to download and combine log files - **Thanks to **
- Files see '/tools/logfile-tool', How-to see wiki
- Bug Fix: InfluxDB enabling in grahic configuration
10.6.1 - Stability Increase
- 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) & digital 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