Skip to content

Commit

Permalink
[amplipi] Add discovery and PA support (#11586)
Browse files Browse the repository at this point in the history
Signed-off-by: Kai Kreuzer <kai@openhab.org>
  • Loading branch information
kaikreuzer authored Nov 21, 2021
1 parent b80f41f commit 5944493
Show file tree
Hide file tree
Showing 16 changed files with 3,315 additions and 571 deletions.
10 changes: 8 additions & 2 deletions bundles/org.openhab.binding.amplipi/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 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
Expand All @@ -10,7 +10,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.

Expand Down Expand Up @@ -45,6 +45,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

Expand Down
Loading

0 comments on commit 5944493

Please sign in to comment.