Skip to content

feat: add PowerStation fan controls - #550

Open
sknowledge1 wants to merge 1 commit into
ShadowBlip:mainfrom
sknowledge1:feat/powerstation-fan-controls
Open

sknowledge1 wants to merge 1 commit into
ShadowBlip:mainfrom
sknowledge1:feat/powerstation-fan-controls

Conversation

@sknowledge1

@sknowledge1 sknowledge1 commented Sep 22, 2026 •

Copy link
Copy Markdown

PowerStation can now set fan profiles (PowerStation #54), but OpenGamepadUI has no way to choose one. This adds a Fan card to the quick bar.

The card lists Automatic, the profiles PowerStation has installed for this device, and Manual with a speed slider. The choice is saved in the settings. PowerStation does not save it, so it is loaded again whenever PowerStation starts or the choice changes. The card is hidden when PowerStation has no fans to control.

The new Fan class only wraps PowerStation's fan D-Bus API, like the existing Cpu and Gpu classes. Automatic and Manual are sent as small JSON profiles, and installed profiles are opened and passed as a file.

Depends on PowerStation #54.

Testing

On an AYANEO 3 with PowerStation #54: a saved Manual 40% was loaded at startup, Automatic returned the fan to the firmware, the installed Quiet profile ran its curve, Manual 70% set the fan to 70%, and the choice was loaded again after PowerStation restarted. cargo fmt --check, cargo clippy, make test and make docs pass in the builder image.

Assisted-by: LLM

@sknowledge1
sknowledge1 force-pushed the feat/powerstation-fan-controls branch from c1be4b6 to 6fc002f Compare October 8, 2026 10:46
@sknowledge1 sknowledge1 changed the title feat: add native PowerStation fan controls feat: add PowerStation API v2 fan profiles Oct 15, 2026
@sknowledge1 sknowledge1 changed the title feat: add PowerStation API v2 fan profiles feat: add PowerStation API v0.2 fan profiles Oct 15, 2026
@sknowledge1 sknowledge1 changed the title feat: add PowerStation API v0.2 fan profiles feat: add PowerStation fan profile controls Oct 19, 2026
@sknowledge1
sknowledge1 force-pushed the feat/powerstation-fan-controls branch from 2a4e246 to 20d6412 Compare November 11, 2026 12:50
PowerStation can now set fan profiles (ShadowBlip/PowerStation#54), but
OpenGamepadUI has no way to choose one. Add a Fan card to the quick bar.

The card lists Automatic, the profiles PowerStation has installed for this
device, and Manual with a speed slider. The choice is saved in the settings.
PowerStation does not save it, so it is loaded again whenever PowerStation
starts or the choice changes.

The new Fan class only wraps PowerStation's fan D-Bus API, like the existing
Cpu and Gpu classes. Automatic and Manual are sent as small JSON profiles,
and installed profiles are opened and passed as a file. The card is hidden
when PowerStation has no fans to control.

Assisted-by: LLM
@sknowledge1
sknowledge1 force-pushed the feat/powerstation-fan-controls branch from 170e3a4 to 70b4dea Compare November 12, 2026 22:31
@sknowledge1 sknowledge1 changed the title feat: add PowerStation fan profile controls feat: add PowerStation fan controls Nov 12, 2026

@sknowledge1 sknowledge1 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please review. thank you!

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