github allangood/rtlamr2mqtt 2026.11.8

56 minutes ago

Note

AI Generated on behalf of @allangood by Claude Code.

This release makes stopping and restarting more robust. It follows up on 2026.11.7 with fixes from a second code review: shutdown is now quick even while a process is starting, the add-on gets enough time to release the dongle on stop, and a couple of config mistakes are caught instead of silently breaking things.

No configuration changes are required to upgrade. If you run the standalone Docker image, see the upgrade notes about the stop timeout.

๐Ÿ›‘ Faster, cleaner shutdown

  • Stopping during startup no longer hangs. A shutdown that arrived while rtl_tcp or rtlamr was starting (at boot, waking from the sleep cycle, or during a watchdog restart) waited up to 30 s for the process to become ready. That ran past the 10 s stop timeout, so the container was killed. It now gives up at once, and no longer resets the USB device on the way out. (#464)
  • More time to release the dongle. In the worst case, stopping rtlamr and then rtl_tcp takes about 21 s. If the container is killed partway through, rtl_tcp may not release the dongle, and the next start fails with usb_claim_interface errors. The add-on now asks the Supervisor for 30 s (timeout: 30). A normal stop still takes about 6 s. (#466)
  • No false errors on shutdown. Stopping the add-on while it was restarting a process logged Failed to restart ..., shutting down at ERROR level, even though nothing had failed. (#469)

โš™๏ธ Config mistakes caught

  • custom_parameters.rtltcp can no longer move rtl_tcp to the wrong port. A -p there used to win over the port in rtltcp_host, while rtlamr still connected to rtltcp_host, so the two never met. The port now comes only from rtltcp_host, and a -p is ignored with a warning. If you set both to the same port, nothing changes for you. (#467)
  • A negative watchdog_timeout is rejected. It used to restart the receiver, with a USB reset, in a tight loop. The add-on options now refuse it, and standalone config loading fails with a clear message. (#468)

๐Ÿงช Development

  • In the mock docker compose setup, a watchdog restart no longer tries to reset a USB device that isn't there, which made the app exit. (#465)
  • rtltcp_host is now parsed in one place (#470). The sleep-cycle wait is simpler (#471), and a flaky process test is fixed (#472).

Upgrade notes

  • Standalone Docker: Docker also kills containers after 10 s by default. Add --stop-timeout 30 to docker run, or stop_grace_period: 30s in Compose, as the README now shows. The Home Assistant add-on sets this itself.
  • If you passed -p in custom_parameters.rtltcp, move that port into rtltcp_host (for example 127.0.0.1:1235).

See CHANGELOG.md for the full entry.

What's Changed

Full Changelog: 2026.11.7...2026.11.8

Don't miss a new rtlamr2mqtt release

NewReleases is sending notifications on new releases.