home-assistant.github.io/source/_components/media_player.pandora.markdown
Paulus Schoutsen 1f40fdb09d 0.22 (#570)
* Initial snmp sensor docs (#538)

* Fixed markdown and added logo (#551)

* Added documentation for router operating mode for asuswrt (#545)

* local_file camera component documenatation (#554)

* Documenation for local_file camera component

* Update camera.local_file.markdown

* Added information about voltage sensor

* Instructions for Pandora media player (#552)

* Add release

* Add pub_key

* Add BT Home Hub docs

* Markdown tweaks (#553)

* Add docs about MySensors IR switch (#556)

* Update sensor.mysensors docs, about moving V_IR_SEND type to switch
  platform.
* Update switch.mysensors docs. Add section about the new service and
  additional example sketch for the IR switch device.

* Update index.html

* plex sensor (#526)

* Add var descriptions

* Adds documentation for the Local File Camera (#482)

* Revert "Adds documentation for the Local File Camera" (#563)

* Minor changes

* Add Wink Rollershutter (#559)

* Added example of using template in shell_command. (#547)

* Add Documentation for Netatmo Welcome (#542)

* Reorganize  documentation for Netatmo

As Netatmo is now a Hub component, documentations has been splitted in several
parts betweent the hub, the sensors and the camera

Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com>

* Add configuration variables for Netatmo Welcome cameras

* Add ha_release information on new documentation pages

* Netatmo Weather Station is a weather sensor

* Add blog post 0.22
2016-06-18 13:24:52 -07:00

2 KiB

layout title description date sidebar comments sharing footer logo ha_category featured ha_release
page Pandora Instructions how to integrate Pandora radio into Home Assistant. 2016-06-10 19:59 true false true true pandora.png Media Player false 0.22

If you have a Pandora account, you can control it from Home Assistant with this media player.

{% linkable_title Installation of Pianobar %}

This media player uses the Pianobar command-line Pandora client, which you have to install separately. This can be done on a Raspberry Pi 2 with Raspbian Jesse as follows . (Note: Other platforms may have different installation processes)

Install the following dependencies:

$ sudo apt-get install git libao-dev libgcrypt11-dev libfaad-dev libmad0-dev libjson0-dev make pkg-config libav-tools libavcodec-extra libavcodec-dev libcurl4-openssl-dev  libavfilter-dev libavformat-dev

Now clone the Pianobar repo and build pianobar:

$ git clone https://github.com/PromyLOPh/pianobar.git
$ cd pianobar
$ make clean && make
$ sudo make install

Configure Pianobar to auto-login and start playing a station (optional, see man pianobar) by creating and editing the ~/.config/pianobar/config file:

password = Password
user = you@youraccount.com

Test it out by running pianobar in the command line. You should be able to listen to your Pandora stations.

{% linkable_title Configuration in Home Assistant %}

The Pandora player can be loaded by adding the following lines to your configuration.yaml:

# Example configuration.yaml entry
media_player:
  platform: pandora

That's it! Now you will find a media player. If you click it you will find all your stations listed as different sources. If you switch to one, the station will begin playing.

This is a new component and it has some issues.