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

* ✏️ Tweaks

* ✏️ Tweak

* Drop linkable_title from headers

* ✏️ Tweak
This commit is contained in:
Joakim Plate 2019-07-10 12:37:56 +02:00 committed by Franck Nijhof
parent 73a51eb5e9
commit 0cf680ca13
2 changed files with 109 additions and 0 deletions

View File

@ -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.

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="2001pt" height="418pt" viewBox="0 0 2001 418" version="1.1">
<g id="surface1">
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(6.666667%,6.666667%,6.666667%);fill-opacity:1;" d="M 507.015625 66.371094 L 507.015625 180.976562 C 516.714844 180.976562 525.527344 180.976562 532.203125 180.976562 C 563.808594 180.976562 602.085938 171.660156 602.085938 125.3125 C 602.230469 108.890625 595.519531 93.152344 583.566406 81.894531 C 571.613281 70.632812 555.507812 64.871094 539.128906 65.992188 L 507.015625 65.992188 M 1768.617188 270.269531 C 1819.738281 184.882812 1869.351562 92.691406 1919.71875 1.257812 L 1995.273438 412.332031 L 1919.71875 412.332031 L 1887.359375 228.082031 L 1772.015625 414.726562 C 1770.761719 414.925781 1769.632812 415.601562 1768.867188 416.613281 L 1649.621094 230.472656 C 1635.894531 289.160156 1625.445312 351 1613.355469 412.332031 L 1541.957031 412.332031 L 1617.511719 3.652344 Z M 1072.148438 30.226562 L 1072.148438 110.074219 C 1038.277344 86.019531 1000.5 67.757812 957.308594 68.765625 C 743.246094 73.925781 809.226562 479.332031 1071.519531 302.257812 L 1071.519531 382.234375 C 1035.003906 405.910156 961.96875 424.421875 919.15625 415.859375 C 654.722656 363.46875 720.832031 -4.28125 952.019531 0.25 C 993.574219 1.007812 1037.015625 5.917969 1072.148438 30.476562 M 572.371094 0 C 642.757812 0 682.675781 54.027344 682.675781 116.117188 C 682.675781 159.820312 657.492188 218.003906 599.316406 227.199219 L 707.230469 412.332031 L 614.175781 412.332031 L 507.773438 228.960938 C 507.503906 229.429688 507.503906 230.003906 507.773438 230.472656 L 507.773438 412.332031 L 425.925781 412.332031 L 425.925781 0 Z M 370.898438 412.332031 L 289.550781 412.332031 C 276.960938 382.234375 252.910156 324.171875 252.910156 324.171875 L 127.617188 324.171875 L 92.109375 412.332031 L 5.726562 412.332031 C 38.214844 335.257812 62.894531 278.707031 90.472656 215.234375 C 120.566406 146.21875 148.144531 84.757812 186.046875 1.890625 Z M 153.179688 261.203125 L 226.464844 261.203125 L 188.691406 179.71875 Z M 1486.554688 412.332031 L 1405.710938 412.332031 C 1393.121094 382.234375 1369.070312 324.171875 1369.070312 324.171875 L 1243.90625 324.171875 L 1208.269531 412.332031 L 1122.011719 412.332031 C 1154.5 335.257812 1179.179688 278.707031 1206.757812 215.234375 C 1236.726562 146.21875 1264.933594 84.757812 1302.710938 1.890625 Z M 1268.710938 261.203125 L 1342.121094 261.203125 L 1304.347656 179.71875 Z M 1268.710938 261.203125 "/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB