Browse Source

hardware: add support for Benexmart GU5.3 RGBWW light (#2381)

* Add support for Benexmart GU5.3 RGBWW light

* Update arduino.h

Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>
mcspr-patch-1
Nicolas Gilles 4 years ago
committed by GitHub
parent
commit
85969e4945
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 0 deletions
  1. +1
    -0
      code/espurna/config/arduino.h
  2. +21
    -0
      code/espurna/config/hardware.h
  3. +4
    -0
      code/platformio.ini
  4. +3
    -0
      code/platformio_ota.ini

+ 1
- 0
code/espurna/config/arduino.h View File

@ -27,6 +27,7 @@
//#define ARNIEX_SWIFITCH
//#define AUTHOMETION_LYT8266
//#define AVATTO_NAS_WR01W
//#define BENEXMART_GU53_RGBWW
//#define BESTEK_MRJ1011
//#define BH_ONOFRE
//#define BLITZWOLF_BWSHP5


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

@ -4972,6 +4972,27 @@
#define LIGHT_CH4_PIN 5 // WHITE
// -----------------------------------------------------------------------------
// Benexmart 5W GU5.3 (MR16) RGBWW
// https://www.aliexpress.com/item/4001245365644.html
// -----------------------------------------------------------------------------
#elif defined(BENEXMART_GU53_RGBWW)
// Info
#define MANUFACTURER "BENEXMART"
#define DEVICE "GU53_RGBWW"
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
#define DUMMY_RELAY_COUNT 1
// Light
#define LIGHT_CHANNELS 5
#define LIGHT_CH1_PIN 4 // RED
#define LIGHT_CH2_PIN 12 // GREEN
#define LIGHT_CH3_PIN 14 // BLUE
#define LIGHT_CH4_PIN 5 // WARM WHITE
#define LIGHT_CH5_PIN 13 // COLD WHITE
// LSC E27 10W White Bulb with TYLC6E ESP8266 module
// https://www.action.com/de-at/p/lsc-smart-connect-intelligente-led-lampe/
// -----------------------------------------------------------------------------


+ 4
- 0
code/platformio.ini View File

@ -1057,6 +1057,10 @@ src_build_flags = -DPRODINO_WIFI -DNOWSAUTH
extends = env:esp8266-1m-base
src_build_flags = -DFCMILA_E27_7W_RGBW
[env:benexmart-gu53-rgbww]
extends = env:esp8266-1m-base
src_build_flags = -DBENEXMART_GU53_RGBWW
[env:lsc-e27-10w-white]
extends = env:esp8266-1m-base
src_build_flags = -DLSC_E27_10W_WHITE

+ 3
- 0
code/platformio_ota.ini View File

@ -474,5 +474,8 @@ extends = env:ehomediy-wt03
[env:fcmila-e27-7w-rgbw-ota]
extends = env:fcmila-e27-7w-rgbw
[env:benexmart-gu53-rgbww-ota]
extends = env:benexmart-gu53-rgbww
[env:lsc-e27-10w-white-ota]
extends = env:lsc-e27-10w-white

Loading…
Cancel
Save