Browse Source

hardware: add support for Mirabella Genio White A60 globe (#2439)

pull/2443/head
Andrew Leech 3 years ago
committed by GitHub
parent
commit
2fc559fa55
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions
  1. +1
    -0
      code/espurna/config/arduino.h
  2. +17
    -0
      code/espurna/config/hardware.h
  3. +4
    -0
      code/platformio.ini

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

@ -132,6 +132,7 @@
//#define MAGICHOME_ZJ_WFMN_A_11
//#define MAGICHOME_ZJ_WFMN_B_11
//#define MAGICHOME_ZJ_WFMN_C_11
//#define MIRABELLA_GENIO_W_A60
//#define MANCAVEMADE_ESPLIVE
//#define MAXCIO_WDE004
//#define MAXCIO_WUK007S


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

@ -4982,6 +4982,23 @@
#define LIGHT_CH2_PIN 4 // COLD WHITE LED PWM PIN
#define LIGHT_CH2_INVERSE 0
// -----------------------------------------------------------------------------
// Mirabella Genio White A60
// https://www.woolworths.com.au/shop/productdetails/877102/mirabella-smart-led-gls-es-9w-cool-white
// Like https://www.mirabellagenio.com.au/product-range/mirabella-genio-wi-fi-dimmable-9w-led-gls-bulb/
// but in cardboard box, Item # I002604
// -----------------------------------------------------------------------------
#elif defined(MIRABELLA_GENIO_W_A60)
// Info
#define MANUFACTURER "MIRABELLA"
#define DEVICE "GENIO_W_A60"
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
// Light
#define LIGHT_CH1_PIN 14 // WHITE
#else
#error "UNSUPPORTED HARDWARE!!"


+ 4
- 0
code/platformio.ini View File

@ -555,6 +555,10 @@ src_build_flags = -DMAGICHOME_ZJ_LB_RGBWW_L
extends = env:esp8266-1m-base
src_build_flags = -DMAGICHOME_ZJ_WFMN_C_11
[env:mirabella-genio-w-a60]
extends = env:esp8266-1m-base
src_build_flags = -DMIRABELLA_GENIO_W_A60
[env:huacanxing-h801]
extends = env:esp8266-1m-base
src_build_flags = -DHUACANXING_H801


Loading…
Cancel
Save