mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-08-16 02:33:33 +00:00
work on auto-generating parts of docs from JSONSchema
This commit is contained in:
@@ -4,14 +4,11 @@ sidebar:
|
||||
label: Client
|
||||
order: 1
|
||||
---
|
||||
import SchemaInfo from '../../../../components/SchemaInfo.astro';
|
||||
|
||||
The `mqtt.client` module connects to a MQTT broker and emits a message messages based on the subscribed topic it receives from the port. This module is also capable of publishing MQTT messages to the connected broker.
|
||||
|
||||
- **type**: `mqtt.client`
|
||||
- **params**:
|
||||
- **broker**: connection string for the mqtt broker (`mqtt://test.mosquitto.org:1833`)
|
||||
- **topic** mqtt topic to subscribe to
|
||||
- **clientId** client ID for this connection to the broker
|
||||
<SchemaInfo type="module" id="mqtt.client"></SchemaInfo>
|
||||
|
||||
This module implements the `PubSubModule` interface.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user