mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Disconnect from MQTT and reconnect when changing settings
This commit is contained in:
parent
07255fc7f0
commit
d91535c9ac
6 changed files with 52 additions and 7 deletions
1
MQTT.h
1
MQTT.h
|
|
@ -13,6 +13,7 @@ class MQTTClass {
|
|||
bool connect();
|
||||
bool disconnect();
|
||||
bool connected();
|
||||
void reset();
|
||||
bool publish(const char *topic, const char *payload);
|
||||
bool publish(const char *topic, JsonDocument &doc);
|
||||
bool publish(const char *topic, JsonArray &arr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue