From 82759e78816d014be17ae6c9bc5bdc7a4f3b1b2a Mon Sep 17 00:00:00 2001 From: GraphicHealer Date: Wed, 10 Sep 2025 15:40:31 -0400 Subject: [PATCH] Add Transport Documentation. --- content/components/mqtt.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/components/mqtt.md b/content/components/mqtt.md index cb9670cf69..289781a2ad 100644 --- a/content/components/mqtt.md +++ b/content/components/mqtt.md @@ -36,6 +36,7 @@ Support for esp-idf is still experimental. Please report issues you have with MQ - **broker** (**Required**, string): The host of your MQTT broker. - **enable_on_boot** (*Optional*, boolean): If enabled, MQTT will be enabled on boot. Defaults to `true`. - **port** (*Optional*, int): The port to connect to. Defaults to 1883. +- **transport** (*Optional*, string): Only on `esp32`, with `esp-idf`. Set to `ws` to support Websockets, `tcp` to use raw TCP communication. Defaults to `tcp`. - **username** (*Optional*, string): The username to use for authentication. Empty (the default) means no authentication.