Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify which port rhasspy uses by default for MQTT. #90

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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