Skip to content

Commit

Permalink
Clarify which port rhasspy uses by default for MQTT. (#90)
Browse files Browse the repository at this point in the history
* Clarify which port rhasspy uses by default for MQTT.

* Further doc update re: MQTT ports.
  • Loading branch information
jasonhildebrand authored Feb 5, 2021
1 parent e995679 commit dc64166
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@ You can pass all the settings as keyword arguments inside the constructor as wel
``rhasspyhermes_app.HermesApp("ExampleApp", host="192.168.178.123", port=12183)``. Note that arguments passed on the
command line have precedence over arguments passed to the constructor.

*********************
Connecting to Rhasspy
*********************

In its default configuration, Rhasspy's internal MQTT broker listens on port 12183, so this is what you need to connect to, using command-line or constructor arguments - see previous section for details.

If you are using docker, you will need to add to add this port to your `docker-compose.yml` file:

.. code-block::
services:
rhasspy:
ports:
- "12101:12101" # this is the port used for the web interface
- "12183:12183" # you need this to access Rhasspy's MQTT port
If you're using an external MQTT broker, you probably want port 1883. This is what most MQTT brokers use, and is Rhasspy Hermes App's default port.


*******
Asyncio
*******
Expand Down

0 comments on commit dc64166

Please sign in to comment.