docs(playback): formally document the "stopping" status/playback state (F-065)

Player::setStatus() publishes action "stopping" when the run-time cap is
reached and BellEngine is finishing the current melody loop, but the spec
only listed playing/paused/idle. Kept it (not suppressed): it is a real
state that can last a whole loop while bells still ring, suppressing it on
MQTT alone would break WS/MQTT parity, and v1 tablets already know it.

Adds a state table (entry/exit, stop/play behaviour) to mqtt-events.md and
updates the topic spec and API reference. No firmware change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-29 20:10:03 +03:00
co-authored by Claude Opus 5.5
parent 204b54fce1
commit fe5ab6223c
4 changed files with 39 additions and 3 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ Both commands reply with **`type: "playback"`** (not the command name).
| Transports | MQTT, WebSocket, HTTP (UART: v1 form only) |
| Returns | `{ "status": "SUCCESS", "type": "playback", "message": "Playback command executed" }` |
The SUCCESS reply means the board **accepted** the command, not that bells are ringing. `status/playback` (MQTT) is the source of truth for what the board is actually doing.
The SUCCESS reply means the board **accepted** the command, not that bells are ringing. `status/playback` (MQTT) is the source of truth for what the board is actually doing — `playing` / `paused` / `stopping` / `idle`; see [mqtt-events.md → States](mqtt-events.md#states).
**Fields are sticky.** Every field except `mode`/`continuous_loop` keeps the value from the *previous* `playback.play` (or its boot default) when omitted — including `pid`, `url`, `speed` and the tail of `note_assignments`. Send every field you care about on every play.