Skip to content

Commit 5a51176

Browse files
authored
Add maximum_packet_size MQTT setting (Koenkk#3228)
1 parent c484c8f commit 5a51176

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/guide/configuration/mqtt.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ mqtt:
3535
# Optional: MQTT protocol version (default: 4), set this to 5 if you
3636
# use the 'retention' device specific configuration
3737
version: 4
38-
# Optional: Disable retain for all send messages. ONLY enable if you MQTT broker doesn't
38+
# Optional: Disable retain for all send messages. ONLY enable if your MQTT broker doesn't
3939
# support retained message (e.g. AWS IoT core, Azure IoT Hub, Google Cloud IoT core, IBM Watson IoT Platform).
4040
# Enabling will break the Home Assistant integration. (default: false)
4141
force_disable_retain: false
42+
# Specifies the maximum allowed packet length (in bytes) that the server can send to Zigbee2MQTT. NOTE: The same value exists in your MQTT broker but for the length the client can send to it instead. (default: 1048576)
43+
maximum_packet_size: 1048576
4244
```
4345
4446
### Specifying MQTT server/user/password and network_key in a different file

0 commit comments

Comments
 (0)