mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +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
6
Somfy.h
6
Somfy.h
|
|
@ -300,6 +300,9 @@ class SomfyShade : public SomfyRemote {
|
|||
void moveToMyPosition();
|
||||
void processWaitingFrame();
|
||||
void publish();
|
||||
void unpublish();
|
||||
static void unpublish(uint8_t id);
|
||||
static void unpublish(uint8_t id, const char *topic);
|
||||
void publishState();
|
||||
void commit();
|
||||
void commitShadePosition();
|
||||
|
|
@ -352,6 +355,9 @@ class SomfyGroup : public SomfyRemote {
|
|||
bool hasShadeId(uint8_t shadeId);
|
||||
void compressLinkedShadeIds();
|
||||
void publish();
|
||||
void unpublish();
|
||||
static void unpublish(uint8_t id);
|
||||
static void unpublish(uint8_t id, const char *topic);
|
||||
void publishState();
|
||||
void updateFlags();
|
||||
void emitState(const char *evt = "groupState");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue