mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 08:36:13 +00:00
#515 comment 5230833551: on a genuinely unpaired (factory-reset) device, margeServerUrl is reportedly never polled at all, so the boseurls SSH-enable injection has no read cycle to fire on regardless of any command delay. enable-ssh now checks /info first and, if margeAccountUUID is empty, pairs the device via the existing PairAccount helper (HTTP /setMargeAccount, telnet fallback) before running the injection. Adds setup.Manager.EnsureMargeAccountPaired plus --no-auto-pair (skip entirely) and --account (use a specific 7-digit ID instead of a generated one, e.g. to match one already in the datastore) flags on enable-ssh. Pairing failure is a warning, not fatal, since the claim is unconfirmed on this specific hardware and existing working flows must not regress. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>