besi / stereopi

MIT License
1 stars 0 forks source link

Spotify #1

Open besi opened 4 years ago

besi commented 4 years ago

Steps

See #3

besi commented 4 years ago

Installation

curl -sL https://dtcooper.github.io/raspotify/install.sh | sh

This creates a systemd service called 'raspotify'. To disconnect run

  sudo systemctl restart raspotify
besi commented 4 years ago

MQTT + Integration

Integration can be achieved using

OPTIONS="--onevent 'node /usr/local/bin/myEventGateway/main.js'"

sudo apt-get install mosquitto mosquitto-clients -y

See https://github.com/dtcooper/raspotify/issues/171#issuecomment-507423901

besi commented 4 years ago

Mqtt

sudo apt-get install mosquitto mosquitto-clients -y