diff --git a/sonoff/sonoff_post.h b/sonoff/sonoff_post.h index 7f50782c6..a4d6c2871 100644 --- a/sonoff/sonoff_post.h +++ b/sonoff/sonoff_post.h @@ -131,6 +131,7 @@ void KNX_CB_Action(message_t const &msg, void *arg); #define USE_ADE7953 // Enable ADE7953 Energy monitor as used on Shelly 2.5 (I2C address 0x38) (+1k5) //#define USE_VL53L0X // Enable VL53L0x time of flight sensor (I2C address 0x29) (+4k code) //#define USE_MLX90614 // Enable MLX90614 ir temp sensor (I2C address 0x5a) (+0.6k code) +#define USE_CHIRP // Enable CHIRP soil moisture sensor (variable I2C address) #define USE_MHZ19 // Add support for MH-Z19 CO2 sensor (+2k code) #define USE_SENSEAIR // Add support for SenseAir K30, K70 and S8 CO2 sensor (+2k3 code) diff --git a/sonoff/xsns_48_chirp.ino b/sonoff/xsns_48_chirp.ino index 4c5d6eb26..6a33f23ee 100644 --- a/sonoff/xsns_48_chirp.ino +++ b/sonoff/xsns_48_chirp.ino @@ -27,8 +27,6 @@ base - code base from arendst and - https://github.com/Miceuz/i2c-moisture-sensor */ -#define USE_I2C -#define USE_CHIRP #ifdef USE_I2C #ifdef USE_CHIRP