|
@ -95,7 +95,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_BASIC) |
|
|
#elif defined(ITEAD_SONOFF_BASIC) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_BASIC" |
|
|
#define DEVICE "SONOFF_BASIC" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -114,7 +114,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_RF) |
|
|
#elif defined(ITEAD_SONOFF_RF) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_RF" |
|
|
#define DEVICE "SONOFF_RF" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -133,7 +133,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_TH) |
|
|
#elif defined(ITEAD_SONOFF_TH) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_TH" |
|
|
#define DEVICE "SONOFF_TH" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -152,7 +152,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_SV) |
|
|
#elif defined(ITEAD_SONOFF_SV) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_SV" |
|
|
#define DEVICE "SONOFF_SV" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -171,7 +171,7 @@ |
|
|
#elif defined(ITEAD_SLAMPHER) |
|
|
#elif defined(ITEAD_SLAMPHER) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SLAMPHER" |
|
|
#define DEVICE "SLAMPHER" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -190,7 +190,7 @@ |
|
|
#elif defined(ITEAD_S20) |
|
|
#elif defined(ITEAD_S20) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "S20" |
|
|
#define DEVICE "S20" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -209,7 +209,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_TOUCH) |
|
|
#elif defined(ITEAD_SONOFF_TOUCH) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_TOUCH" |
|
|
#define DEVICE "SONOFF_TOUCH" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -228,7 +228,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_POW) |
|
|
#elif defined(ITEAD_SONOFF_POW) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_POW" |
|
|
#define DEVICE "SONOFF_POW" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -253,7 +253,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_DUAL) |
|
|
#elif defined(ITEAD_SONOFF_DUAL) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_DUAL" |
|
|
#define DEVICE "SONOFF_DUAL" |
|
|
#define SERIAL_BAUDRATE 19230 |
|
|
#define SERIAL_BAUDRATE 19230 |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_DUAL |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_DUAL |
|
@ -271,7 +271,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_4CH) |
|
|
#elif defined(ITEAD_SONOFF_4CH) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_4CH" |
|
|
#define DEVICE "SONOFF_4CH" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -308,7 +308,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_4CH_PRO) |
|
|
#elif defined(ITEAD_SONOFF_4CH_PRO) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_4CH_PRO" |
|
|
#define DEVICE "SONOFF_4CH_PRO" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -354,7 +354,7 @@ |
|
|
// without problem. |
|
|
// without problem. |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "1CH_INCHING" |
|
|
#define DEVICE "1CH_INCHING" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -373,7 +373,7 @@ |
|
|
#elif defined(ITEAD_MOTOR) |
|
|
#elif defined(ITEAD_MOTOR) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "MOTOR" |
|
|
#define DEVICE "MOTOR" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -389,11 +389,11 @@ |
|
|
#define LED1_PIN 13 |
|
|
#define LED1_PIN 13 |
|
|
#define LED1_PIN_INVERSE 1 |
|
|
#define LED1_PIN_INVERSE 1 |
|
|
|
|
|
|
|
|
#elif defined(ITEAD_BN_SZ01) |
|
|
|
|
|
|
|
|
#elif defined(ITEAD_BNSZ01) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
#define DEVICE "BN-SZ01" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
|
|
|
#define DEVICE "BNSZ01" |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
#define DUMMY_RELAY_COUNT 1 |
|
|
#define DUMMY_RELAY_COUNT 1 |
|
@ -409,7 +409,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_RFBRIDGE) |
|
|
#elif defined(ITEAD_SONOFF_RFBRIDGE) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_RFBRIDGE" |
|
|
#define DEVICE "SONOFF_RFBRIDGE" |
|
|
#define SERIAL_BAUDRATE 19200 |
|
|
#define SERIAL_BAUDRATE 19200 |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_RFBRIDGE |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_RFBRIDGE |
|
@ -429,7 +429,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_B1) |
|
|
#elif defined(ITEAD_SONOFF_B1) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_B1" |
|
|
#define DEVICE "SONOFF_B1" |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY9192 |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY9192 |
|
@ -442,7 +442,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_LED) |
|
|
#elif defined(ITEAD_SONOFF_LED) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_LED" |
|
|
#define DEVICE "SONOFF_LED" |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
@ -462,7 +462,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_T1_1CH) |
|
|
#elif defined(ITEAD_SONOFF_T1_1CH) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_T1_1CH" |
|
|
#define DEVICE "SONOFF_T1_1CH" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -481,7 +481,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_T1_2CH) |
|
|
#elif defined(ITEAD_SONOFF_T1_2CH) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_T1_2CH" |
|
|
#define DEVICE "SONOFF_T1_2CH" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -508,7 +508,7 @@ |
|
|
#elif defined(ITEAD_SONOFF_T1_3CH) |
|
|
#elif defined(ITEAD_SONOFF_T1_3CH) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "ITEAD_STUDIO" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "ITEAD" |
|
|
#define DEVICE "SONOFF_T1_3CH" |
|
|
#define DEVICE "SONOFF_T1_3CH" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -598,7 +598,7 @@ |
|
|
#elif defined(AITHINKER_AI_LIGHT) |
|
|
#elif defined(AITHINKER_AI_LIGHT) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "AI_THINKER" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "AITHINKER" |
|
|
#define DEVICE "AI_LIGHT" |
|
|
#define DEVICE "AI_LIGHT" |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY9192 |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_MY9192 |
|
@ -615,7 +615,7 @@ |
|
|
#elif defined(MAGICHOME_LED_CONTROLLER) |
|
|
#elif defined(MAGICHOME_LED_CONTROLLER) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "MAGIC_HOME" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "MAGICHOME" |
|
|
#define DEVICE "LED_CONTROLLER" |
|
|
#define DEVICE "LED_CONTROLLER" |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define RELAY_PROVIDER RELAY_PROVIDER_LIGHT |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
|
#define LIGHT_PROVIDER LIGHT_PROVIDER_DIMMER |
|
@ -674,7 +674,7 @@ |
|
|
#elif defined(JANGOE_WIFI_RELAY_NC) |
|
|
#elif defined(JANGOE_WIFI_RELAY_NC) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "JAN_GOEDEKE" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "JANGOE" |
|
|
#define DEVICE "WIFI_RELAY_NC" |
|
|
#define DEVICE "WIFI_RELAY_NC" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -697,7 +697,7 @@ |
|
|
#elif defined(JANGOE_WIFI_RELAY_NO) |
|
|
#elif defined(JANGOE_WIFI_RELAY_NO) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "JAN_GOEDEKE" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "JANGOE" |
|
|
#define DEVICE "WIFI_RELAY_NO" |
|
|
#define DEVICE "WIFI_RELAY_NO" |
|
|
|
|
|
|
|
|
// Buttons |
|
|
// Buttons |
|
@ -726,7 +726,7 @@ |
|
|
#elif defined(JORGEGARCIA_WIFI_RELAYS) |
|
|
#elif defined(JORGEGARCIA_WIFI_RELAYS) |
|
|
|
|
|
|
|
|
// Info |
|
|
// Info |
|
|
#define MANUFACTURER "JORGE_GARCIA" |
|
|
|
|
|
|
|
|
#define MANUFACTURER "JORGEGARCIA" |
|
|
#define DEVICE "WIFI_RELAYS" |
|
|
#define DEVICE "WIFI_RELAYS" |
|
|
|
|
|
|
|
|
// Relays |
|
|
// Relays |
|
|