From df9c3a733e3e3b7e5520dcdc158671807c5889aa Mon Sep 17 00:00:00 2001 From: Cossid Date: Wed, 22 Jun 2022 10:02:20 -0500 Subject: [PATCH] SM2335 - Disable by default on ESP8266, enable by default on ESP32. --- BUILDS.md | 2 +- tasmota/include/tasmota_configurations.h | 8 ++++---- tasmota/include/tasmota_configurations_ESP32.h | 2 +- tasmota/my_user_config.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/BUILDS.md b/BUILDS.md index 576c8be6f..4d7611a29 100644 --- a/BUILDS.md +++ b/BUILDS.md @@ -65,7 +65,7 @@ Note: `minimal` variant is not listed as it shouldn't be used outside of the [up | USE_MY92X1 | - | x / - | x | x | - | x | | USE_SM16716 | - | x / - | x | x | - | x | | USE_SM2135 | - | x / - | x | x | - | x | -| USE_SM2335 | - | x / - | x | x | - | x | +| USE_SM2335 | - | - / x | - | - | - | - | | USE_BP5758D | - | x / - | x | x | - | x | | USE_SONOFF_L1 | - | x / - | x | x | - | x | | USE_ELECTRIQ_MOODL | - | x / - | x | x | - | x | diff --git a/tasmota/include/tasmota_configurations.h b/tasmota/include/tasmota_configurations.h index 1eb21552f..5fe9514ea 100644 --- a/tasmota/include/tasmota_configurations.h +++ b/tasmota/include/tasmota_configurations.h @@ -69,7 +69,7 @@ #define USE_MY92X1 // Add support for MY92X1 RGBCW led controller as used in Sonoff B1, Ailight and Lohas #define USE_SM16716 // Add support for SM16716 RGB LED controller (+0k7 code) #define USE_SM2135 // Add support for SM2135 RGBCW led control as used in Action LSC (+0k6 code) -#define USE_SM2335 // Add support for SM2335 RGBCW led control as used in Switchbot Bulb +//#define USE_SM2335 // Add support for SM2335 RGBCW led control as used in Switchbot Bulb #define USE_BP5758D // Add support for BP5758D RGBCW led control as used in some Tuya lightbulbs (+0k8 code) #define USE_SONOFF_L1 // Add support for Sonoff L1 led control #define USE_ELECTRIQ_MOODL // Add support for ElectriQ iQ-wifiMOODL RGBW LED controller @@ -404,7 +404,7 @@ #undef USE_MY92X1 // Disable support for MY92X1 RGBCW led controller as used in Sonoff B1, Ailight and Lohas #undef USE_SM16716 // Disable support for SM16716 RGB LED controller (+0k7 code) #undef USE_SM2135 // Disable support for SM2135 RGBCW led control as used in Action LSC (+0k6 code) -#undef USE_SM2335 // Disable support for SM2335 RGBCW led control as used in Switchbot Bulb +//#undef USE_SM2335 // Disable support for SM2335 RGBCW led control as used in Switchbot Bulb #undef USE_BP5758D // Disable support for BP5758D RGBCW led control as used in some Tuya lightbulbs (+0k8 code) #undef USE_SONOFF_L1 // Disable support for Sonoff L1 led control #undef USE_ELECTRIQ_MOODL // Disable support for ElectriQ iQ-wifiMOODL RGBW LED controller @@ -554,7 +554,7 @@ #undef USE_MY92X1 // Disable support for MY92X1 RGBCW led controller as used in Sonoff B1, Ailight and Lohas #undef USE_SM16716 // Disable support for SM16716 RGB LED controller (+0k7 code) #undef USE_SM2135 // Disable support for SM2135 RGBCW led control as used in Action LSC (+0k6 code) -#undef USE_SM2335 // Disable support for SM2335 RGBCW led control as used in Switchbot Bulb +//#undef USE_SM2335 // Disable support for SM2335 RGBCW led control as used in Switchbot Bulb #undef USE_BP5758D // Disable support for BP5758D RGBCW led control as used in some Tuya lightbulbs (+0k8 code) #undef USE_SONOFF_L1 // Disable support for Sonoff L1 led control #undef USE_ELECTRIQ_MOODL // Disable support for ElectriQ iQ-wifiMOODL RGBW LED controller @@ -700,7 +700,7 @@ #undef USE_MY92X1 // Disable support for MY92X1 RGBCW led controller as used in Sonoff B1, Ailight and Lohas #undef USE_SM16716 // Disable support for SM16716 RGB LED controller (+0k7 code) #undef USE_SM2135 // Disable support for SM2135 RGBCW led control as used in Action LSC (+0k6 code) -#undef USE_SM2335 // Disable support for SM2335 RGBCW led control as used in Switchbot Bulb +//#undef USE_SM2335 // Disable support for SM2335 RGBCW led control as used in Switchbot Bulb #undef USE_BP5758D // Disable support for BP5758D RGBCW led control as used in some Tuya lightbulbs (+0k8 code) #undef USE_SONOFF_L1 // Disable support for Sonoff L1 led control #undef USE_ELECTRIQ_MOODL // Disable support for ElectriQ iQ-wifiMOODL RGBW LED controller diff --git a/tasmota/include/tasmota_configurations_ESP32.h b/tasmota/include/tasmota_configurations_ESP32.h index cf2e21cc3..6b0b8c3b0 100644 --- a/tasmota/include/tasmota_configurations_ESP32.h +++ b/tasmota/include/tasmota_configurations_ESP32.h @@ -696,7 +696,7 @@ #define USE_HRE // Add support for Badger HR-E Water Meter (+1k4 code) //#define USE_A4988_STEPPER // Add support for A4988/DRV8825 stepper-motor-driver-circuit (+10k5 code) //#define USE_THERMOSTAT // Add support for Thermostat - +#define USE_SM2335 // Add support for SM2335 RGBCW led control as used in Switchbot Bulb #define USE_ETHERNET // Add support for ethernet (+20k code) #ifndef USE_KNX diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index ea88e9bef..868a16bd0 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -556,7 +556,7 @@ #define USE_MY92X1 // Add support for MY92X1 RGBCW led controller as used in Sonoff B1, Ailight and Lohas #define USE_SM16716 // Add support for SM16716 RGB LED controller (+0k7 code) #define USE_SM2135 // Add support for SM2135 RGBCW led control as used in Action LSC (+0k6 code) -#define USE_SM2335 // Add support for SM2335 RGBCW led control as used in SwitchBot Color Bulb +//#define USE_SM2335 // Add support for SM2335 RGBCW led control as used in SwitchBot Color Bulb #define USE_BP5758D // Add support for BP5758D RGBCW led control as used in some Tuya lightbulbs (+0k8 code) #define USE_SONOFF_L1 // Add support for Sonoff L1 led control #define USE_ELECTRIQ_MOODL // Add support for ElectriQ iQ-wifiMOODL RGBW LED controller (+0k3 code)