diff --git a/I2CDEVICES.md b/I2CDEVICES.md index 457116347..5d60c5fb4 100644 --- a/I2CDEVICES.md +++ b/I2CDEVICES.md @@ -74,4 +74,5 @@ Index | Define | Driver | Device | Address(es) | Description 49 | USE_VEML6075 | xsns_70 | VEML6075 | 0x10 | UVA/UVB/UVINDEX Sensor 50 | USE_VEML7700 | xsns_71 | VEML7700 | 0x10 | Ambient light intensity sensor 51 | USE_MCP9808 | xsns_72 | MCP9808 | 0x18 - 0x1F | Temperature sensor - 52 | USE_HP303B | xsns_73 | HP303B | 0x76 - 0x77 | Pressure and temperature sensor \ No newline at end of file + 52 | USE_HP303B | xsns_73 | HP303B | 0x76 - 0x77 | Pressure and temperature sensor + 53 | USE_MLX90640 | xdrv_84 | MLX90640 | 0x33 | IR array temperature sensor \ No newline at end of file diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 5f94c5fc0..e7fd061f5 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -557,6 +557,7 @@ // #define USE_VEML7700 // [I2cDriver50] Enable VEML7700 Ambient Light sensor (I2C addresses 0x10) (+4k5 code) // #define USE_MCP9808 // [I2cDriver51] Enable MCP9808 temperature sensor (I2C addresses 0x18 - 0x1F) (+0k9 code) // #define USE_HP303B // [I2cDriver52] Enable HP303B temperature and pressure sensor (I2C address 0x76 or 0x77) (+6k2 code) +// #define USE_MLX90640 // Enable MLX90640 IR array temperature sensor (I2C address 0x33) (+4k9 code) // #define USE_DISPLAY // Add I2C Display Support (+2k code) #define USE_DISPLAY_MODES1TO5 // Enable display mode 1 to 5 in addition to mode 0 diff --git a/tasmota/xdrv_84_MLX90640.ino b/tasmota/xdrv_84_MLX90640.ino index 808b8f9d2..a1016c917 100644 --- a/tasmota/xdrv_84_MLX90640.ino +++ b/tasmota/xdrv_84_MLX90640.ino @@ -34,6 +34,7 @@ \*********************************************************************************************/ #define XDRV_84 84 +#define XI2C_53 53 // See I2CDEVICES.md #include const char MLX90640type[] PROGMEM = "MLX90640"; diff --git a/tools/decode-status.py b/tools/decode-status.py index 876c9eb91..3758b528c 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -220,7 +220,7 @@ a_features = [[ "USE_WINDMETER","USE_OPENTHERM","USE_THERMOSTAT","USE_VEML6075", "USE_VEML7700","USE_MCP9808","USE_BL0940","USE_TELEGRAM", "USE_HP303B","USE_TCP_BRIDGE","USE_TELEINFO","USE_LMT01", - "USE_PROMETHEUS","USE_IEM3000","USE_DYP","", + "USE_PROMETHEUS","USE_IEM3000","USE_DYP","USE_MLX90640", "","","","", "","","USE_ETHERNET","USE_WEBCAM" ],[