Hi.
I use the latest version after software update.
Regards.
Peet
@AxLED Hi ! Volumio Beta version on Debian Bookworm. Any future compatibility ? It is compatible today ?
Hi @AxLED , also wondering if this plugin will be ported to the new Volumio version. I love to have my tiny Pi Zero with the display and would love to be able to keep using it ![]()
Thanks a lot for your work!! ![]()
Hi @AxLED thank you for your plugin.
Iām using it on a small portable unit, but would like to rotate the screen and buttons 90 degrees.
I have managed to rotate the screen and get the buttons rotated partially by making the following changes
def handle_button(pin):
if pin == 5:
button_b(VOLUMIO_DICT[āMODEā], VOLUMIO_DICT[āSTATUSā])
if pin == 6:
button_y(VOLUMIO_DICT[āMODEā], VOLUMIO_DICT[āSTATUSā])
if pin == 16:
button_a(VOLUMIO_DICT[āMODEā], VOLUMIO_DICT[āSTATUSā])
if pin == BUTTONS[3]:
button_x(VOLUMIO_DICT[āMODEā], VOLUMIO_DICT[āSTATUSā])
It works in that on the āhomescreenā the ānewā A and X work, but canāt change volume.
When in menus, the ānewā select (A) and return (B) work but the up and down arrows donāt work
I hope this makes sense.
Perhaps you or somebody else can give me a bit more direction with this.
Thank you
Hi @Flowta
Way back in post number 9 of this thread, I mentioned how I adapted the plugin to rotate the display by 180 degrees. Thereās instructions there that show how I did this, it should be fairly simple to adapt it so that it can be rotated by 90 or 270 degrees as needed. Basically, rather than referring to āpin == 5ā etc, you can change it to āpin == BUTTONS[0]ā etc, and make sure that the BUTTONS array contains the correct pin numbers for a, b, x and y. I included this in a github repository , if you look at display.py here you can see the end result (it also does some other stuff to display BBC radio cover art, which you can ignore).
Arckuk
Thank you.
I used your tips above.
basically change all reference to the āpinsā to BUTTONS[?]
Also any reference to GPIO.input(??) changed to reflect the ānewā BUTTONS[?]
Working perfectly now
I cannot find Pirate Audio plugin in the plugins list. Whatās wrong?
Is this for the new Volumio 4 release?
Looks like it hasnāt been updated/tested/released yet for that, although there are a couple of requests about it in this thread (a few posts above ours, from June and September).
Options would be to either wait for it, or use Volumio 3 for now until it is updated/released (assuming itās still actively supported).
It may even still work by manual install, but I canāt test that as my current system with the Pirate Hat is built around a Pi Zero 1W, which doesnāt support Bookworm/Volumio 4.
Hi, Iāve been a Volumio user for several years now, and I use it almost daily with a setup based on a Raspberry Pi Zero and the Pirate Audio DAC.
After upgrading to Volumio 4, I noticed that the plugin was missing. Even though Iām not the original developer, I decided to take a look at the code and update it for Volumio 4, since I wasnāt sure whether the plugin was still being actively maintained.
Due to some changes introduced in Volumio 4, the old version canāt be installed manually anymore. So I made the necessary adjustments to make it work again, ensuring compatibility with the updated libraries and the new Volumio 4 changes.
A few hours ago, I submitted a pull request to the Bookworm plugins repository, hoping everything is in order and it will get approved.
In the meantime, itās possible to manually download the code from here and install it via SSH using the command line: https://github.com/Faster3ck/volumio-plugins-sources-bookworm/tree/pirateaudio/pirateaudio
Iāve tested it for over a week, and it seems to be working perfectly!
Nice one, and a great first post ![]()
My weekend project is to swap a couple of Piās over (as Black Friday has put all the local stock here in other peopleās hands, so none available for the task) so I can update my radio to a 2W and on to Volumio 4. So Iāll also grab your code and start giving it a test too.
Hello!
Thank you for your work!
I released it as beta in the store ![]()
As I donāt own this HW, feedback from other users are welcome ![]()
Thank you very much, I tested the plugin by installing it from the beta repository and everything seems to be working correctly! ![]()
Waiting for feedback from the other users!
Iāve also got my Pi Zero 2W installed, the plugin also installed from the beta repo and everything up and running.
The only glitch Iāve come across so far is the Y button initially wasnāt working. Had to swap it from pin 20 to pin 24 in the plugin settings, now all is good.
Thank you very much for your feedback. After searching online, I found that pin 20 was used for the Y button on some older versions of the Pirate Audio DAC. Since the newer versions are probably more common, I decided to change the default GPIO pin for the Y button to 24.
Iāve just submitted a new pull request!
beta v0.1.5 available on the store ![]()
Yes, 20 was the original pin, and 24 is the newer (current) one.
The best default is pin 24, so all should now be good for most people.
I just wanted to post it here in case anyone else has the older version, as the config setting is quite easy to miss.
At least from my testing though, so far all is good. Nice job.
@balbuze thank you very much! ![]()
@DarrenHill thanks again for your feedback, Iām really glad my updates were helpful! ![]()