-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6160c6c
commit 3801f90
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
35 changes: 35 additions & 0 deletions
35
documentation/builders/components/mqtt/mqtt-integration.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# MQTT Integration | ||
|
||
The MQTT integration allows you to control your Phoniebox via the MQTT protocol. This feature enables not only MQTT | ||
Check failure on line 3 in documentation/builders/components/mqtt/mqtt-integration.md GitHub Actions / buildTrailing spaces
|
||
control but also integration with home automation systems like Home Assistant. | ||
|
||
## Configuration | ||
|
||
Set the corresponding setting in `shared\settings\jukebox.yaml` to activate this feature. | ||
|
||
``` yaml | ||
modules: | ||
named: | ||
... | ||
mqtt: mqtt | ||
... | ||
mqtt: | ||
enable: true | ||
# The client id used in communication with the MQTT broker and identification of the phoniebox | ||
client_id: phoniebox_dev | ||
# The username to authenticate against the broker | ||
username: phoniebox-dev | ||
# The password to authenticate against the broker | ||
password: phoniebox-dev | ||
# The host name or IP address of your mqtt broker | ||
host: 127.0.0.1 | ||
# The port number of the mqtt broker. The default is 1883 | ||
port: 1883 | ||
``` | ||
## Usage in Home Assistant | ||
Home Assistant does not have a native MQTT Media Player integration. To integrate Phoniebox into Home Assistant, you | ||
Check failure on line 32 in documentation/builders/components/mqtt/mqtt-integration.md GitHub Actions / buildTrailing spaces
|
||
can use the Universal Media Player configuration in combination with the Home Assistant MQTT service. | ||
There is also an HACS addon adding Phoniebox as Media Player https://github.com/c0un7-z3r0/hass-phoniebox | ||
Check failure on line 35 in documentation/builders/components/mqtt/mqtt-integration.md GitHub Actions / buildBare URL used
|