From e42a0fb9564762dd031e3fa77eb3bd402cfdb044 Mon Sep 17 00:00:00 2001 From: Egor Tsinko Date: Wed, 18 Oct 2017 14:39:45 -0600 Subject: [PATCH] added documentation for monoprice platform (#3495) * added monoprice page * updated markdown * updated markdown * renamed mp-logo.svg to monoprice.svg updated ha_release to 0.55 * fixed some typos * switched logo from white to black * updated release * Grammar; Added missing determiner --- .../media_player.monoprice.markdown | 49 ++++++++ source/images/supported_brands/monoprice.svg | 105 ++++++++++++++++++ 2 files changed, 154 insertions(+) create mode 100644 source/_components/media_player.monoprice.markdown create mode 100644 source/images/supported_brands/monoprice.svg diff --git a/source/_components/media_player.monoprice.markdown b/source/_components/media_player.monoprice.markdown new file mode 100644 index 00000000000..7487e75b1e8 --- /dev/null +++ b/source/_components/media_player.monoprice.markdown @@ -0,0 +1,49 @@ +--- +layout: page +title: "Monoprice 6-Zone Amplifier" +description: "Instructions on how to integrate Monoprice 6-Zone Home Audio Controller into Home Assistant." +date: 2017-10-02 11:45 +sidebar: true +comments: false +sharing: true +footer: true +logo: monoprice.svg +ha_category: Media Player +ha_release: 0.56 +ha_iot_class: "Local Polling" +--- + +The `monoprice` platform allows you to control [Monoprice 6-Zone Amplifier](https://www.monoprice.com/product?p_id=10761) using a serial connection. + +To add a Monoprice device to your installation, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +media_player: + - platform: monoprice + port: /dev/ttyUSB0 + zones: + 11: + name: Main Bedroom + 12: + name: Living Room + 13: + name: Kitchen + 14: + name: Bathroom + 15: + name: Dining Room + 16: + name: Guest Bedroom + sources: + 1: + name: Sonos + 5: + name: Chromecast +``` + +Configuration variables: + +- **port** (*Required*): The serial port to which Monoprice amplifier is connected +- **zones** (*Required*): This is the list of zones available. Valid zones are 11,12,13,14,15,16. In case multiple Monoprice devices are stacked together the list of valid zones is extended by 21,22,23,24,25,26 for the second device and 31,32,33,34,35,36 for the third device. Each zone must have a name assigned to it. +- **sources** (*Required*): The list of sources available. Valid source numbers are 1,2,3,4,5,6. Each source number corresponds to the input number on the Monoprice amplifier. Similar to zones, each source must have a name assigned to it. diff --git a/source/images/supported_brands/monoprice.svg b/source/images/supported_brands/monoprice.svg new file mode 100644 index 00000000000..c65cabf1877 --- /dev/null +++ b/source/images/supported_brands/monoprice.svg @@ -0,0 +1,105 @@ + + + +image/svg+xml \ No newline at end of file