@richardmoss wrote:
Hello,
Apologies if this is a duplicate, I did do a search.
I just bought a PhatBeat which eventually I intend to hook up to a spare Pi Zero, but for the moment I attached it to a Raspberry Pi 3 Model A. This Pi is running the lite version of Raspbian Buster to which I installed Mopidy and has been running nicely for a couple of weeks, via the Model A’s audio jack.
I added the PhatBeat to my Pi and ran the one-line installer from Yarr-niversity and everything went smoothly as far as I know; I’m sitting listening to music via the PhatBeat at the moment after wiring in a set of hi-fi speakers.
However, what isn’t working is the hardware buttons. The Getting Started page describes how to use some Python decorators but doesn’t explain how to make them go without you needing to type into an IDE. From searching this forum I find references to a service called phatbeatd which apparently makes the buttons work, but this isn’t installed on my Pi and I can’t seem to find any references for how to install this service.
Can anyone offer suggestions on how to install this service or otherwise get something that will auto-start and listen for button presses? I’m mainly interested in the shutdown button - I’d previously followed a tutorial for listening for the GPIO pins 5 and 6 to be shorted in order to do a controlled shutdown, and given the GPIO pins are now used by the PhatBeat I need another solution other than yanking the plug out.
Hope this isn’t too much of a noob question and I haven’t missed out anything dumb.
Thanks;
Richard Moss
Posts: 9
Participants: 2