Skip to content

Releases: jomjol/AI-on-the-edge-device

15.2.4

02 May 05:55
cbd14a2
Compare
Choose a tag to compare

Changes

For a full list of changes see Full list of changes

Changed

  • Updated PlatformIO to 6.2.0
  • #2376 Improve logging if Autostart is not enabled

Fixed

  • #2373 Allow the Alignment Mark step while status is "Initializing" or "Initialization (delayed)" or while in setup mode
  • #2381 Fix broken sysinfo REST API

15.2.0

23 Apr 15:13
c2a55e7
Compare
Choose a tag to compare

[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 to 6.1.0 (resp. ESP IDF from 4.4.2 to 5.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

23 Mar 20:39
03c84a1
Compare
Choose a tag to compare

Update Procedure

Update Procedure see online documentation

Changes

For a full list of changes see Full list of changes

Added

  • #2206 Log PSRAM usage
  • #2216 Log MQTT connection refused reasons

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

12 Mar 21:53
7d33c3e
Compare
Choose a tag to compare

Update Procedure

Update Procedure see online documentation

‼️ Afterwards you should force-reload the Web Interface (usually Ctrl-F5 will do it)!

‼️ Afterwards you should check your configuration for errors!

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 Expert Parameter to change CPU Clock from 160 to 240 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 and ana-clas100-1.5.7
    • Digital CNN network to dig-class100-1.6.0
  • 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

28 Feb 20:40
f42e9c7
Compare
Choose a tag to compare

Name: Parameter Migration

Update Procedure

Update Procedure see online documentation

‼️ Afterwards you should force-reload the Web Interface (usually Ctrl-F5 will do it).

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

27 Feb 21:35
Compare
Choose a tag to compare

Name: Parameter Migration

Update Procedure

Update Procedure see online documentation

‼️ Afterwards you should force-reload the Web Interface (usually Ctrl-F5 will do it).

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

Removed

  • n.a.

15.0.1

23 Feb 22:41
22e4b39
Compare
Choose a tag to compare

Name: Parameter Migration

Update Procedure

Make sure to create a backup beforehand

Update Procedure see online documentation

‼️ Afterwards you should force-reload the Web Interface (usually Ctrl-F5 will do it).

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

05 Feb 19:35
6c891ab
Compare
Choose a tag to compare

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 and Take 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

19 Dec 20:48
Compare
Choose a tag to compare

Home Assistant MQTT Discovery Support

Update Procedure

‼️ Make sure to read the instructions below carfully!

  1. Backup your configuration (use the System -> Backup/Restore page)!

  2. You should update to 12.0.1 before you update to this release. All other migrations are untested.

  3. Upload and update the update-*.zip file from this release.

  4. 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.

  5. Safe way:

    1. Update first the firmware.bin (extract it from one of the provided zip files) and do the Reboot
    2. Update with the full zip file (update-*.zip, ignore the version warning after the reboot)
  6. Please go to Settings -> Configuration and address the changed parameters:

    • DataLogging (storing the values for data graph)
    • Debug (extended by different debug reporting levels)
  7. 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 [email protected]
  • #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 topic timestamp.#
  • 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:
    • Fix Rate Problem (#1578, #1572)
    • Stabilized MQTT
    • Fixed redundant calls in OTA
    • Block REST API calls till resource is ready
    • Fixed number renaming (#1635)

Removed

  • n.a.

12.0.1

29 Sep 17:21
Compare
Choose a tag to compare

Improve user experience

‼️ The release breaks a few things in OTA update ‼️

Make sure to read the instructions below carfully!.

  1. Backup your configuration (use the System > Backup/Restore page)!
  2. You should update to 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.
  3. Upload and update the firmware.bin file from this release. but do not reboot
  4. Upload the html-from-11.3.1.zip in html upload and update the web interface.
  5. Now you can reboot.

If anything bricks 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.
  2. 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.

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 before 11.3.1
  • Spelling corrections (cristianmitran)

Removed

  • Remove the folder /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 page