v2.0.0 Release Candidate

Added functions for emitting the last command for a motor.
This commit is contained in:
Robert Strouse 2023-07-07 15:25:01 -07:00
parent cfd3bdc4a1
commit 42947690a2
7 changed files with 50 additions and 12 deletions

View file

@ -258,6 +258,8 @@ class SomfyShade : public SomfyRemote {
bool unlinkRemote(uint32_t remoteAddress);
void emitState(const char *evt = "shadeState");
void emitState(uint8_t num, const char *evt = "shadeState");
void emitCommand(somfy_commands cmd, const char *source, uint32_t sourceAddress, const char *evt = "shadeCommand");
void emitCommand(uint8_t num, somfy_commands cmd, const char *source, uint32_t sourceAddress, const char *evt = "shadeCommand");
void setMyPosition(int8_t pos, int8_t tilt = -1);
void moveToMyPosition();
void processWaitingFrame();