From 0cf680ca13fb913add5cad90eb2bad47c884b5e9 Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Wed, 10 Jul 2019 12:37:56 +0200 Subject: [PATCH] Add arcam_fmj media player (#9660) * Add arcam_fmj media player * Drop extra line * Correct typo in receiver type * Remove redirect_from * Move larger config example to below config option table * Uppercase hostname to indicat it should be changed in example * int to integer * Increase level of headers and make them linkable * Correct spelling error * Minor language change * Minor spelling fix * Add configuration title * More spelling fixes * :pencil2: Tweaks * :pencil2: Tweak * Drop linkable_title from headers * :pencil2: Tweak --- source/_components/arcam_fmj.markdown | 103 +++++++++++++++++++++++ source/images/supported_brands/arcam.svg | 6 ++ 2 files changed, 109 insertions(+) create mode 100644 source/_components/arcam_fmj.markdown create mode 100644 source/images/supported_brands/arcam.svg diff --git a/source/_components/arcam_fmj.markdown b/source/_components/arcam_fmj.markdown new file mode 100644 index 00000000000..bd47be6b678 --- /dev/null +++ b/source/_components/arcam_fmj.markdown @@ -0,0 +1,103 @@ +--- +layout: page +title: "Arcam FMJ Receivers" +description: "Instructions on how to integrate Arcam FMJ Receivers into Home Assistant." +date: 2019-04-28 13:59 +0200 +sidebar: true +comments: false +sharing: true +footer: true +logo: arcam.svg +ha_category: Media Player +ha_release: 0.96 +ha_iot_class: Local Polling +--- + +The `arcam_fmj` integration allows you to control [Arcam FMJ Receveivers](https://www.arcam.co.uk/range/fmj.htm) from Home Assistant. + +Supported devices: + +- AVR 380 +- AVR 450 +- AVR 750 +- Likely other AVRs + +## Configuration + +To add an Arcam FMJ to your installation, add the following to your `configuration.yaml` file: + +```yaml +# Minimal example configuration.yaml entry +arcam_fmj: + - host: HOSTNAME + zone: + 1: +``` + +{% configuration %} +host: + description: IP address or hostname of the device. + required: true + type: string +port: + description: Port to connect to. + required: false + default: 50000 + type: integer +zone: + description: Per zone specific configuration + type: map + keys: + ZONE_INDEX: + name: + description: Name of zone + required: false + type: string + default: Arcam FMJ - ZONE_INDEX + turn_on: + description: Service to use when turning on device when no connection is established + required: false + type: action +{% endconfiguration %} + +```yaml +# Larger example configuration.yaml entry +media_player: + - platform: arcam_fmj + host: HOSTNAME + zone: + 1: + name: "Zone 1 name" + turn_on: + service: 'broadlink.send' + data: + host: BROADLINK_IR_IP + packet: JgAVADodHTo6HR0dHR0dOh0dHR06Oh0dHQ0FAA== + 2: + name: "Zone 2 name" + turn_on: + service: 'broadlink.send' + data: + host: BROADLINK_IR_IP + packet: JgAYADodHTo6Oh0dHR0dHR0dHR06Oh0dHQALZw0FAAAAAAAAAAAAAAAAAAA= +``` + +## Power state + +Arcam FMJ receivers turn off their network port when in standby, the component will try to +reconnect to the receiver every 5 seconds. This mean powering on the first zone is not +possible over the builtin network connection. Two options for complete power control +exists: IR or Serial gateway. + +### IR command + +Use an IR blaster to send a command to turn the device on using these discrete codes: + + - Zone 1: Protocol: NEC1 Device: 16 Function: 123 + - Zone 2: Protocol: NEC1 Device: 23 Function: 123 + +### Serial Port to network gateway + +Use a network to a serial port gateway to connect to the serial port of the +receiver. The serial port is always available and can power on the device. +This is the most reliable communication method as well. diff --git a/source/images/supported_brands/arcam.svg b/source/images/supported_brands/arcam.svg new file mode 100644 index 00000000000..849787cebeb --- /dev/null +++ b/source/images/supported_brands/arcam.svg @@ -0,0 +1,6 @@ + + + + + +