-
Notifications
You must be signed in to change notification settings - Fork 35
Babelpod as a service #3
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
Comments
Not sure if this helpful, but when audio is playing to the HomePod this is the journalctl output:
When it stopped, this is what the journalctl looked like:
|
Thanks very much, running it as a service is much more convenient. I've updated the blog post with those instructions. Also, I think I've found a solution to the problem you mentioned where the Airplay device cuts out after a few minutes, please let me know if it works for you. |
The volume solution seems to work great! Using it right now and love the ability to use my record player anywhere in the house! |
Not sure if my issue is like others or as result of making Babelpod a service, but basically after a minute or two I have to reconnect to airplay device.
Here is how I setup Babelpod and got it running as a service on Pi Zero.
Installed Raspberry Lite
Installed Node this way:
wget https://nodejs.org/dist/v8.9.0/node-v8.9.0-linux-armv6l.tar.gz
tar -xzf node-v8.9.0-linux-armv6l.tar.gz
cd node-v6.11.1-linux-armv6l/
sudo cp -R * /usr/local/
Check version node -v
Followed rest of afaden's instructions for AirTunes and Babelpod.
Created a service by doing this:
sudo nano /etc/systemd/system/babelpod.service
Add:
sudo systemctl daemon-reload
sudo systemctl enable babelpod
sudo systemctl start babelpod
sudo system status babelpod
Should see something like this:
CGroup: /system.slice/babelpod.service
├─446 /usr/local/bin/node /home/pi/babelpod/index.js
├─452 bash
└─454 bluetoothctl
May 13 14:33:51 raspberrypi systemd[1]: Started babelpod.service.
May 13 14:33:56 raspberrypi node[446]: listening on *:3000
May 13 14:33:56 raspberrypi node[446]: bluetooth controller exists
May 13 14:33:58 raspberrypi node[446]: a user connected
The text was updated successfully, but these errors were encountered: