mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
v2.1.6 Update
* Added Virtual Remote * Added Dry Contact * Fixed processed flag * Added backup and restore options
This commit is contained in:
parent
7b255e3acb
commit
4ad2cf7567
17 changed files with 1206 additions and 378 deletions
6
Somfy.h
6
Somfy.h
|
|
@ -58,7 +58,8 @@ enum class shade_types : byte {
|
|||
garage1 = 0x05,
|
||||
garage3 = 0x06,
|
||||
rdrapery = 0x07,
|
||||
cdrapery = 0x08
|
||||
cdrapery = 0x08,
|
||||
drycontact = 0x09,
|
||||
};
|
||||
enum class tilt_types : byte {
|
||||
none = 0x00,
|
||||
|
|
@ -281,6 +282,7 @@ class SomfyShade : public SomfyRemote {
|
|||
void moveToMyPosition();
|
||||
void processWaitingFrame();
|
||||
void publish();
|
||||
void publishState();
|
||||
void commit();
|
||||
void commitShadePosition();
|
||||
void commitTiltPosition();
|
||||
|
|
@ -308,6 +310,7 @@ class SomfyGroup : public SomfyRemote {
|
|||
bool hasShadeId(uint8_t shadeId);
|
||||
void compressLinkedShadeIds();
|
||||
void publish();
|
||||
void publishState();
|
||||
void updateFlags();
|
||||
void emitState(const char *evt = "groupState");
|
||||
void emitState(uint8_t num, const char *evt = "groupState");
|
||||
|
|
@ -455,6 +458,7 @@ class SomfyShadeController {
|
|||
void publish();
|
||||
void processWaitingFrame();
|
||||
void commit();
|
||||
void writeBackup();
|
||||
bool loadShadesFile(const char *filename);
|
||||
bool loadLegacy();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue