From 1b703bcf495580ecd8f83a1b0883cc80e22a5b6b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Fri, 20 Mar 2020 14:41:24 +0100 Subject: [PATCH] Tune tasmota-sensors for size --- BUILDS.md | 10 ++++++---- tasmota/tasmota_post.h | 22 +++++++++++----------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/BUILDS.md b/BUILDS.md index f63d29bb8..c5df5a310 100644 --- a/BUILDS.md +++ b/BUILDS.md @@ -26,7 +26,7 @@ | USE_SCRIPT | - | - | - | - | - | - | - | | USE_EXPRESSION | - | - | - | - | - | - | - | | SUPPORT_IF_STATEMENT | - | - | - | - | - | - | - | -| USE_HOTPLUG | - | - | - | - | x | - | - | +| USE_HOTPLUG | - | - | - | - | - | - | - | | | | | | | | | | | Feature or Sensor | minimal | lite | tasmota | knx | sensors | ir | display | Remarks | ROTARY_V1 | - | - | - | - | - | - | - | @@ -35,15 +35,17 @@ | USE_SONOFF_SC | - | - | x | x | x | - | - | | USE_TUYA_MCU | - | x | x | x | x | - | x | | USE_ARMTRONIX_DIMMERS | - | - | x | x | - | - | - | -| USE_PS_16_DZ | - | - | x | x | x | - | - | -| USE_SONOFF_IFAN | - | - | x | x | x | - | - | +| USE_PS_16_DZ | - | - | x | x | - | - | - | +| USE_SONOFF_IFAN | - | - | x | x | - | - | - | | USE_BUZZER | - | - | x | x | x | - | - | -| USE_ARILUX_RF | - | - | x | x | x | - | - | +| USE_ARILUX_RF | - | - | x | x | - | - | - | | USE_SHUTTER | - | - | x | x | - | - | - | | USE_DEEPSLEEP | - | - | x | - | x | - | - | | USE_EXS_DIMMER | - | - | x | x | - | - | - | | USE_DEVICE_GROUPS | - | - | x | - | - | - | - | | USE_PWM_DIMMER | - | - | x | x | - | - | - | +| USE_KEELOQ | - | - | - | - | - | - | - | +| USE_SONOFF_D1 | - | - | x | x | - | - | - | | | | | | | | | | | Feature or Sensor | minimal | lite | tasmota | knx | sensors | ir | display | Remarks | USE_LIGHT | - | x | x | x | x | x | x | diff --git a/tasmota/tasmota_post.h b/tasmota/tasmota_post.h index a6dac7fdb..b9bc6a833 100644 --- a/tasmota/tasmota_post.h +++ b/tasmota/tasmota_post.h @@ -107,19 +107,19 @@ extern "C" void custom_crash_callback(struct rst_info * rst_info, uint32_t stack #ifndef TUYA_DIMMER_ID #define TUYA_DIMMER_ID 0 // Default dimmer Id #endif -#undef USE_ARMTRONIX_DIMMERS // Disable support for Armtronix Dimmers (+1k4 code) -#define USE_PS_16_DZ // Add support for PS-16-DZ Dimmer (+2k code) -#define USE_SONOFF_IFAN // Add support for Sonoff iFan02 and iFan03 (+2k code) +#undef USE_ARMTRONIX_DIMMERS // Disable support for Armtronix Dimmers (+1k4 code) +#undef USE_PS_16_DZ // Disable support for PS-16-DZ Dimmer (+2k code) +#undef USE_SONOFF_IFAN // Disable support for Sonoff iFan02 and iFan03 (+2k code) #define USE_BUZZER // Add support for a buzzer (+0k6 code) -#define USE_ARILUX_RF // Add support for Arilux RF remote controller (+0k8 code, 252 iram (non 2.3.0)) -#undef USE_SHUTTER // Disable Shutter support for up to 4 shutter with different motortypes (+6k code) +#undef USE_ARILUX_RF // Disable support for Arilux RF remote controller (+0k8 code, 252 iram (non 2.3.0)) +#undef USE_SHUTTER // Disable Shutter support for up to 4 shutter with different motortypes (+6k code) #define USE_DEEPSLEEP // Add support for deepsleep (+1k code) -#undef USE_EXS_DIMMER // Disable support for EX-Store WiFi Dimmer -#define USE_HOTPLUG // Add support for sensor HotPlug -#undef USE_DEVICE_GROUPS // Disable support for device groups (+5k6 code) -#undef USE_PWM_DIMMER // Disable support for MJ-SD01/acenx/NTONPOWER PWM dimmers (+4k5 code) -#undef USE_KEELOQ // Disable support for Jarolift rollers by Keeloq algorithm (+4k5 code) -#define USE_SONOFF_D1 // Add support for Sonoff D1 Dimmer (+0k7 code) +#undef USE_EXS_DIMMER // Disable support for EX-Store WiFi Dimmer +//#define USE_HOTPLUG // Add support for sensor HotPlug +#undef USE_DEVICE_GROUPS // Disable support for device groups (+5k6 code) +#undef USE_PWM_DIMMER // Disable support for MJ-SD01/acenx/NTONPOWER PWM dimmers (+4k5 code) +#undef USE_KEELOQ // Disable support for Jarolift rollers by Keeloq algorithm (+4k5 code) +#undef USE_SONOFF_D1 // DIsable support for Sonoff D1 Dimmer (+0k7 code) // -- Optional light modules ---------------------- #define USE_LIGHT // Add Dimmer/Light support