Repository navigation
v0.4.7
Added
-
WalkingPadController.pause()— exposes the existing FTMS pause path (STOP_OR_PAUSEopcode0x08withPAUSE = 0x02) on the unified controller. Pause leaves the session counters (time, distance, calories, steps) intact, so a subsequentstart()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()sendsSTOP = 0x01which 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 tostop().
Refs walkingpad-controller#2.