-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AStarBox Plugin #962
AStarBox Plugin #962
Conversation
Initial version of AStarBox as a 3rd-party driver.
New version detects if there is a problem or not with the I2C connection. Also, changed the names to be consistent with Rodolphe's files. (AStarBox vs CAStarBox), and changed astarbox to indi-astarbox.
Update to improve format.
Again change format.
Formatting again
I hope I have this right now!
Called openAllPorts into connect so can use results to indicate whether connection successful or not. Moved getPortPWM for ports 5 and 6 into connect too - when in openAllPports m_bLinked was false at that point so no values collected. Now called after m_bLlinked is true so that values are collected.
Merged Rodolphe's updates and mine. m_bPortsOpen is tested before opening all ports, but getting PWM5 and 6 is now in connect.
Replaced 5 and 6 by their ENUMS instead for consistency.
Previously, setting PWM to zero turned the port off. However, this prevented the status from being read so that if changed elsewhere, it would not be picked up. Now, the ports are left on though with power of zero (same as turned off from a physical perspective). Also, tidied up the return codes from setPortPWMDutyCyclePercent since this returns an integer rather than a bool,
Thank you! Do you have driver documentation with screenshots of each tab? We need to add it to INDI Documentation. |
Dear Jasem,
HI - yes we do. Would you like this in a Word document or PDF?
Thank you, Jasem.

… On 21 Aug 2024, at 05:26, Jasem Mutlaq ***@***.***> wrote:
Thank you! Do you have driver documentation with screenshots of each tab? We need to add it to INDI Documentation.
—
Reply to this email directly, view it on GitHub <#962 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGBNHBOOL3YKAVOG6C3KJKTZSQJJDAVCNFSM6AAAAABMZZNQDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBQHA2TKOBZGI>.
You are receiving this because you authored the thread.
|
A google or word doc would be great, thanks! |
Dear Jasem,
As requested.
Please let me know if you need anything else.
Thank you again,


… On 21 Aug 2024, at 10:01, Jasem Mutlaq ***@***.***> wrote:
A google or word doc would be great, thanks!
—
Reply to this email directly, view it on GitHub <#962 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGBNHBKECFMINGF3R7HRKNLZSRJOJAVCNFSM6AAAAABMZZNQDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBRGUZTIOJYHE>.
You are receiving this because you authored the thread.
|
Did you attach a file? it's not showing up on Github if you did. |
HI - yes, I definitely included it in the email - but loaded it directly on GitHub instead. Colin |
I see that some checks failed, but they seem to fail on other drivers or libraries? Also, this is only really needed for the Arch64 architectures - while the plugin should run on other devices, it won't have anything to connect to. Not sure if there is a way to flag that? |
@naheedsa Please coordinate with Joe to add the documentation |
Thank you!ColinSent from my iPhoneOn 30 Aug 2024, at 09:30, Jasem Mutlaq ***@***.***> wrote:
Merged #962 into master.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@mcgillca There are some issues in the driver that prevents creating packages for it. Can you please check them out? Right now the driver is not included in INDI v2.1.0 release due to these issues. |
Thansk, Jasem.
Now fixed.
Colin

… On 1 Oct 2024, at 17:25, Jasem Mutlaq ***@***.***> wrote:
@mcgillca <https://github.com/mcgillca> There are some issues in the driver <https://launchpadlibrarian.net/752217454/buildlog_ubuntu-noble-amd64.indi-astarbox_1.0+t202410011456~ubuntu24.04.1_BUILDING.txt.gz> that prevents creating packages for it. Can you please check them out? Right now the driver is not included in INDI v2.1.0 release due to these issues.
—
Reply to this email directly, view it on GitHub <#962 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGBNHBOAEUI7RQJUQGXQSCTZZLEHVAVCNFSM6AAAAABMZZNQDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBWGQ2TONRXGU>.
You are receiving this because you were mentioned.
|
An indi plug in for AStarBox. This controls a HAT on a Raspberry Pi 5 that provides power for astro devices and a dew heater.
Find full details here: AStarBox