Skip to content

Commit

Permalink
MQTT.md: Document RULE_MAX_MQTT_EVENTSZ
Browse files Browse the repository at this point in the history
The `RULE_MAX_MQTT_EVENTSZ` constant needs to be increase for MQTT subscriptions with large messages. Document it next to `SUPPORT_MQTT_EVENT`.
  • Loading branch information
cmangla authored Jul 13, 2023
1 parent 3cb8506 commit 08a8661
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ To use it you must [compile your build](Compile-your-build). Add the following t
#define SUPPORT_MQTT_EVENT
#endif
```
To increase the maximum MQTT message size that Tasmota is willing to process, increase the following constant by setting it in `user_config_override.h`:
```
#define RULE_MAX_MQTT_EVENTSZ 256
```

### Subscribe
Subscribes to an MQTT topic and assigns an [`Event`](Commands#event) name to it.
Expand Down

0 comments on commit 08a8661

Please sign in to comment.