github meshcore-dev/meshcore-ha v2.9.0

7 hours ago

Features

  • CLI Console (#295, @drewmccal) — an opt-in dashboard console for the local companion radio. Enable it in Configure → Global Settings:
    • execute_command / execute_command_ui gain a record_to_console boolean; when set, the command and its response are recorded to a rolling transcript and a meshcore_cli_response event fires for automations.
    • New sensor.*_cli_console transcript entity (last 50 command/response pairs, pre-rendered for a markdown card), plus compact CLI Run Command / CLI Clear Console button entities and a meshcore.cli_console_clear service.
    • The transcript is excluded from the recorder database, and the sensor state is a neutral command counter, so command text (which can include credentials) is never written to history.
    • Failed contact lookups in execute_command now return structured errors (pubkey_prefix_too_short, contact_not_found, not_connected) instead of a silent no-op.
    • New CLI Command Reference docs page and dashboard examples.

Fixes

  • Outgoing DM lost when send_message is called with entry_id (#293) — the message was delivered but never recorded: no conversation entity update, no logbook entry, no meshcore_message_sent event. Now recorded the same as sends without entry_id.
  • Entity-less devices can be removed (#297) — follow-up to #247: a device whose last entity was already removed can now be deleted from the HA UI even while the contact is live, and the telemetry dedup map is evicted on entity removal so re-added contacts recreate sensors cleanly.
  • Slovak translation quoting (#301).

Improvements

  • Repeater login uses send_login_sync (#269) — login and path discovery now use the SDK sync helpers with hop-aware timeouts, making logins to distant repeaters more reliable.

Notes

  • No config migration in this release.
  • Minimum Home Assistant version remains 2023.8.0; meshcore-py floor unchanged (>=2.3.7).
  • Internal: CI now runs lint, unit, and integration test tiers on every PR (#270, #280, #281).

Don't miss a new meshcore-ha release

NewReleases is sending notifications on new releases.