Skip to content

13.0.8

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Dec 20:48

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.