mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Add dry contact support for IO Remote and Relays #165
This commit is contained in:
parent
87995bf707
commit
bb36ed0f82
9 changed files with 194 additions and 122 deletions
6
Somfy.h
6
Somfy.h
|
|
@ -214,7 +214,7 @@ class SomfyRemote {
|
|||
void repeatFrame(uint8_t repeat);
|
||||
virtual uint16_t p_lastRollingCode(uint16_t code);
|
||||
somfy_commands transformCommand(somfy_commands cmd);
|
||||
void triggerGPIOs(somfy_frame_t &frame);
|
||||
virtual void triggerGPIOs(somfy_frame_t &frame);
|
||||
|
||||
};
|
||||
class SomfyLinkedRemote : public SomfyRemote {
|
||||
|
|
@ -304,7 +304,8 @@ class SomfyShade : public SomfyRemote {
|
|||
void clear();
|
||||
int8_t transformPosition(float fpos);
|
||||
void setGPIOs();
|
||||
|
||||
void triggerGPIOs(somfy_frame_t &frame);
|
||||
bool usesPin(uint8_t pin);
|
||||
// State Setters
|
||||
int8_t p_direction(int8_t dir);
|
||||
int8_t p_tiltDirection(int8_t dir);
|
||||
|
|
@ -450,6 +451,7 @@ class Transceiver {
|
|||
void endFrequencyScan();
|
||||
void processFrequencyScan(bool received = false);
|
||||
void emitFrequencyScan(uint8_t num = 255);
|
||||
bool usesPin(uint8_t pin);
|
||||
};
|
||||
class SomfyShadeController {
|
||||
protected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue