Skip to content

fix: blind up/down use FullUp/FullDown, add shade state feedback - #25

Merged
discostu105 merged 1 commit into
mainfrom
fix/blind-up-down-shade-feedback
Mar 9, 2026
Merged

discostu105 merged 1 commit into
mainfrom
fix/blind-up-down-shade-feedback

Conversation

@discostu105

Copy link
Copy Markdown
Owner

Summary

  • up/down now send FullUp/FullDown instead of PulseUp/PulseDown — pulse commands return value=0 and don't move the motor; Full commands actually start motion
  • Removed redundant full-up/full-down aliases (same as up/down now)
  • After shade <n> (manualLamella), show both Position and Shade state with a single read instead of polling StatePos for 30s (slat tilt doesn't change position)

Test plan

  • lox blind <uuid> down starts blind moving down
  • lox blind <uuid> up starts blind moving up
  • lox blind <uuid> stop stops motion
  • lox blind <uuid> shade 50 shows Position + Shade state immediately
  • lox blind <uuid> full-up / full-down → unknown action error (removed)

🤖 Generated with Claude Code

PulseUp/PulseDown simulate a momentary wall-switch tap and return
value=0 (no motion) on most blinds. FullUp/FullDown actually starts
the motor. Removed redundant full-up/full-down aliases.

After manualLamella commands, show both Position and Shade state
immediately (single read) rather than polling StatePos for 30s,
since slat tilt doesn't change the position.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@discostu105
discostu105 merged commit f5cbf9a into main Mar 9, 2026
0 of 2 checks passed
@discostu105
discostu105 deleted the fix/blind-up-down-shade-feedback branch March 9, 2026 18:26
discostu105 added a commit that referenced this pull request Oct 29, 2026
`lox blind X up`/`down` already send FullUp/FullDown (full travel to
the end position, since #25), but the help only said "up | down", which
reads like the jog commands `up`/`down` that move only until UpOff.

- `lox blind --help` lists every action with the command it sends and
  the position/slat scales, and says how to jog with `lox send` instead
- `full-up`/`full-down` (and `fullup`/`fulldown`) are accepted; COMMANDS.md
  documented them, but the parser rejected them as unknown actions
- The unknown-action error and `lox schema blind` list the new names
- The MCP `blind` tool description says up/down are full travel

No change to what any existing action sends.
discostu105 added a commit that referenced this pull request Oct 29, 2026
`lox blind X up`/`down` already send FullUp/FullDown (full travel to
the end position, since #25), but the help only said "up | down", which
reads like the jog commands `up`/`down` that move only until UpOff.

- `lox blind --help` lists every action with the command it sends and
  the position/slat scales, and says how to jog with `lox send` instead
- `full-up`/`full-down` (and `fullup`/`fulldown`) are accepted; COMMANDS.md
  documented them, but the parser rejected them as unknown actions
- The unknown-action error and `lox schema blind` list the new names
- The MCP `blind` tool description says up/down are full travel

No change to what any existing action sends.
discostu105 added a commit that referenced this pull request Oct 29, 2026
`lox blind X up`/`down` already send FullUp/FullDown (full travel to
the end position, since #25), but the help only said "up | down", which
reads like the jog commands `up`/`down` that move only until UpOff.

- `lox blind --help` lists every action with the command it sends and
  the position/slat scales, and says how to jog with `lox send` instead
- `full-up`/`full-down` (and `fullup`/`fulldown`) are accepted; COMMANDS.md
  documented them, but the parser rejected them as unknown actions
- The unknown-action error and `lox schema blind` list the new names
- The MCP `blind` tool description says up/down are full travel

No change to what any existing action sends.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant