Skip to content

v0.4.7

Choose a tag to compare

@mcdax mcdax released this 10 May 07:10
· 17 commits to main since this release

Added

  • WalkingPadController.pause() — exposes the existing FTMS pause path (STOP_OR_PAUSE opcode 0x08 with PAUSE = 0x02) on the unified controller. Pause leaves the session counters (time, distance, calories, steps) intact, so a subsequent start() resumes from where the user left off — same behaviour as the phone app's stop button and the physical remote.

    This matters for UI semantics: a "Stop" button in HA / a phone app should usually pause, not full-stop. The existing stop() sends STOP = 0x01 which fully ends the session and resets counters; that path is still available for the rare cases where a hard reset is wanted.

    WiLink protocol has no separate pause opcode; on those devices pause() logs a warning and falls back to stop().

Refs walkingpad-controller#2.