|
@ -832,12 +832,19 @@ |
|
|
|
|
|
|
|
|
// Light |
|
|
// Light |
|
|
#define LIGHT_CHANNELS 5 |
|
|
#define LIGHT_CHANNELS 5 |
|
|
|
|
|
|
|
|
#define MY92XX_MODEL MY92XX_MODEL_MY9231 |
|
|
#define MY92XX_MODEL MY92XX_MODEL_MY9231 |
|
|
#define MY92XX_CHIPS 2 |
|
|
#define MY92XX_CHIPS 2 |
|
|
#define MY92XX_DI_PIN 12 |
|
|
#define MY92XX_DI_PIN 12 |
|
|
#define MY92XX_DCKI_PIN 14 |
|
|
#define MY92XX_DCKI_PIN 14 |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_MAPPING 4, 3, 5, 0, 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MY92XX_CH1 4 |
|
|
|
|
|
#define MY92XX_CH2 3 |
|
|
|
|
|
#define MY92XX_CH3 5 |
|
|
|
|
|
#define MY92XX_CH4 0 |
|
|
|
|
|
#define MY92XX_CH5 1 |
|
|
|
|
|
|
|
|
#define LIGHT_WHITE_FACTOR (0.1) // White LEDs are way more bright in the B1 |
|
|
#define LIGHT_WHITE_FACTOR (0.1) // White LEDs are way more bright in the B1 |
|
|
|
|
|
|
|
|
#elif defined(ITEAD_SONOFF_LED) |
|
|
#elif defined(ITEAD_SONOFF_LED) |
|
@ -1256,7 +1263,6 @@ |
|
|
#define MY92XX_DI_PIN 13 |
|
|
#define MY92XX_DI_PIN 13 |
|
|
#define MY92XX_DCKI_PIN 15 |
|
|
#define MY92XX_DCKI_PIN 15 |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_MAPPING 0, 1, 2, 3 |
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// Lyasi LED |
|
|
// Lyasi LED |
|
@ -1276,7 +1282,6 @@ |
|
|
#define MY92XX_DI_PIN 4 |
|
|
#define MY92XX_DI_PIN 4 |
|
|
#define MY92XX_DCKI_PIN 5 |
|
|
#define MY92XX_DCKI_PIN 5 |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_MAPPING 0, 1, 2, 3 |
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// LED Controller |
|
|
// LED Controller |
|
@ -1916,7 +1921,6 @@ |
|
|
#define MY92XX_DI_PIN 13 |
|
|
#define MY92XX_DI_PIN 13 |
|
|
#define MY92XX_DCKI_PIN 15 |
|
|
#define MY92XX_DCKI_PIN 15 |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_MAPPING 0, 1, 2, 3 |
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// XENON SM-PW701U |
|
|
// XENON SM-PW701U |
|
@ -3885,7 +3889,7 @@ |
|
|
#define MY92XX_DI_PIN 13 |
|
|
#define MY92XX_DI_PIN 13 |
|
|
#define MY92XX_DCKI_PIN 15 |
|
|
#define MY92XX_DCKI_PIN 15 |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_MAPPING 0, 1, 2, 3, 4 |
|
|
|
|
|
|
|
|
|
|
|
#define LIGHT_WHITE_FACTOR (0.1) // White LEDs are way more bright in the B1 |
|
|
#define LIGHT_WHITE_FACTOR (0.1) // White LEDs are way more bright in the B1 |
|
|
|
|
|
|
|
|
// https://www.amazon.com/gp/product/B07T7W7ZMW |
|
|
// https://www.amazon.com/gp/product/B07T7W7ZMW |
|
@ -4111,14 +4115,17 @@ |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY92XX |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY92XX |
|
|
|
|
|
|
|
|
// Light |
|
|
// Light |
|
|
#define LIGHT_CHANNELS 5 |
|
|
|
|
|
|
|
|
#define LIGHT_CHANNELS 2 |
|
|
|
|
|
|
|
|
#define MY92XX_MODEL MY92XX_MODEL_MY9291 |
|
|
#define MY92XX_MODEL MY92XX_MODEL_MY9291 |
|
|
#define MY92XX_CHIPS 1 |
|
|
#define MY92XX_CHIPS 1 |
|
|
#define MY92XX_DI_PIN 4 |
|
|
#define MY92XX_DI_PIN 4 |
|
|
#define MY92XX_DCKI_PIN 5 |
|
|
#define MY92XX_DCKI_PIN 5 |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
|
|
|
|
|
|
// No RGB on this bulb. Warm white on channel 0, cool white on channel 3 |
|
|
// No RGB on this bulb. Warm white on channel 0, cool white on channel 3 |
|
|
#define MY92XX_MAPPING 255, 255, 255, 3, 0 |
|
|
|
|
|
|
|
|
#define MY92XX_CH1 3 |
|
|
|
|
|
#define MY92XX_CH2 0 |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// Lombex Lux Nova 2 White and Color |
|
|
// Lombex Lux Nova 2 White and Color |
|
@ -4140,7 +4147,6 @@ |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
// RGB on channels 0/1/2, either cool or warm white on channel 3 |
|
|
// RGB on channels 0/1/2, either cool or warm white on channel 3 |
|
|
// The bulb *should* have cool leds, but could also have warm leds as a common defect |
|
|
// The bulb *should* have cool leds, but could also have warm leds as a common defect |
|
|
#define MY92XX_MAPPING 0, 1, 2, 3 |
|
|
|
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// Bestek Smart Plug with 2 USB ports |
|
|
// Bestek Smart Plug with 2 USB ports |
|
|