diff --git a/code/espurna/config/arduino.h b/code/espurna/config/arduino.h index ebd88fbb..17a0cf5f 100644 --- a/code/espurna/config/arduino.h +++ b/code/espurna/config/arduino.h @@ -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 diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 68b90aff..a8920804 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -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/ // ----------------------------------------------------------------------------- diff --git a/code/platformio.ini b/code/platformio.ini index 783b02ec..5bebedea 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -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 diff --git a/code/platformio_ota.ini b/code/platformio_ota.ini index 2c615041..ca54407c 100644 --- a/code/platformio_ota.ini +++ b/code/platformio_ota.ini @@ -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