|
@ -805,7 +805,7 @@ |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// HUACANXING H801 |
|
|
|
|
|
|
|
|
// HUACANXING H801 & H802 |
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
#elif defined(HUACANXING_H801) |
|
|
#elif defined(HUACANXING_H801) |
|
@ -834,6 +834,26 @@ |
|
|
#define LIGHT_CH4_INVERSE 0 |
|
|
#define LIGHT_CH4_INVERSE 0 |
|
|
#define LIGHT_CH5_INVERSE 0 |
|
|
#define LIGHT_CH5_INVERSE 0 |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(HUACANXING_H802) |
|
|
|
|
|
|
|
|
|
|
|
// Info |
|
|
|
|
|
#define MANUFACTURER "HUACANXING" |
|
|
|
|
|
#define DEVICE "H802" |
|
|
|
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
|
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
|
|
|
|
|
|
|
|
|
// Channels |
|
|
|
|
|
#define LIGHT_CH1_PIN 12 // RED |
|
|
|
|
|
#define LIGHT_CH2_PIN 14 // GREEN |
|
|
|
|
|
#define LIGHT_CH3_PIN 13 // BLUE |
|
|
|
|
|
#define LIGHT_CH4_PIN 15 // WHITE |
|
|
|
|
|
|
|
|
|
|
|
#define LIGHT_CH1_INVERSE 0 |
|
|
|
|
|
#define LIGHT_CH2_INVERSE 0 |
|
|
|
|
|
#define LIGHT_CH3_INVERSE 0 |
|
|
|
|
|
#define LIGHT_CH4_INVERSE 0 |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// Jan Goedeke Wifi Relay |
|
|
// Jan Goedeke Wifi Relay |
|
|
// https://github.com/JanGoe/esp8266-wifi-relay |
|
|
// https://github.com/JanGoe/esp8266-wifi-relay |
|
@ -977,30 +997,6 @@ |
|
|
#define RELAY1_TYPE RELAY_TYPE_LATCHED |
|
|
#define RELAY1_TYPE RELAY_TYPE_LATCHED |
|
|
#define RELAY1_RESET_PIN 12 |
|
|
#define RELAY1_RESET_PIN 12 |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
|
|
|
// HUACANXING H802 |
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(HUACANXING_H802) |
|
|
|
|
|
|
|
|
|
|
|
// Info |
|
|
|
|
|
#define MANUFACTURER "HUACANXING" |
|
|
|
|
|
#define DEVICE "H802" |
|
|
|
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
|
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
|
|
|
|
|
|
|
|
|
// Channels |
|
|
|
|
|
#define LIGHT_CH1_PIN 12 // RED |
|
|
|
|
|
#define LIGHT_CH2_PIN 14 // GREEN |
|
|
|
|
|
#define LIGHT_CH3_PIN 13 // BLUE |
|
|
|
|
|
#define LIGHT_CH4_PIN 15 // WHITE |
|
|
|
|
|
|
|
|
|
|
|
#define LIGHT_CH1_INVERSE 0 |
|
|
|
|
|
#define LIGHT_CH2_INVERSE 0 |
|
|
|
|
|
#define LIGHT_CH3_INVERSE 0 |
|
|
|
|
|
#define LIGHT_CH4_INVERSE 0 |
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// V9261F |
|
|
// V9261F |
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|