diff --git a/atom.xml b/atom.xml index 1ae4612ed8..f98453b0d0 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index e6d1778bc6..39ba4d1a89 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 4ddf6c9312..e744b4c2c8 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index 959161edba..aeb1afaf1e 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 269a003b61..548400c4ea 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index a0eb4862b2..55ac2f2f69 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 9f29118965..d5f030deaf 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index c0d401b04f..4c94daafbe 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index dfded042d1..caefb334e1 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index fc0c94b204..648fa658af 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 0211d06ac2..ab783317af 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 70d0f50002..419deff37b 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 01da98cb68..cdec0ea849 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index e7fc2f3c7c..33a8c521e2 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 8bd8b6a34e..90c82fe4fc 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index c941926250..d161b70a4b 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 682d2d736a..6ca895c0f9 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 49cf81203c..b64d5c06fc 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 6b99a325a0..e7ace1456a 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-06-03T08:08:15+00:00 + 2016-06-03T13:52:04+00:00 https://home-assistant.io/ diff --git a/components/media_player.onkyo/index.html b/components/media_player.onkyo/index.html index ca880f2600..55eb601ccc 100644 --- a/components/media_player.onkyo/index.html +++ b/components/media_player.onkyo/index.html @@ -97,82 +97,48 @@
# Example configuration.yaml entry
 media_player:
   platform: onkyo
+  host: 192.168.1.2
+  name: receiver
+  sources:
+    pc: 'HTPC'
+    aux1: 'Chromecast'
+    bd: 'Bluray'
+    game: 'Wii U'
 
+

Configuration variables:
+- host (Optional): IP address of the device. Example:192.168.1.2 If not specified, the platform will load any discovered receivers.
+- name (Optional, required if host is specified): Name of the device
+- sources (Optional): A list of mappings from source to source name. Valid sources can be found below. A default list will be used if no source mapping is specified.

-

A few notes:

- -

Source selection has no front-end UI, but can be controlled by way of service calls. Select the source string from the following list:

- -
    -
  • video1
  • -
  • video2
  • -
  • video3
  • -
  • video4
  • -
  • video5
  • -
  • video6
  • -
  • video7
  • -
  • dvd
  • -
  • bd-dvd
  • -
  • tape1
  • -
  • tv-tape
  • -
  • tape2
  • -
  • phono
  • -
  • cd
  • -
  • tv-cd
  • -
  • fm
  • -
  • am
  • -
  • tuner
  • -
  • dlna
  • -
  • internet-radio
  • -
  • usb
  • -
  • network
  • -
  • universal-port
  • -
  • multi-ch
  • -
  • xm
  • -
  • sirius
  • -
- -

Sample automation and input select

- -
-
automation:
-  alias: Receiver Source
-  trigger:
-    platform: state
-    entity_id: input_select.receiver_source
-  action:
-    service: media_player.select_source
-    data_template:
-      entity_id: media_player.txnr535_000000000000
-      source: >
-        {% if is_state('input_select.receiver_source', 'HTPC') %}
-          pc
-        {% elif is_state('input_select.receiver_source', 'Chromecast') %}
-          aux1
-        {% elif is_state('input_select.receiver_source', 'Wii U') %}
-          game
-        {% elif is_state('input_select.receiver_source', 'Bluray') %}
-          bd
-        {% elif is_state('input_select.receiver_source', 'Raspberry Pi') %}
-          tv
-        {% endif %}
-        
-input_select:
-  receiver_source:
-    name: Source
-    options:
-      - HTPC
-      - Chromecast
-      - Wii U
-      - Bluray
-      - Raspberry Pi
-    initial: None
-
-
-
- +

List of source names:
+- video1
+- video2
+- video3
+- video4
+- video5
+- video6
+- video7
+- dvd
+- bd-dvd
+- tape1
+- tv-tape
+- tape2
+- phono
+- cd
+- tv-cd
+- fm
+- am
+- tuner
+- dlna
+- internet-radio
+- usb
+- network
+- universal-port
+- multi-ch
+- xm
+- sirius

diff --git a/sitemap.xml b/sitemap.xml index b527228ea0..828c7b120a 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1701,26 +1701,26 @@ https://home-assistant.io/demo/frontend.html - 2016-06-03T08:07:29+00:00 + 2016-06-03T13:51:20+00:00 https://home-assistant.io/demo/index.html - 2016-06-03T08:07:29+00:00 + 2016-06-03T13:51:20+00:00 https://home-assistant.io/googlef4f3693c209fe788.html - 2016-06-03T08:07:29+00:00 + 2016-06-03T13:51:20+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html - 2016-06-03T08:07:29+00:00 + 2016-06-03T13:51:20+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html - 2016-06-03T08:07:29+00:00 + 2016-06-03T13:51:20+00:00 https://home-assistant.io/static/mdi-demo.html - 2016-06-03T08:07:29+00:00 + 2016-06-03T13:51:20+00:00