Skip to content

Improves support for the Pegasus PowerBox Micro (PPBM) when used with the indi_pegasus_ppba driver.#2339

Open
petercoxphoto wants to merge 1 commit intoindilib:masterfrom
petercoxphoto:fix/pegasus-ppbm-support
Open

Improves support for the Pegasus PowerBox Micro (PPBM) when used with the indi_pegasus_ppba driver.#2339
petercoxphoto wants to merge 1 commit intoindilib:masterfrom
petercoxphoto:fix/pegasus-ppbm-support

Conversation

@petercoxphoto
Copy link

Changes

  • Handshake() now extracts the device model from the handshake response (PPBA_OKPPBA, PPBM_OKPPBM). The detected type is shown in a new "Device Type" row in the Firmware tab, and in the connection log message.
  • The POWER_CHANNELS single-toggle checkbox from PI::PowerInterface is replaced by a two-button On / Off ISR_1OFMANY switch (QUAD_OUTPUT) in the Power tab — consistent with the LED control style and clearer to use.
  • An identical Quad Output On/Off control and a live Power (Voltage / Current / Power) readout are added to the Main Control tab, so the most-used controls are immediately visible without tab-switching.
  • Both On/Off controls stay in sync with each other and with the internal PI::PowerChannelsSP state.

Tested against PPBM firmware 2.7 connected via USB serial.

- Detect device type (PPBA vs PPBM) from handshake response and
  record it in a new Firmware/Device Type field
- Replace PI's single-toggle POWER_CHANNELS checkbox with an
  explicit On/Off button pair (QUAD_OUTPUT) in the Power tab,
  matching the style of other controls
- Add a mirrored Quad Output On/Off control and live power sensors
  (Voltage/Current/Power) to the Main Control tab for quick access
  without switching tabs

Tested against PPBM firmware 2.7.
@petercoxphoto petercoxphoto changed the title Improves support for the Pegasus PowerBox Mini (PPBM) when used with the indi_pegasus_ppba driver. Improves support for the Pegasus PowerBox Micro (PPBM) when used with the indi_pegasus_ppba driver. Feb 20, 2026
@knro
Copy link
Contributor

knro commented Feb 22, 2026

Thank you! Please do not delete any INDI::PowerInterface properties since these are supposed to form standard behavior for all Power devices. I suppose it might be possible to add another alias property but that would probably confuse the user more.

@knro knro self-requested a review February 22, 2026 05:58
@knro
Copy link
Contributor

knro commented Mar 7, 2026

@petercoxphoto Any update?

@knro
Copy link
Contributor

knro commented Mar 7, 2026

The POWER_CHANNELS single-toggle checkbox from PI::PowerInterface is replaced by a two-button On / Off ISR_1OFMANY switch (QUAD_OUTPUT) in the Power tab — consistent with the LED control style and clearer to use.

I think you can keep the QUAD_OUTPUT but keep it synchronized with the single checkbox from PI::PowerInterface

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.

2 participants