Thu, 10 Jan 2019 16:33:42 +0100
Version 0.9.0. Implemented DCMD via mqtt to set stage, mode, setpoint low and high. Implemeted DCMD via mqtt to set heater, cooler, fan and light state. Implemented DCMD via mqtt to set product code and name. Set the PID's in fridge mode without idle range offset, that was an old leftover setting that was obsolete.
180 | 1 | #ifndef _RC_SWITCH_H |
2 | #define _RC_SWITCH_H | |
3 | ||
4 | ||
5 | #ifdef HAVE_WIRINGPI_H | |
6 | ||
7 | ||
8 | /* rc-switch.c */ | |
9 | int toggleSwitch(char *); | |
10 | int toggleTypeA(char *, char *, int); | |
11 | int toggleTypeB(int, int, int); | |
12 | int toggleTypeC(char, int, int, int); | |
13 | int toggleTypeE(char, int, int); | |
14 | ||
15 | void enableReceiveIRQ(int interrupt); | |
16 | void enableReceive(void); | |
17 | void disableReceive(void); | |
18 | int available(void); | |
19 | void resetAvailable(void); | |
20 | ||
21 | unsigned long getReceivedValue(void); | |
22 | unsigned int getReceivedBitlength(void); | |
23 | unsigned int getReceivedDelay(void); | |
24 | unsigned int getReceivedProtocol(void); | |
25 | unsigned int *getReceivedRawdata(void); | |
26 | ||
27 | void enableTransmit(int); | |
28 | void disableTransmit(void); | |
29 | ||
30 | char *dec2binWzerofill(unsigned long, unsigned int); | |
31 | ||
32 | ||
33 | #endif | |
34 | ||
35 | ||
36 | #endif |