Updated external content (Jenkins build 626)
parent
e6140665e2
commit
13711fbe3e
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@ id: amplipi
|
|||
label: AmpliPi
|
||||
title: AmpliPi - Bindings
|
||||
type: binding
|
||||
description: "This binding supports the multi room audio system [AmpliPi](http://www.amplipi.com/) from [MicroNova](http://www.micro-nova.com/)."
|
||||
description: "This binding supports the multi-room audio system [AmpliPi](http://www.amplipi.com/) from [MicroNova](http://www.micro-nova.com/)."
|
||||
since: 3x
|
||||
install: manual
|
||||
---
|
||||
|
@ -14,7 +14,7 @@ install: manual
|
|||
|
||||
# AmpliPi Binding
|
||||
|
||||
This binding supports the multi room audio system [AmpliPi](http://www.amplipi.com/) from [MicroNova](http://www.micro-nova.com/).
|
||||
This binding supports the multi-room audio system [AmpliPi](http://www.amplipi.com/) from [MicroNova](http://www.micro-nova.com/).
|
||||
|
||||
|
||||
## Supported Things
|
||||
|
@ -24,7 +24,7 @@ Every available zone as well as group is managed as an individual Thing of type
|
|||
|
||||
## Discovery
|
||||
|
||||
Once the AmpliPi announces itself through mDNS (still a pending feature), it will be automatically discovered on the network.
|
||||
The AmpliPi announces itself through mDNS, so that the bindings is able to find it automatically.
|
||||
|
||||
As soon as the AmpliPi is online, its zones and groups are automatically retrieved and added as Things to the Inbox.
|
||||
|
||||
|
@ -59,6 +59,12 @@ The `zone` and `group` Things have the following channels:
|
|||
| mute | Switch | Mutes the zone/group |
|
||||
| source | Number | The source (1-4) that this zone/group is playing |
|
||||
|
||||
## Audio Sink
|
||||
|
||||
For every AmpliPi controller, an audio sink is registered with the id of the thing.
|
||||
This audio sink accepts urls and audio files to be played.
|
||||
It uses the AmpliPi's PA feature for announcements on all available zones.
|
||||
If no volume value is passed, the current volume of each zone is used, otherwise the provided volume is temporarily set on all zones for the announcement.
|
||||
|
||||
## Full Example
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ Finally, an SDM Account Thing can be created to access the SDM project using the
|
|||
1. Create an authorization code for the binding:
|
||||
1. Replace the **Project ID** and **Client ID** in the URL below with your SDM Project ID and SDM OAuth 2.0 Client ID and open the URL in a new browser tab:
|
||||
|
||||
`https://nestservices.google.com/partnerconnections/{{ProjectID}}/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&access_type=offline&prompt=consent&client_id={{ClientID}}&response_type=code&scope=https://www.googleapis.com/auth/sdm.service`
|
||||
`https://nestservices.google.com/partnerconnections/<ProjectID>/auth?redirect_uri=urn:ietf:wg:oauth:2.0:oob&access_type=offline&prompt=consent&client_id=<ClientID>&response_type=code&scope=https://www.googleapis.com/auth/sdm.service`
|
||||
|
||||
For the example values used so far this is:
|
||||
|
||||
|
@ -166,7 +166,7 @@ Finally, the existing SDM Account Thing can be updated so it can subscribe to SD
|
|||
1. Create an authorization code for the binding:
|
||||
1. Replace the **Client ID** in the URL below with your Pub/Sub OAuth 2.0 Client ID and open the URL in a new browser tab:
|
||||
|
||||
`https://accounts.google.com/o/oauth2/auth?client_id={{ClientID}}&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.googleapis.com/auth/pubsub`
|
||||
`https://accounts.google.com/o/oauth2/auth?client_id=<ClientID>&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.googleapis.com/auth/pubsub`
|
||||
|
||||
For the example client this is:
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ Using your favorite configuration UI to edit **Settings / Other Services - Googl
|
|||
* **Client Secret** - Google Cloud Platform OAuth 2.0-Client Secret.
|
||||
* **Authorization Code** - The auth-code is a one-time code needed to retrieve the necessary access-codes from Google Cloud Platform.
|
||||
**Please go to your browser ...**
|
||||
[https://accounts.google.com/o/oauth2/auth?client_id={{clientId}}&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=https://www.googleapis.com/auth/cloud-platform&response_type=code](https://accounts.google.com/o/oauth2/auth?client_id={{clientId}}&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=https://www.googleapis.com/auth/cloud-platform&response_type=code) (replace `{{clientId}}` by your Client Id)
|
||||
[https://accounts.google.com/o/oauth2/auth?client_id=<clientId>&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=https://www.googleapis.com/auth/cloud-platform&response_type=code](https://accounts.google.com/o/oauth2/auth?client_id=<clientId>&redirect_uri=urn:ietf:wg:oauth:2.0:oob&scope=https://www.googleapis.com/auth/cloud-platform&response_type=code) (replace `<clientId>` by your Client Id)
|
||||
**... to generate an auth-code and paste it here**.
|
||||
After initial authorization, this code is not needed anymore.
|
||||
It is recommended to clear this configuration parameter afterwards.
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<item-type>DateTime</item-type>
|
||||
<label>Latest Published Date</label>
|
||||
<description>Contains the published date of the last feed entry.</description>
|
||||
<state readOnly="true" pattern="%tc %n"/>
|
||||
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="latest-link">
|
||||
|
@ -104,7 +104,7 @@
|
|||
<item-type>DateTime</item-type>
|
||||
<label>Last Update</label>
|
||||
<description>The last update date of the feed.</description>
|
||||
<state readOnly="true" pattern="%tc %n"/>
|
||||
<state readOnly="true" pattern="%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="number-of-entries" advanced="true">
|
||||
|
|
|
@ -26,14 +26,13 @@
|
|||
<parameter name="refresh" type="integer" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<default>60</default>
|
||||
<unitLabel>s</unitLabel>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</bridge-type>
|
||||
|
||||
<bridge-type id="fritzbox">
|
||||
<label>FritzBox</label>
|
||||
<description>A physical FritzBox Device.</description>
|
||||
<label>FRITZ!Box</label>
|
||||
<description>A physical FRITZ!Box device.</description>
|
||||
|
||||
<representation-property>host</representation-property>
|
||||
|
||||
|
@ -54,7 +53,6 @@
|
|||
<parameter name="refresh" type="integer" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<default>60</default>
|
||||
<unitLabel>s</unitLabel>
|
||||
</parameter>
|
||||
<parameter name="tamIndices" type="text" multiple="true">
|
||||
<label>TAM</label>
|
||||
|
@ -97,8 +95,8 @@
|
|||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
<parameter name="phonebookInterval" type="integer" min="0" unit="s">
|
||||
<label>Phonebook Interval</label>
|
||||
<description>The interval for refreshing the phonebook (disabled = 0)</description>
|
||||
<label>Phone Book Interval</label>
|
||||
<description>The interval for refreshing the phone book (disabled = 0).</description>
|
||||
<default>600</default>
|
||||
<advanced>true</advanced>
|
||||
</parameter>
|
||||
|
@ -123,7 +121,6 @@
|
|||
<parameter name="refresh" type="integer" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<default>60</default>
|
||||
<unitLabel>s</unitLabel>
|
||||
</parameter>
|
||||
</config-description>
|
||||
</thing-type>
|
||||
|
@ -146,7 +143,6 @@
|
|||
<parameter name="refresh" type="integer" unit="s">
|
||||
<label>Refresh Interval</label>
|
||||
<default>60</default>
|
||||
<unitLabel>s</unitLabel>
|
||||
</parameter>
|
||||
<parameter name="macOnline" type="text" multiple="true">
|
||||
<label>MAC Online</label>
|
||||
|
|
Loading…
Reference in New Issue