|
@ -3577,6 +3577,36 @@ |
|
|
#define LDR_ON_GROUND false |
|
|
#define LDR_ON_GROUND false |
|
|
#define LDR_RESISTOR 10000 |
|
|
#define LDR_RESISTOR 10000 |
|
|
|
|
|
|
|
|
|
|
|
#elif defined(JINVOO_VALVE_SM_AW713) |
|
|
|
|
|
|
|
|
|
|
|
// Reflashing from original Tuya firmware |
|
|
|
|
|
// to thirdparty firmware like espurna by: |
|
|
|
|
|
// https://github.com/ct-Open-Source/tuya-convert |
|
|
|
|
|
|
|
|
|
|
|
// Info |
|
|
|
|
|
#define MANUFACTURER "JINVOO" |
|
|
|
|
|
#define DEVICE "VALVE_SM_AW713" |
|
|
|
|
|
|
|
|
|
|
|
// Buttons |
|
|
|
|
|
#define BUTTON1_PIN 13 |
|
|
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
|
|
|
|
|
|
|
|
// Relays |
|
|
|
|
|
#define RELAY1_PIN 12 |
|
|
|
|
|
#define RELAY1_TYPE RELAY_TYPE_NORMAL |
|
|
|
|
|
|
|
|
|
|
|
// LED |
|
|
|
|
|
#define LED1_PIN 5 // 5 red led |
|
|
|
|
|
#define LED1_PIN_INVERSE 0 |
|
|
|
|
|
#define LED1_RELAY 1 |
|
|
|
|
|
#define LED1_MODE LED_MODE_RELAY |
|
|
|
|
|
|
|
|
|
|
|
#define LED2_PIN 4 // 4 blue led |
|
|
|
|
|
#define LED2_PIN_INVERSE 0 |
|
|
|
|
|
#define LED2_RELAY 1 |
|
|
|
|
|
#define LED2_MODE LED_MODE_FINDME_WIFI |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// TEST boards (do not use!!) |
|
|
// TEST boards (do not use!!) |
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
@ -3781,36 +3811,6 @@ |
|
|
#define SSDP_SUPPORT 1 |
|
|
#define SSDP_SUPPORT 1 |
|
|
#define RF_SUPPORT 1 |
|
|
#define RF_SUPPORT 1 |
|
|
|
|
|
|
|
|
#elif defined(JINVOO_VALVE_SM_AW713) |
|
|
|
|
|
|
|
|
|
|
|
// Reflashing from original Tuya firmware |
|
|
|
|
|
// to thirdparty firmware like espurna by: |
|
|
|
|
|
// https://github.com/ct-Open-Source/tuya-convert |
|
|
|
|
|
|
|
|
|
|
|
// Info |
|
|
|
|
|
#define MANUFACTURER "JINVOO" |
|
|
|
|
|
#define DEVICE "VALVE_SM_AW713" |
|
|
|
|
|
|
|
|
|
|
|
// Buttons |
|
|
|
|
|
#define BUTTON1_PIN 13 |
|
|
|
|
|
#define BUTTON1_MODE BUTTON_PUSHBUTTON | BUTTON_DEFAULT_HIGH |
|
|
|
|
|
#define BUTTON1_RELAY 1 |
|
|
|
|
|
|
|
|
|
|
|
// Relays |
|
|
|
|
|
#define RELAY1_PIN 12 |
|
|
|
|
|
#define RELAY1_TYPE RELAY_TYPE_NORMAL |
|
|
|
|
|
|
|
|
|
|
|
// LED |
|
|
|
|
|
#define LED1_PIN 5 // 5 red led |
|
|
|
|
|
#define LED1_PIN_INVERSE 0 |
|
|
|
|
|
#define LED1_RELAY 1 |
|
|
|
|
|
#define LED1_MODE LED_MODE_RELAY |
|
|
|
|
|
|
|
|
|
|
|
#define LED2_PIN 4 // 4 blue led |
|
|
|
|
|
#define LED2_PIN_INVERSE 0 |
|
|
|
|
|
#define LED2_RELAY 1 |
|
|
|
|
|
#define LED2_MODE LED_MODE_FINDME_WIFI |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|