Repository navigation
feat: CLI commands for device management & state control - #460
Merged
Merged
Conversation
…of StreamDeck items
Closed
Member
|
Amazing work! |
This was referenced Mar 7, 2026
This was referenced Aug 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This feature has been requested in this issue: #164
What’s new
Device discovery
--list-devices: shows ID, product name, serial, key layout, connection status; prints permission tips if access fails.--list-pages: lists every page, its items, and state counts.State control
--change-state SERIAL PAGE COORD STATE: changes a single key’s state. Works via D-Bus if StreamController is running, or directly if not.Help Documentation
I added the new commands to the documentation, here is what the help functions now additionally states.
Files touched
globals.py— CLI arg definitions, API request storagemain.py— listing commands, validation, API callsapp.py— D-Bus handler forchange_stateDeckController.py— processes state-change requests at initTypical uses
Compatibility
Additive only; existing commands and APIs are untouched.