From bf3caf37589243fbbac658eeb6436a6fe7d9ed24 Mon Sep 17 00:00:00 2001 From: reaper7 Date: Sun, 23 Jun 2019 23:17:40 +0200 Subject: [PATCH] add support for JINVOO VALVE SM-AW713 (#1774) * add support for JINVOO VALVE SM-AW713 * add support for JINVOO VALVE SM-AW713 * add support for JINVOO VALVE SM-AW713 * add support for JINVOO VALVE SM-AW713 Type: Other Board: Jinvoo SM-AW713 Build flag: JINVOO_VALVE_SM_AW713 Description: motorized valve * fix typo --- code/espurna/config/hardware.h | 30 +++++++++++++++++++++++ images/devices/jinvoo-valve-sm-aw713.jpg | Bin 0 -> 11418 bytes 2 files changed, 30 insertions(+) create mode 100644 images/devices/jinvoo-valve-sm-aw713.jpg diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index fda08412..cae337a3 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -3781,6 +3781,36 @@ #define SSDP_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 // ----------------------------------------------------------------------------- diff --git a/images/devices/jinvoo-valve-sm-aw713.jpg b/images/devices/jinvoo-valve-sm-aw713.jpg new file mode 100644 index 0000000000000000000000000000000000000000..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