Repository navigation
v4.27
A fast plotter again, a proper Files page, and a Start button that's safe on FOC firmware. Most of this came from community testing on the forum: thanks, sperate.
Try it first: the live demo runs this exact UI on a simulated inverter, in your browser.
Plotter: fast again over UART
- Over UART with up to 10 values, each read is now the inverter's own
stream <Burst> <names>command (libopeninv, so stm32-sine and ZombieVerter alike): Burst rows sampled back-to-back and returned in one reply. 100 rows of 3 values take about 60 ms, wheregetwith repeat took about 1.2 s for 100 samples of one value. It's a scope view for fast signals likeangle,idandiq. - Over CAN (the ESP answers
getvia SDO), or with more than 10 values, it keepsgetwith repeat. - Burst (Plot → Edit Layout) is samples per read: up to 500 rows over UART, capped at 2,500 values a batch so the ESP doesn't run short of RAM. A batch is a burst of back-to-back samples, so slow signals plot as flat steps at a high Burst. The default for new layouts is 10.
Start inverter: asks first, and works on FOC
- Start inverter in manual mode now asks for confirmation.
- On FOC firmware, which has no
startcommand ("Not implemented in FOC variant"), it falls back to themanualstartparameter, which starts the inverter in Run. manualstartcan't be left armed. It latches until every interlock passes (no throttle, brake seen, emcystop/mprot, udcsw ≤ udc < udclim). Left set while one blocks, the inverter would start by itself once that clears, so:- if it hasn't started within about 3 s, the button clears it again and shows the status flags that held it back;
- a page closed, reloaded or switched away while a start is pending sends one last clear on its way out;
- a clear the device doesn't answer (say, inverter EMI on the Wi-Fi) is retried, and if it still fails an alert says
manualstartmay still be armed; - Stop always clears
manualstart, whoever set it.
Files page
- Download beside Delete.
- Delete asks for confirmation, and says why when it's refused (with sign-in on, the web interface's own files need an admin) instead of silently doing nothing.
- Files are grouped into Your files and System files. System files are marked Original, Modified (a different size from what the build shipped, e.g. after you uploaded a replacement) or Missing. The build now writes
fs-manifest.json(the shipped files and their sizes) into the filesystem image. - A tighter list, with sizes.
- Fixed: a file in a folder (e.g.
fonts/) couldn't be deleted. The firmware listed only its base name;/listnow gives full paths and sizes.
Fixes and polish
- Spot values on phones: the Name column no longer changes width as you scroll the list. The multi-column layout measured from the list's position on screen, which moves as a phone scrolls, so it flipped part-way down.
- App mode: the manifest asks for standalone display (full screen from the home screen, where the browser allows it over plain http).
- Dark theme dropdowns are readable: Chrome drew them with a light palette (white group headings, a pale highlight behind light text).
- Fonts ship with their licence beside them (
fonts/OFL.txt), and the font notices are corrected. - Removed the unused
logo.png(22.7 KB of filesystem).
Updating
Use the Update page as usual: device settings and accounts are kept by the ESP, and your layouts and images are restored by the browser after the reboot (with sign-in on, sign back in as an operator or admin).
For contributors
- E2E suite at 296 tests, including the stream and
getplot paths, the FOC start fallback and its latch safety, and the Files page. - The mock ESP can act as the FOC build (
/__test/foc, optionally with a blocking interlock).
Full Changelog: v4.26...v4.27