×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

PegasusAstro Pocket Powerbox Advance - INDI driver Ubuntu

  • Posts: 43
  • Thank you received: 4
I plan to purchase this power box from Pegasus - PegasusAstro Pocket Powerbox Advance (pegasusastro.com/products/pocket-powerbox-advance/)
I've been looking for the INDI driver for Ubuntu (kstars), but only found this indilib.org/devices/auxiliary/pegasus-ultimate-power-box.html does it work with the latest Pegasus powerbox?
If not which INDI driver code should I have?

Skywatcher Apo 80/600 EvoStar ED - Skywatcher HEQ-5 Pro SynScan GoTo - ZWO ASI294MC Pro - ( Nikon D500)
The following user(s) said Thank You: Craig
3 years 9 months ago #55850
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 30
Also interested. I received the PB advance yesterday.
Last edit: 3 years 9 months ago by Joaquin. Reason: typo
3 years 9 months ago #55859

Please Log in or Create an account to join the conversation.

  • Posts: 86
  • Thank you received: 10
Also interested mine is on order

I think maybe the regular ppb driver will work
Last edit: 3 years 9 months ago by Brent.
3 years 9 months ago #55878

Please Log in or Create an account to join the conversation.

  • Posts: 91
  • Thank you received: 18
indilib on github has a fix for the Pocket Power Box (PPB) driver to acknowledge connection to the PPBA during handshake.
However, there is no support for the 4 port USB3 hub. That feature set is part of the Ultimate Power Box. I have forked the indilib
repo and intend to write the driver for PPBA ... currently waiting for Pegasus Astro to provide the serial command table specifically
for PPBA.
The following user(s) said Thank You: Craig, Jan
3 years 9 months ago #55883

Please Log in or Create an account to join the conversation.

  • Posts: 527
  • Thank you received: 139
Awesome. I've been thinking about getting one of these.
3 years 9 months ago #55887

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 30
There is a UCH_Serial_Command_Table in Pegasus Astro website (pegasusastro.com/wp-content/uploads/2020...al_Command_Table.pdf). Is that what you need ?
Last edit: 3 years 9 months ago by Joaquin. Reason: Typo
3 years 9 months ago #55902

Please Log in or Create an account to join the conversation.

  • Posts: 91
  • Thank you received: 18
I have all the available command tables Pegasus Astro has posted and commands/responses in some cases
are different between devices. For example, PC command on the hub means print uptime in ms but on UPB it means
print power consumption, turning a port on or off on the hub is U1:b for example, but on UPB its PU:b .
3 years 9 months ago #55909

Please Log in or Create an account to join the conversation.

  • Posts: 17
  • Thank you received: 1
It's great that you are working on this. Received my powerbox advanced today and can't wait to integrate it.
Thank you!
3 years 9 months ago #56020

Please Log in or Create an account to join the conversation.

  • Posts: 91
  • Thank you received: 18
actually, Anthony H beat me to it. It might be available on the bleeding edge nightly builds. you
can see the activity on github here: tinyurl.com/yb7qepfu
There are some other features not coded into the driver that could be added, including
detection of device on the I2C channel (temp/humid sensor, external motor controller) and
control of the USB hub.
Last edit: 3 years 9 months ago by Dean. Reason: spelling
3 years 9 months ago #56025

Please Log in or Create an account to join the conversation.

  • Posts: 321
  • Thank you received: 19
Oh this is great news.
Actually i allready got mine and it is up and running.
Tried to use the driver provided in KStars 3.4.2 but this makes the system unstable, though it connects.

ATM the Box is working out of box, but it would be nice to controll the heater, since its a bit to warm right now.
And having controll over this very nice device would be great.

Greets!
Niki
Skywatcher EQ6-R | Lacerta 10" Carbon-Newton | Lacerta MFoc Motorfocus | Moravian G2 8300 Color | Canon EOS 5DMarkIIIa | Lodestar X2 guiding cam | KSTARS 3.4.3. on my outdoor-Laptop with KDE-Neon/Plasma | KSTARS 3.4.3. on Remote-IMac with Catalina | KSTARS 3.4.3 on Remote-Macbook Air with Catalina
The following user(s) said Thank You: Craig
3 years 9 months ago #56040
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 91
  • Thank you received: 18
if you run kstars-bleeding on your OS and try the driver out, please do report any bugs with voluminous detail: either log files
or your observations. That way, we can all make it better ;)
The following user(s) said Thank You: Craig
3 years 9 months ago #56072

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 1
There is a hidden feature in PPB Advance.

USB Hub is fully manageable (actually you can turn ON /OFF individually <strong>each USB2 or USB3 port)</strong>

Please check uhubctl project : github.com/mvp/uhubctl <- (it will be very neat if someone can use this library at Inidlib)


Example of listing all USB2 and USB3 ports of PPBADV:
evansg$ uhubctl
 
Current status for hub 20-7 [2109:0813 VIA Labs, Inc. USB3.0 Hub, USB 3.00, 4 ports]
  Port 1: 02a0 power 5gbps Rx.Detect
  Port 2: 02a0 power 5gbps Rx.Detect
  Port 3: 02a0 power 5gbps Rx.Detect
  Port 4: 02a0 power 5gbps Rx.Detect
Current status for hub 20-6 [2109:2813 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports]
  Port 1: 0103 power enable connect [0403:6015 Pegasus Astro PPB-ADV revA PPBA4PWG9Q]
  Port 2: 0100 power
  Port 3: 0100 power
  Port 4: 0100 power

Example of switching OFF USB port1:
$ uhubctl --ports 1 --action 0
Current status for hub 20-7 [2109:0813 VIA Labs, Inc. USB3.0 Hub, USB 3.00, 4 ports]
  Port 1: 02a0 power 5gbps Rx.Detect
Sent power off request
New status for hub 20-7 [2109:0813 VIA Labs, Inc. USB3.0 Hub, USB 3.00, 4 ports]
  Port 1: 0080 off
Current status for hub 20-6 [2109:2813 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports]
  Port 1: 0103 power enable connect [0403:6015 Pegasus Astro PPB-ADV revA PPBA4PWG9Q]
Sent power off request
New status for hub 20-6 [2109:2813 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports]
  Port 1: 0000 off
The following user(s) said Thank You: Craig
Last edit: 3 years 9 months ago by Evangelos Souglakos.
3 years 9 months ago #56158

Please Log in or Create an account to join the conversation.

Time to create page: 1.405 seconds