-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Add support for Seatalk1 on Raspberry Pi 5 #1779
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the approach is sound and not being a Pythonist nor a Seatalk user I don't have much to comment on here.
Let's try to get the doc update in 4664938 included in this PR, makes for a little nicer Release Notes.
docs for Seatalk1 in Raspberry Pi 5
merged documentation updates provided by @sailoog |
Please |
done |
As discussed in issue #1658 the existing integration of Seatalk1 does not work for Raspberry Pi 5 as the underlying Python library doesn't support the Raspberry Pi 5.
This pull-request uses the gpiod Python library to implement the functionality. This library is also supported by older versions of Raspberry Pi OS and hardware, so it could eventually replace pigpio.
I added a new field GPIO Library to the connection dialog to select between gpiod and pigpio.
I tested this pull request on a Raspberry Pi 5.
The standalone Python script (available here) was successfully tested on Raspberry Pi 3, 4 and 5, running Raspberry Pi OS Bookworm and Bullseye.