Squeezebox

From ago control wiki
Jump to: navigation, search

Contents

Squeezebox

Introduction You have the possibility to add your squeezebox players to be controlled by Agocontrol

I assume you already have a LMS else if you want it to be running on your RPI use this link: [1], but download latest LMS package. You may have to install several PERL packages afterwards, 1 PERL package at a time.

For install on a Debian system (e.g. Raspbian Jessie), follow these instructions ([2]). From a terminal, open a text editor to be used as the install, e.g. "nano sb.sh" and paste the follow:

url="http://www.mysqueezebox.com/update/?version=7.9.0&revision=1&geturl=1&os=deb"
latest_lms=$(wget -q -O - "$url")
mkdir -p /sources
cd /sources
wget $latest_lms
lms_deb=${latest_lms##*/}
dpkg -i $lms_deb

Save and exit the file. The make the file executable (chmod +x sb.sh) and run the install (./sb.sh). After it finishes, you can complete the setup going to your install's IP, port 9000 (e.g. http://xxx.xxx.xxx.xxx:9000). Follow the onscreen instructions.

I have 1 rpi running with PiCorePlayer [3], and use a cheap USB DAC into my Creative BT loudspeaker (Nope I don't use the BT, but AUX input with jack connector) And I have a Logitech Duet connected in my bathroom to a radio with AUX input, jack connector as well. and I really like the fancy remote that comes with it. It connecting via wifi - so no stupid IrDa to be pointing to the device and still not working because it's not anyway a straight short direct line of sight :-)

Link to screenshot that shows your devices in Ago Admin: [4]

Install agocontrol squeezebox

First get and update to latest packages:

sudo apt-get update && sudo apt-get upgrade

then install Squeezebox

sudo apt-get install agocontrol-squeezebox


Conf file

Create the conf file:

cd /etc/opt/agocontrol/conf.d/
sudo touch squeezebox.conf
sudo chown agocontrol:agocontrol squeezebox.conf


Then add content into the conf file. Notice that this ip address is for me same address as my LMs server, since it's running on same server as agocontrol, if you have a dedicated LMS server, use your IP instead

[squeezebox]
host=127.0.0.1
cliport=9090
login=
password=

Start the service

Then start the service now

sudo systemctl start agosqueezebox.service

Then enable the service to auto start after reboot have occured

sudo systemctl enable agosqueezebox.service

Device configuration

Goto your device configuration

http://xxx.xxx.xxx.xxx:8008/?deviceConfig

There shall now be some Squeezebox devices. I have 3 devices in my setup. 1 server, 1 Kitchen player, 1 Bathroomplayer. Add a "Device Name" and you devices will occur on your mainscreen/Dashboard, just as my screenshot in the link in the top

Personal tools