-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4775 from FlowFuse/mqtt-broker-docs-link
Add links to MQTT docs
- Loading branch information
Showing
4 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
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
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
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,39 @@ | ||
--- | ||
navTitle: Team Broker | ||
--- | ||
|
||
# Getting Started with Team Broker | ||
|
||
When FlowFuse is deployed with an Enterprise license from v2.11.0 onwards comes with the option to enable a MQTT broker for each Team. | ||
|
||
This is a single shared MQTT broker, but each team has their own separate topic space and the ability to provision credentials for clients. | ||
|
||
## Creating Clients | ||
|
||
When creating clients you can specify a username, it will prepended to the the Team's id e.g. `alice` will become `alice@32E4NEO5pY`. | ||
|
||
This username should also be used as the MQTT Client ID in order to connect to the broker. Examples of how to do this are in the [next section](#connecting-to-the-broker). | ||
|
||
![Create Broker Client](../cloud/images/create-broker-client.png) | ||
|
||
## Connecting to the Broker | ||
|
||
The broker for FlowFuse Cloud is available on `broker.flowfuse.cloud` and supports the following connection types: | ||
|
||
- MQTT on port `1883` | ||
- MQTT over TLS on port `8883` | ||
- MQTT over secure WebSockets on port `443` | ||
|
||
For Self Hosted instances, please ask your Administrator for hostname and ports. | ||
|
||
You can connect to the broker using any MQTT client, for example `mosquitto_sub` | ||
|
||
``` | ||
mosquitto_sub -u "alice@32E4NEO5pY" -i "alice@32E4NEO5pY" -P "password" -h broker.flowfuse.cloud -t "#" | ||
``` | ||
|
||
Or in Node-RED as follows | ||
|
||
![Node-RED MQTT Client Connection](../cloud/images/node-red-mqtt-connection.png) | ||
|
||
![Node-RED MQTT Client Security](../cloud/images/node-red-mqtt-security.png) |
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