Last active
July 23, 2024 14:53
-
-
Save Bolukan/e199f7ccc84f6fccd9ef586d9743bfd0 to your computer and use it in GitHub Desktop.
Tasmota ENS16x+AHT2x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // enable ENS16x | |
| #ifndef USE_ENS16x | |
| #define USE_ENS16x | |
| #endif | |
| // enable AHT2x | |
| #ifndef USE_AHT2x | |
| #define USE_AHT2x | |
| #endif | |
| // disable VEML6070 as AHT2x is recognized as VEML6070 | |
| // Comment out all instances of USE_VEML6070 in tasmota_configurations_ESP32.h | |
| #ifdef USE_VEML6070 | |
| #undef USE_VEML6070 | |
| #endif | |
| #ifdef USE_VEML6070_RSET | |
| #undef USE_VEML6070_RSET | |
| #endif | |
| #ifdef USE_VEML6070_SHOW_RAW | |
| #undef USE_VEML6070_SHOW_RAW | |
| #endif | |
| // report each 60 seconds | |
| #define TELE_PERIOD 60 | |
| // Configure I2C | |
| // #define GPIO_I2C_SCL 22 | |
| // #define GPIO_I2C_SDA 21 | |
| #define USER_TEMPLATE "{\"NAME\":\"Custom\",\"GPIO\":[0,0,0,0,0,0,0,0,0,0,21,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],\"FLAG\":0,\"BASE\":18}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment