Skip to content

Configuration

Carlo Maria Curinga edited this page May 22, 2017 · 13 revisions

Configuring your Boombeastic

Boombeastic Configuration Values

For more about environment variables If you don’t set environment variables, you’ll get the defaults. WHich is fine.

Environment Variable Default Description
MOPIDY_MPD_PORT 6680 the port on which expose the MPD service
MOPIDY_AUDIO_MIXER_VOLUME 20 the default volume
PORTAL_SSID ResinAP the name of the Access Point that wifi-connect spawns if no known WiFi networks are found in order to expose WiFi configuration
LED_MATRIX_BRIGHTNESS 1 the brightness of the LED Matrix. Accepts integers between 0 and 15
NOLEDMATRIX 0 if set to1` disables the LED Matrix

ProTip: this project uses resin wifi connect if you change wifi network (like if you take this to a friend’s house to finish working on it). It’s a cool little feature that helps if the networks configured on the Pi aren’t available. After checking for known networks and not finding any, it acts as an access point (setting up a captive portal) which will allow you to connect to it by computer or phone and configure the new WiFi credentials. Read more about how to use it here

Music Streaming Services

Now you should enable at least one music streaming service. Most of these services require an account. Youtube is free and doesn't require authentication.

If you have an account for a service you want to use with your Boombeastic, set the "ENABLED" variable to true and put your account information in the "Value" field on the "Environment Variable" section of the dashboard. If you don't have an account for a particular service or don't want to use it, just skip that service's section.

If you have questions about logging in, because you use a different service to access it, you’ll need to check Mopidy’s documentation for the service. For instance, if you want to know how to access your Spotify account with a Facebook login, you’ll go to the Spotify extension readme

Google Music

Environment Variable Default Description
MOPIDY_GMUSIC_ENABLED 0 if set 1 loads the Google Play Music extension
MOPIDY_GMUSIC_USERNAME none your Google username
MOPIDY_GMUSIC_PASSWORD none your Google Play Music password (an app password is suggested as a best practice)
MOPIDY_GMUSIC_ALL_ACCESS 0 if set 1 configures the extension for handling the All Access subscription

Spotify

Environment Variable Default Description
MOPIDY_SPOTIFY_ENABLED 0 if set 1 loads the Spotify extension
MOPIDY_SPOTIFY_USERNAME none your Spotify username
MOPIDY_SPOTIFY_PASSWORD none your Spotify password

Soundcloud

Environment Variable Default Description
MOPIDY_SOUNDCLOUD_ENABLED 0 if set to 1 loads the SoundCloud extension
MOPIDY_SOUNDCLOUD_AUTH_TOKEN none your SoundCloud token

Youtube

Environment Variable Default Description
MOPIDY_YOUTUBE_ENABLED 0 if set 1 loads the YouTube extension