Browse Source

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
master
reaper7 5 years ago
committed by Max Prokhorov
parent
commit
bf3caf3758
2 changed files with 30 additions and 0 deletions
  1. +30
    -0
      code/espurna/config/hardware.h
  2. BIN
      images/devices/jinvoo-valve-sm-aw713.jpg

+ 30
- 0
code/espurna/config/hardware.h View File

@ -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
// -----------------------------------------------------------------------------


BIN
images/devices/jinvoo-valve-sm-aw713.jpg View File

Before After
Width: 400  |  Height: 400  |  Size: 11 KiB

Loading…
Cancel
Save