Repository navigation
Harmony-NG v2.5.0
Harmony-NG Release v2.5.0
Features
- feat(webui): switch for Wi-Fi setup over USB (d57fd5e)
- feat(tools): set_wifi_usb.py reads and sets the Hub's Wi-Fi over USB (fe03980)
- feat(hub): set the Wi-Fi over USB in an emergency (e8820b1)
- feat(webui): legacy UI texts behind translation keys (32442f7)
- feat(webui): new UI texts behind translation keys (9157050)
- feat(app): keep an access token instead of the Hub password (61cf16f)
- feat(auth): operators create and delete their own access tokens (4c50a06)
- feat(bt): forget a paired Bluetooth host (d06e601)
- feat(rf): count the key frames lost between the remote and the Hub (b498a92)
- feat(debug): per-key timing trace on the Hub (e37f81c)
Bug Fixes
- fix(hub): verify dropbearmulti before deduplicating and add unit tests (06180fe)
- fix(orchestrator): one hold of the lock in cancel_locked() (6ba3084)
- fix(hub): USB Wi-Fi setup review: kernel lock, CRLF, port rule, restarts (947e7db)
- fix(hub): update /usr/sbin dropbear links when deduping (679e1df)
- fix(hub): deduplicate dropbearmulti and prioritize updated binary (0ac35be)
- fix(hub): report a wrong Wi-Fi password as such on the Hub's wpa_supplicant (3d35472)
- fix(tools): set_wifi_usb.py ends with a message, not a traceback (6e71b27)
- fix(tools): harmony_hid takes only the exact stock refusal as an error (3359e0d)
- fix(hub): USB port stays a device only when a computer set it up (56ac606)
- fix(hub): USB Wi-Fi setup input checks and a setting to turn it off (b2af014)
- fix(hub): a failed or cut-short Wi-Fi test leaves the previous settings (05024f5)
- fix(webui): keep unsaved choices when the language changes (5cd32bd)
- fix(webui): fill translated texts in one pass, translate the last error texts (6af7d03)
- fix(orchestrator): read the current activity under its lock everywhere (6742e87)
- fix(orchestrator): hand out a copy of the current activity (fc5c3a1)
- fix(tools): set_wifi_usb.py retries a Hub that does not answer yet, clearer state after a failed attempt (2c061db)
- fix(tools): harmony_hid takes a refused request as refused (d3491ea)
- fix(auth): hub_user.sh reads a token's owner from its key only (f1f3cd6)
- fix(deploy): remove the recovery access point files from older Hubs (8a04f30)
- fix(auth): no admin rename onto a name in use, leftover tokens on every account path (786f4c2)
- fix(app): forget a deleted token when the new one cannot be made (36833fc)
- fix(auth): who a token acts for, name reuse through the system action, busy texts (d8cd985)
- fix(app): users list with operator accounts, old token deleted first (dcb13e1)
- fix(auth): token file recovery, own token list, rate limit, measured lock wait (63f5c4e)
- fix(app): never drop a token the Hub still has, no password with requests (712ac32)
- fix(auth): token limits, one lock for the token file, owner of tokens made with a token (e154197)
- fix(bt): a dropped front link takes its retry pause with it (9959d41)
- fix(bt): read hub_daemon's link answer as JSON; dry-run printer takes an empty command (55fb711)
- fix(tools): RF debug tools refuse to run while hub_rf runs (e272e40)
- fix(hub): same role for /api/mqtt-publish, one hub_id in the snapshot (f5ead38)
- fix(webui): call the forget flow's helpers through its argument (1dcd8bd)
- fix(bt): links an older hub_daemon cannot take end; one send path to hub_btstack (235dcc3)
- fix(webui): Forget first in the legacy host row; Disconnect stays red (8a13dba)
- fix(webui): say where a forgotten host's devices send their keys (e16ea92)
- fix(bt): a forgotten host stays gone; device links end only on 404 (9e4d221)
- fix(bt): hub_btstack waits for hub_daemon to link a device, never writes devices.json (8728f82)
- fix(hub): time sync times the next look at the mark from the round (6d269f5)
- fix: factory reset runs only a complete script, one at a time (fef6581)
- fix(hub): SSH starts even when /usr/sbin/dropbear cannot be written (6a5b8ab)
- fix(hub): time sync looks at the "not checked" mark only when a recheck is due (5ee5542)
- fix: a cut login no longer stops the factory reset half way (a8299a3)
- fix(hub): factory reset reads the stock files from the stock file system itself (db7cc99)
- fix: factory reset in one login, stock boot files back, honest web UI warning (7630a3e)
- fix(hub): time sync floor from the UTC build date, the agreed time always wins (2b6607d)
- fix(hub): /usr/sbin/dropbear is a self-contained copy, never left without SSH (8da2a45)
- fix: one factory reset script per device, and it deletes the secrets (abe6e0e)
- fix(hub): a clock step of more than an hour needs two time servers that agree (3acc106)
- fix(hub): SSH on the Hub takes key logins only (ed239a8)
- fix(tools): known_hosts edge cases: read-only folder, write-only file, links (9bd621d)
- fix(tools): check the known_hosts file before any device work, by trying it (7f9627d)
- fix(tools): keep ids that stale references use free when renumbering devices (a4dc9b6)
- fix(remote): report a failed login before the remote backup as a failed backup (d9e3f8c)
- fix(tools): record host keys under the given name and refuse an unwritable file (088066a)
- fix(tools): check SSH host keys in every host tool (0aa7d22)
- fix(tools): give long device ids a short id and keep the ids that fit (9e15b25)
- fix(tools): leave repeats out of commands from a stock import (d08dabb)
- fix(hub): a save that could not be written answers 500, and the batch count is 0 (f75e108)
- fix(hub): the two Wi-Fi files are saved both or neither (d78e677)
- fix(hub): atomic file writes follow links, sync the directory, name the thread portably (8350f9f)
- fix(hub): SSDP answers private senders on routed networks too (bf1becd)
- fix(hub): update flag dated in the future, safe reboot from the Wi-Fi portal (412d680)
- fix(hub): DNS list, readlink, portal loop, factory reset flush and update lock (7e73160)
- fix(ir): a finish sequence with no words is none, hold heartbeat takes no key (5d70aa3)
- fix(webui): new UI IR Lab clears its run when a send fails oddly (03a3c40)
- fix(webui): one 401 listener for the new UI Users page (9576e4b)
- fix(hub): end the refused key log line itself, say which reports count as a release (239c098)
- fix(hub): ir-send sends a raw Harmony code given as raw or code (ffb191c)
- fix(hub): count each sender's own RF resends, link counters under the ACK lock (1720c3b)
- fix(tools): no weekly backup from a week the newest five already cover (f16f529)
- fix(hub): one write for TARGET and command on the key pipe, bt-toggle answer (83671df)
- fix(bt): leave the run loop at once on a restored key store, reuse typed text room (83a46ce)
- fix(remote): serial bootstrap always installs an SSH key (f8aacb8)
- fix(hub): only real POSIX strings pass as a timezone (5070181)
- fix(hub): icon delete removes only the icon's own older name (0c4f053)
- fix(hub): hub_rf API refuses a negative or non-numeric Content-Length (475b19f)
- fix(devices): "Device in use" in words people read (904fa3a)
- fix(webui): the account and token list survives the login after a restore (7104c67)
- fix(hub): import target all, one map rewrite at a time, smaller fixes (69be437)
- fix(webui): new UI restore hook outside the restore handler's lines (a1134d5)
- fix(devices,update): map rewrite checked before the rename, unpaired slots, uptime (6d695c0)
- fix(update): the reboot wait counts wall-clock time (325fd3b)
- fix(devices): compact map rewrite, slot by status or version file, stale pages (97c9b65)
- fix(auth): an off period voids every keep; a waiting caller keeps nothing (f2e6ec8)
- fix(remote): an unpair ends a running progress bar (a17f42a)
- fix(hub,webui): an empty activity entry does not switch the key fallback off (898a171)
- fix(webui): ask about accounts made while auth was off as documented (d650591)
- fix(update): unknown is not idle; refusal fields on the command channel (22cb3fc)
- fix(devices): a device never becomes impossible to delete (5ef1729)
- fix(auth): only the owner sets the account marks (715b1f2)
- fix(remote): an activity from the Hub still leaves an out-of-date "Not paired" page (cc72b32)
- fix(webui): the key editor shows the Hub's fallback for unbound keys (5ff2d61)
- fix(remote): stop writing to the touch controller over raw I2C (724794d)
- fix(hub): ask about accounts made while auth was off, refuse deleting a used device (f794a1d)
- fix(update): no update reboot in the middle of an activity switch (986b7cb)
- fix(remote): follow a Hub activity change only on home and activity screens (b06d43d)
- fix(hub): send an unmapped key from the first activity only when it is the map's only one (3ca633e)
- fix(tools): screen renderer reads only regular files (28f80da)
- fix(hub): say when a device id does not fit the remote's device list (a897324)
- fix(remote): store resent RF chunks once and check what the OTA receiver gets (ebdc1c3)
- fix(rf): resend OTA_END, and tell the Hub that a remote has device browsing (e843e0e)
- fix(hub): clear an unpaired slot fully and keep settings the remote does not report (ac81179)
- fix(hub): parse the RF API's slot and route exactly (29143b5)
- fix(hub): keep hub_rf's receive and API threads free, stop on a dead radio (72ccf35)
- fix(remote): deploy_remote.py finds the owner key like the other tools (4021311)
- fix(tools): screen renderer checks --select, allocations and file reads (4aab68b)
- fix(build): one web UI packaging step, no stale files, failures reported (30d3b0d)
- fix(build): check BusyBox and toolchain downloads, key theme cache by URL (4e8a702)
- fix(build): version sync fails loudly, raises versionCode once per release (f0e9c6b)
- fix(build): clean BTstack patch, no hidden packaging failures (cfabd45)
- fix(tools): serial recovery server serves only the Hub and prints an MD5 (390a5b7)
- fix(tools): find the remote's network adapter by its USB ids (604fe4d)
- fix(remote): serial bootstrap decodes without base64 and checks every file (747ad95)
- fix(tools): sync_remote_to_hub.py honours its flag and options, reports failures (e315dd7)
- fix(remote): --no-screen on every install path, ARM-only uploads (ff7316f)
- fix(tools): reset and restore only the right device, in one login (e64a426)
- fix(tools): deploy and back up only a Hub, never without a backup (6e01b42)
- fix(hub): read RF frame fields in their layout and keep them valid JSON (e1e2bad)
- fix(hub): give each ACKed RF send its own ACK (1dc01be)
- fix(hub): check what hub_daemon hands to hub_btstack (b29eeb2)
- fix(hub): wait for ACKs and IR threads without futex (9c42948)
- fix(hub): cap command jobs, say when one waits, and let a cancel stop them (969b6b5)
- fix(hub): device matching, dry run and long IR codes in the dispatcher (f681838)
- fix(ir): held-key player waits with poll(), not a condition variable (b4fa41f)
- fix(hub): Retry-After on 429, printf format checks, API notes for the new answers (062fba6)
- fix(hub): activity requests, MQTT client and responders safe across threads (802593f)
- fix(hub): config ids and values in range, Bluetooth type kept, unknown timezones refused (02e16cb)
- fix(hub): checked bodies for the map saves, icon limits, whole query parameters (e8c788d)
- fix(hub): hub_util mknod and eth_fix report failures (6fd654d)
- fix(hub): register the USB host controller at most once per boot (e68dbeb)
- fix(hub): init.sh rewrites its files and links only when they change (7258b6d)
- fix(hub): factory_reset.sh stops the supervisors and flushes before the reset (ffc7f88)
- fix(hub): hub_user.sh writes only accounts that can log in (61d250f)
- fix(hub): one software update at a time, and a working update token (f8efebe)
- fix(hub): mDNS and SSDP answer unicast only to senders on the Hub's links (e726b71)
- fix(hub): keep the tail of a switch, shared power and step results (3b622da)
- fix: open long-lived file descriptors close-on-exec (ad70e9b)
- fix(remote): keep remote_ui's log in RAM bounded (7195c27)
- fix(remote): lock shared state between the main loop and the RF thread (fc18467)
- fix(remote): Settings rows, taps and return selections match the drawing (623b1f7)
- fix(remote): keep every device command name, check theme font length unsigned (ad76424)
- fix(remote): write settings and config files safely, range check settings (b3166cf)
- fix(remote): suspend gates, reboot decision, clock step and signal handlers (bde392a)
- fix(bt): hub_btstack addresses, kept keys, releases, text and its files (e7ada32)
- fix(webui): plain string for the delay limit message (f27d314)
- fix(webui): translate the new UI's missing keys, check them (19a4aba)
- fix(webui): version the legacy renderer import, no Android backup (7759ec9)
- fix(hub): network scripts follow the Ethernet settings and one Wi-Fi file (eba03cf)
- fix(hub): keep the Wi-Fi recovery portal answering (870abe6)
- fix(hub): write Wi-Fi values as typed and refuse network settings that cannot work (ecf440a)
- fix(webui): legacy forms check the Hub's limits before sending (2ac76fc)
- fix(webui): stop calling Hub routes that do not exist (7681619)
- fix(hub): HTTP replies sent whole, cut bodies refused, safer request targets (19c962c)
- fix(webui): new UI B25 page shows the real key bindings (4567e93)
- fix(webui): key editors do not save after a failed key map read (4cc8350)
- fix(webui): new UI follows the Hub's snapshot and activity_state (2d73c2a)
- fix(webui): new UI handles a refused login and waits for Log Out (a242aec)
- fix(tools): migrate odd input shapes, keep secrets private, shorten long ids (1c00ca0)
- fix(remote): send a hard key pressed with the screen off before lighting the screen (1f84dda)
- fix(ir): repeat a held infrared key until its release (68b0761)
- fix(hub): no command gaps before a live key from a remote (d12c2ca)
- fix(rf): send a queued key at once and never drop the press of a quick tap (097b787)
- fix(bt): read the key pipe when it is written, not on a 100 ms timer (1325ba1)
- fix(bt): never lose a HID report the stack refuses (stuck keys) (80c7d82)
- fix(tools): send Hub USB Wi-Fi credentials in a single byte-counted burst (22e0866)
- fix(rf): lock the companion key state between the RF and dispatch threads (210bc83)
- fix(hub): request body limits per route and one import or export at a time (0a94d7e)
- fix(hub): time limits per HTTP request so slow clients free their worker (d58b6ec)
- fix(update): install each file through a checked temporary copy and record the version last (3c48ec0)
- fix(hub): replace config files through a synced temporary file and report failed saves (77338d8)
- fix(tools): flash a firmware bundle only on a device whose skin it lists (399b5ae)
- fix(remote): install the boot hook and scripts of an RF update by rename (c2edb20)
- fix(hub): limit the icon proxy download in size and time (b8e0990)
- fix(hub): check every part of an import before writing any file (0c844ed)
- fix(hub): queue WebSocket frames per client instead of blocking on send (2d24dd2)
- fix(hub): read WebSocket frames without blocking the main loop (32709a0)
- fix(remote): start remote_ui.bak when the new binary keeps failing at start (898e0e6)
Performance Improvements
- perf(hub): share the cached devices and activities trees with readers instead of copying them (c12dcf1)
Documentation
- docs: roadmap proposal with the status of every task (1048e99)
- docs: Wi-Fi setup over USB (d28eb22)
- docs: how the web UIs are translated (68d643d)
- docs: the Android app logs in with an access token (0935751)
- docs(remote): the key LEDs follow the backlight mode while the screen is on (d68e821)
- docs(readme): Python 3.13, and the two test runners (562abaf)
- docs: factory reset tool options, golden backup, time sync default (bef2fa5)
- docs(remote): activity sync layout and standby table (e72cf47)
- docs(readme): list the tools in tools/ that the layout left out (49afb23)
- docs: hub_util ota-verify in the layout, shorter remote reset paragraph (9814edc)
- docs(bt): Connect and Disconnect act on the host of the command's device (c627c52)
- docs: device delete forms, export targets and the integration token role (a80bd2f)
- docs: README, Home Assistant, Bluetooth and tool READMEs match the code (3746048)
- docs: install, recovery and network guides match the tools (f6ce4e1)
- docs: RF protocol, REMOTE.md and battery guide match the code (9624240)
- docs: API.md matches the handlers, hub_rf and the command channel (a4ab447)
- docs: openapi.yaml matches the handlers (dd4a843)
- docs: describe what the handlers, tools and remote really do (3dba23f)
- docs(bt): forgetting a host, and device links that wait for hub_daemon (af55244)
- docs(tools): one host key entry per spelling, and when the file check stops (4e0eff7)
- docs(tools): limits of the host key policy and what repeats means after import (e58fd89)
- docs: list tools/ssh_hostkeys.py in the repository layout (d742000)
- docs(api): map and layout save limit is 262144 bytes (e4f90a4)
- docs: what the touch driver really does, and which keys stop without a "-1" entry (4fadc3a)
- docs: remote activity follow, key fallback and touch controller in REMOTE.md and API.md (49cd393)
- docs(build): record the toolchains and the committed binaries (150c102)
- docs: network settings checks and the single update in the API reference (9813429)
- docs(remote): factory_reset.sh says how its last flush really happens (1493aa0)
Refactoring
- refactor(hub): one Wi-Fi test and save for hub_daemon and hub_util (6b2bf09)
- refactor(app): one TextEncoder for the token name length (b2ed563)
- refactor(app): imports of the client after its first line (e967b4a)
- refactor(app): no import at the top of api_core.js (b3954fc)
- refactor(webui): new UI shows the token owner on its own line, translated (9590651)
- refactor(app): keep the login display and Test changes apart from the string lines (88c0c47)
- refactor: remove functions nothing calls (799c214)
- refactor(hub): drop the unused route names /api/wifi/scan and /api/auth/tokens/delete (e229ce7)
- refactor(hub): the Bluetooth reconnect check takes the device list as const (12df95d)
- refactor(hub): include atomic_file.h next to the network helpers (2d97586)
- refactor(webui): legacy key map read works on a copy of the reply (4d807ba)
- refactor(hub): drop a second /tmp/current_activity write (a389da5)
- refactor(auth): list every account and token at the switch, no marks (629aa66)
Maintenance & Tooling
- test(hub): hub_daemon undoes a cut-short Wi-Fi test and removes a failed candidate (c7220c5)
- test(webui): rows in a second language and values against placeholders (cdd1ae8)
- test(mqtt): the mock client keeps listening after a quiet period (d4d9278)
- test(mqtt): wait for the topics read after the inventory index (985dd16)
- test(webui): translation checks for both UIs (7e09402)
- chore(hub): remove the recovery access point (5f14db4)
- test(auth): the token list at a switch from off to on (01b25a4)
- test(auth): switching authentication on with an unreadable token file (f69da7f)
- test(bt): count sleep calls in the text check instead of timing it (3eb77b2)
- ci: firmware tests in four groups that run at the same time (ab440dc)
- test(ssh): ssh -G in the host key test gets no input (417eaf9)
- test(tools): run the SSH host key test on Windows hosts (764882b)
- ci: host tools job on the same pinned image as the firmware tests (3ff0883)
- ci: Python 3.13 only, firmware and host tools tested in separate jobs (f86ea5c)
- test(factory-reset): copy tools/ssh_hostkeys.py into the kit only when it exists (955515a)
- test: malformed input for the hub_rf frame handler, HTTP and SSDP (87d22a2)
- test: run the OpenAPI live tests against the host daemon (c0ca3be)
- test: co-simulation checks only what it runs (6256d98)
- test: check what the MQTT command sequencer sends, not only its reply (68b60d8)
- test: drop test files no runner used, wire in the useful ones (611f9e0)
- test: runners and harness stop on what they used to skip (365e0ae)
- chore: anchor the local work folders in .gitignore (ef5eb04)
- test: keep the remote UI list test inside the device table (fba4c91)
- test(bt): stub forget_classic_host in the key pipe test (b890754)
- test(factory-reset): give the bare deploy kit tools/ssh_hostkeys.py (d8514cb)
- chore(tools): remove sync_remote_to_hub.py (d2843a1)
- test(mock): look up the real libc functions once per process (517408d)
- chore(git): show serve_dropbear.py as text, keep LF (d24810b)
- chore(i18n): use the formal address in the new German and Spanish texts (e5bc960)
- test: run test groups kept in tests/suite.d (176f1df)
- test: Hub code has no futex-based waits, ACK and IR waits sleep (d6ef269)
- test: key hand-off test runs without dry run (dafeeca)
- test: build hub_util for the host from the build script's source list (e37b87e)
- test: run test groups kept in tests/suite.d (d43ede8)
- test: let the key path test build with the IR hold change too (0819293)
- test: let the key hand-off test build with the snapshot and IR hold changes too (35f455d)
- test(activity): wait for the end of the transition before checking the queue (87b4ec8)
Full Changelog: v2.4.2...v2.5.0