Skip to content

v1.19.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 18:11
· 4 commits to main since this release

This release adds the Belkin/Liebert driver from NUT with a fix for the Vertiv Edge 750, moves the update check from the board to your browser, gives back a large share of the board's memory, and makes the login easier to live with.

⚠️ Upgrade notes

  • No more online install from the board (#146). The board no longer opens any HTTPS connection, so the Download and install button is gone. The check for new releases now runs in your browser: the Firmware OTA page shows the installed version, the latest release, when it was last checked, a Check now button and a Download link to the -ota.bin of your board. Download it and drop it on the same page to update.
    • The check works even when the board itself has no Internet access, as long as the browser has.
    • Board Settings → Firmware updates → Check for updates when the Web UI opens keeps the value you had (on by default). With it on, your browser asks api.github.com for the latest release when you open the Web UI, at most once every 6 hours.
    • Why: the HTTPS check took about 60-70 KB of memory at its peak, and once the free memory dropped to 2.5 KB. Without it, the lowest free memory on an ESP32-S3 without PSRAM went from about 45 KB to about 130 KB, and firmware.bin is 190 KB smaller on the ESP32-S3 and Nano ESP32, 280 KB smaller on the ESP32-P4.
    • For scripts that use the Web UI API: POST /api/update/check and POST /api/update/install are gone, GET /api/update now returns the running version and the name of the board's -ota.bin, and /api/system-status no longer has the update object.

New and improved UPS support

  • Vertiv / Liebert / Belkin (10af:0000, 0001, 0002, 0004, 0008, and the Belkin 050d products listed by NUT) (PR #160). A new driver mirrors NUT's belkin-hid, with its corrections for the wrong voltage and frequency scaling of the Liebert descriptors.
    • Vertiv Edge 750 VA (10af:0002): the board no longer crashes. The UPS answers one report with more bytes than it declares, which tripped the ESP-IDF USB host; the board now asks it for at least 8 bytes per request, as NUT does. Tested on an ESP32-S3.
    • Liebert GXT3, GXT4, PowerSure PSA, PST / PSI5, PSI 1440 and the Belkin units are mapped as in NUT but not tested yet. The Vertiv GXT5 (10af:1000) stays with the generic driver, as in NUT.
    • battery.capacity is the rated power in VA, as in NUT. These units don't report their nominal power: to get ups.realpower, add ups.realpower.nominal (W) or ups.power.nominal (VA) as a custom variable on the NUT Server page.
    • Known issue: unplugging and replugging the Vertiv Edge while the board runs still ends in a board restart, after which everything works. A fix is being tested in #163.
  • UPS units with a USB serial port (ADR 0014, PR #166, #161). A UPS with a USB CDC-ACM port or an XR21V1410 bridge (04e2:1410, for example the APC SRV2KI-E) is now recognized: the Web UI says it is not supported yet, the System Log shows its USB interfaces, and the USB Diagnostics export has a serial section. No UPS protocol runs on it yet and the board sends it nothing: this is the first step towards supporting these units.
  • Tested UPS units: the Powerwalker VI 600 SW (Mustek protocol over the Cypress bridge, 0665:5161) is now in the README list (#159).

Fixes

  • Wi-Fi: the board joins the strongest access point (PR #172). With the same network name on several channels (mesh systems, repeaters), the board used to join the first access point it found, even with a stronger one next to it. It now scans every channel and picks the strongest signal, also when it reconnects. Connecting can take about 2 seconds longer.

Other changes

  • "Remember me" lasts 30 days from your last visit (#131), not 30 days from the login: each page load renews it. Nothing extra is written to the board's flash.
  • "Forgot your password?" on the login page (#131). The link opens the recovery steps for your board: double reset and the NUT_ESP32_Config access point on boards with Wi-Fi, double reset and the 10-minute recovery window on boards without. The recovery itself is unchanged.
  • Browser back and forward between the Web UI tabs. The open tab is now in the address (/#nut, /#board, ...), so back and forward move between tabs, a reload keeps the tab you were on, and you can bookmark a tab.
  • More free memory. On top of the update check, the syslog queue and its task now exist only while syslog is on (about 14 KB back with syslog off, the default), and the main task stack went from 16 KB to 12 KB after measuring it. The diagnostics (/api/system-status and a [DIAG] line in the System Log every minute) now show how much stack each task has left.

Thanks

  • @Darknetzz for the Belkin/Liebert driver and the Vertiv Edge fix, tested on their own UPS (#160, #163).
  • @josch0 for the USB serial groundwork and for testing it with an APC SRV2KI-E on an ESP32-P4-NANO (#166, #161).
  • @ninjmnky for the Wi-Fi access point fix (#172).
  • @rtadams89 for the idea of checking for updates from the browser (#146).
  • @tevaadarelsol for asking for an easier login and a way back in after a forgotten password (#131), and for the update check on networks without Internet (#146).
  • @Peppercorn27 for the Powerwalker VI 600 SW report (#159).
  • Everyone who supported the project on Ko-fi and PayPal: thank you!

Install

From v1.17.0 or v1.18.0 you can still use Download and install on the OTA page: the installed firmware does the install. Otherwise flash it from the web installer, or upload firmware.bin, the -ota.bin of your board or the whole zip through OTA in the web UI.

Full Changelog: v1.18.0...v1.19.0