|
|
@ -464,7 +464,7 @@ |
|
|
|
#define LED1_PIN 13 |
|
|
|
#define LED1_PIN_INVERSE 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 1 |
|
|
|
#define LIGHT_CH1_PIN 12 |
|
|
|
#define LIGHT_CH1_INVERSE 0 |
|
|
@ -497,12 +497,17 @@ |
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
|
#define DEVICE "SONOFF_B1" |
|
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY9192 |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY92XX |
|
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
|
#define MY9291_DI_PIN 12 |
|
|
|
#define MY9291_DCKI_PIN 14 |
|
|
|
#define MY9291_COMMAND MY9291_COMMAND_DEFAULT |
|
|
|
#define MY9291_CHANNELS 5 |
|
|
|
|
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 5 |
|
|
|
#define MY92XX_MODEL MY92XX_MODEL_MY9231 |
|
|
|
#define MY92XX_CHIPS 2 |
|
|
|
#define MY92XX_DI_PIN 12 |
|
|
|
#define MY92XX_DCKI_PIN 14 |
|
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
|
#define MY92XX_MAPPING 4, 3, 5, 0, 1 |
|
|
|
|
|
|
|
#elif defined(ITEAD_SONOFF_LED) |
|
|
|
|
|
|
@ -517,7 +522,7 @@ |
|
|
|
#define LED1_PIN 13 |
|
|
|
#define LED1_PIN_INVERSE 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 2 |
|
|
|
#define LIGHT_CH1_PIN 12 // Cold white |
|
|
|
#define LIGHT_CH2_PIN 14 // Warm white |
|
|
@ -700,12 +705,17 @@ |
|
|
|
#define MANUFACTURER "AITHINKER" |
|
|
|
#define DEVICE "AI_LIGHT" |
|
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY9192 |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY92XX |
|
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
|
#define MY9291_DI_PIN 13 |
|
|
|
#define MY9291_DCKI_PIN 15 |
|
|
|
#define MY9291_COMMAND MY9291_COMMAND_DEFAULT |
|
|
|
#define MY9291_CHANNELS 4 |
|
|
|
|
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 4 |
|
|
|
#define MY92XX_MODEL MY92XX_MODEL_MY9291 |
|
|
|
#define MY92XX_CHIPS 1 |
|
|
|
#define MY92XX_DI_PIN 13 |
|
|
|
#define MY92XX_DCKI_PIN 15 |
|
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
|
#define MY92XX_MAPPING 0, 1, 2, 3 |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
|
// LED Controller |
|
|
@ -724,7 +734,7 @@ |
|
|
|
#define LED1_PIN 2 |
|
|
|
#define LED1_PIN_INVERSE 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 4 |
|
|
|
#define LIGHT_CH1_PIN 14 // RED |
|
|
|
#define LIGHT_CH2_PIN 5 // GREEN |
|
|
@ -755,7 +765,7 @@ |
|
|
|
#define LED1_PIN 2 |
|
|
|
#define LED1_PIN_INVERSE 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 4 |
|
|
|
#define LIGHT_CH1_PIN 5 // RED |
|
|
|
#define LIGHT_CH2_PIN 12 // GREEN |
|
|
@ -788,7 +798,7 @@ |
|
|
|
#define LED1_PIN 5 |
|
|
|
#define LED1_PIN_INVERSE 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 5 |
|
|
|
#define LIGHT_CH1_PIN 15 // RED |
|
|
|
#define LIGHT_CH2_PIN 13 // GREEN |
|
|
@ -810,7 +820,7 @@ |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 4 |
|
|
|
#define LIGHT_CH1_PIN 12 // RED |
|
|
|
#define LIGHT_CH2_PIN 14 // GREEN |
|
|
@ -1047,7 +1057,7 @@ |
|
|
|
#define LED1_PIN 5 |
|
|
|
#define LED1_PIN_INVERSE 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 2 |
|
|
|
#define LIGHT_CH1_PIN 0 |
|
|
|
#define LIGHT_CH2_PIN 2 |
|
|
@ -1067,7 +1077,7 @@ |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 5 |
|
|
|
#define LIGHT_CH1_PIN 14 // RED |
|
|
|
#define LIGHT_CH2_PIN 12 // GREEN |
|
|
@ -1087,14 +1097,17 @@ |
|
|
|
#define MANUFACTURER "ARILUX" |
|
|
|
#define DEVICE "E27" |
|
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY9192 |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY92XX |
|
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
#define MY9291_CHANNELS 4 |
|
|
|
#define MY9291_DI_PIN 13 |
|
|
|
#define MY9291_DCKI_PIN 15 |
|
|
|
#define MY9291_COMMAND MY9291_COMMAND_DEFAULT |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 4 |
|
|
|
#define MY92XX_MODEL MY92XX_MODEL_MY9291 |
|
|
|
#define MY92XX_CHIPS 1 |
|
|
|
#define MY92XX_DI_PIN 13 |
|
|
|
#define MY92XX_DCKI_PIN 15 |
|
|
|
#define MY92XX_COMMAND MY92XX_COMMAND_DEFAULT |
|
|
|
#define MY92XX_MAPPING 0, 1, 2, 3 |
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
|
// XENON SM-PW701U |
|
|
@ -1133,7 +1146,7 @@ |
|
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
|
|
|
|
|
// Channels |
|
|
|
// Light |
|
|
|
#define LIGHT_CHANNELS 4 |
|
|
|
#define LIGHT_CH1_PIN 13 // RED |
|
|
|
#define LIGHT_CH2_PIN 12 // GREEN |
|
|
|