Skip to content

Commit

Permalink
Merge pull request #1254 from cmangla/patch-1
Browse files Browse the repository at this point in the history
MQTT.md: Document RULE_MAX_MQTT_EVENTSZ
  • Loading branch information
barbudor authored Sep 6, 2023
2 parents 72986ff + cbc311e commit c583a11
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/MQTT.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,13 @@ To use it you must [compile your build](Compile-your-build). Add the following t
#define SUPPORT_MQTT_EVENT
#endif
```
To default maximum MQTT message size that Tasmota can process is 256 bytes. You can increase it by redefining the following constant in `user_config_override.h`:
```
#ifdef RULE_MAX_MQTT_EVENTSZ
#undef RULE_MAX_MQTT_EVENTSZ
#endif
#define RULE_MAX_MQTT_EVENTSZ 512
```

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

0 comments on commit c583a11

Please sign in to comment.