@matabayashi wrote:
Hello,
I have set up my new pirate radio from pimoroni with the pHat BEAT and Raspberry pi zero W. After long hours of trying to figure out why the so called one-liner did not work I decided to take the high way and installed everything one by one myself and what do you know… it worked, so far.
I am now able to listen to spotify connecting from mopidy (with the fancy lights) which is great however I wanted to map the buttons which I cannot seem to find a lot of information about. I have installed the raspberry-mopidy-GPIO by writing “python3 -m pip install Mopidy-Raspberry-GPIO” and can see that it is working on my dependencies.
mopidy-raspberry-gpio: 1.0.0 from usr/local/lib/python3.7…
Also installed Mopidy-ALSAMixer and can see that on my dependencies too (not sure if it was necessary tbf)
I also added the configuration to the correct mopidy.conf file
[raspberry-gpio]
enabled = true
bcm5 = play_pause,active_low,250
bcm6 = volume_down,active_low,250
bcm16 = next,active_low,250
bcm20 = volume_up,active_low,250which to my understanding should enable the buttons to work, is there anything else I need to do for this?
I have also tested the buttons with test.sh and they are all positive and operational.
I know I am definitely missing something silly somewhere but have now spent all my sunday on this and am hoping someone here will identify my mistake.
(I unfortunately cannot copy my deps or config since I am running on raspbian lite and dont know how to access this page on there)
Posts: 3
Participants: 2