Browse Source

Nexete A19 RGBW bulb (#1814)

* adding Nexete

Started Adding Nexete A19 Bulb

* Update hardware.h

* fixed pinout

* Rename to Nexete_A19 + added non-ota
pull/1822/head
konsgn 4 years ago
committed by Max Prokhorov
parent
commit
ee8a6e022a
3 changed files with 37 additions and 0 deletions
  1. +1
    -0
      code/espurna/config/arduino.h
  2. +26
    -0
      code/espurna/config/hardware.h
  3. +10
    -0
      code/platformio.ini

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

@ -100,6 +100,7 @@
//#define MAXCIO_WDE004
//#define MAXCIO_WUS002S
//#define NEO_COOLCAM_NAS_WR01W
//#define NEXETE_A19
//#define NODEMCU_BASIC
//#define NODEMCU_LOLIN
//#define OPENENERGYMONITOR_MQTT_RELAY


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

@ -3245,6 +3245,32 @@
#define LIGHT_CH3_INVERSE 0
#define LIGHT_CH4_INVERSE 0
// -----------------------------------------------------------------------------
// Nexete A19
// https://www.ebay.com/itm/Wifi-Smart-LED-light-Bulb-9W-60W-A19-850LM-RGBW-Dimmable-for-Alexa-Google-Home/283514779201
// -----------------------------------------------------------------------------
#elif defined(NEXETE_A19)
// Info
#define MANUFACTURER "NEXETE"
#define DEVICE "A19"
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER
#define DUMMY_RELAY_COUNT 1
// Light
#define LIGHT_CHANNELS 4
#define LIGHT_CH1_PIN 12 // RED
#define LIGHT_CH2_PIN 15 // GREEN
#define LIGHT_CH3_PIN 14 // BLUE
#define LIGHT_CH4_PIN 5 // WHITE
#define LIGHT_CH1_INVERSE 0
#define LIGHT_CH2_INVERSE 0
#define LIGHT_CH3_INVERSE 0
#define LIGHT_CH4_INVERSE 0
// -----------------------------------------------------------------------------
// Lombex Lux Nova 2 Tunable White
// https://www.amazon.com/Lombex-Compatible-Equivalent-Dimmable-2700K-6500K/dp/B07B8K72PR


+ 10
- 0
code/platformio.ini View File

@ -1460,6 +1460,16 @@ build_flags = ${common.build_flags_1m0m} -DGENERIC_GU10
upload_port = ${common.ota_upload_port}
upload_flags = ${common.ota_upload_flags}
[env:nexete-a19]
board = ${common.board_1m}
build_flags = ${common.build_flags_1m0m} -DNEXETE_A19
[env:generic-nexete-a19-ota]
board = ${common.board_1m}
build_flags = ${common.build_flags_1m0m} -DNEXETE_A19
upload_port = ${common.upload_port}
upload_flags = ${common.upload_flags}
[env:psh-wifi-plug]
board = ${common.board_1m}
build_flags = ${common.build_flags_1m0m} -DPSH_WIFI_PLUG


Loading…
Cancel
Save