mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 11:02:12 +01:00
Persist shade state information in MQTT #210
This commit is contained in:
parent
3d72ac8094
commit
cc816ace58
9 changed files with 127 additions and 40 deletions
1
MQTT.h
1
MQTT.h
|
|
@ -15,6 +15,7 @@ class MQTTClass {
|
|||
bool disconnect();
|
||||
bool connected();
|
||||
void reset();
|
||||
bool unpublish(const char *topic);
|
||||
bool publish(const char *topic, const char *payload, bool retain = false);
|
||||
bool publish(const char *topic, JsonDocument &doc, bool retain = false);
|
||||
bool publish(const char *topic, JsonArray &arr, bool retain = false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue