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
This commit is contained in:
parent
7ecb13a8b8
commit
1f40fdb09d
29 changed files with 650 additions and 121 deletions
64
source/_components/media_player.pandora.markdown
Normal file
64
source/_components/media_player.pandora.markdown
Normal file
|
@ -0,0 +1,64 @@
|
|||
---
|
||||
layout: page
|
||||
title: "Pandora"
|
||||
description: "Instructions how to integrate Pandora radio into Home Assistant."
|
||||
date: 2016-06-10 19:59
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
logo: pandora.png
|
||||
ha_category: Media Player
|
||||
featured: false
|
||||
ha_release: 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](https://github.com/PromyLOPh/pianobar), 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:
|
||||
|
||||
```bash
|
||||
$ 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:
|
||||
|
||||
```bash
|
||||
$ 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:
|
||||
|
||||
```bash
|
||||
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`:
|
||||
|
||||
```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.
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/screenshots/pandora_player.png' />
|
||||
</p>
|
||||
|
||||
<p class='note warning'>This is a new component and it has some issues. </p>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue