mirror of https://github.com/arendst/Tasmota.git
Prep HYT271 sensor support
This commit is contained in:
parent
cc1ac513b9
commit
19e8f1a2af
|
@ -171,6 +171,7 @@ Note: `minimal` variant is not listed as it shouldn't be used outside of the [up
|
||||||
| USE_HDC2010 | - | - / - | - | - | - | - |
|
| USE_HDC2010 | - | - / - | - | - | - | - |
|
||||||
| USE_PCF85363 | - | - / - | - | - | - | - |
|
| USE_PCF85363 | - | - / - | - | - | - | - |
|
||||||
| USE_DS3502 | - | - / - | - | - | - | - |
|
| USE_DS3502 | - | - / - | - | - | - | - |
|
||||||
|
| USE_HYT | - | - / - | - | - | - | - |
|
||||||
| | | | | | | |
|
| | | | | | | |
|
||||||
| Feature or Sensor | l | t | k | s | i | d | Remarks
|
| Feature or Sensor | l | t | k | s | i | d | Remarks
|
||||||
| USE_SPI | - | - / - | - | - | - | x |
|
| USE_SPI | - | - / - | - | - | - | x |
|
||||||
|
|
|
@ -101,3 +101,5 @@ Index | Define | Driver | Device | Address(es) | Description
|
||||||
65 | USE_ADE7880 | xnrg_23 | ADE7880 | 0x38 | Energy monitor
|
65 | USE_ADE7880 | xnrg_23 | ADE7880 | 0x38 | Energy monitor
|
||||||
66 | USE_PCF85363 | xsns_99 | PCF85363 | 0x51 | Real time clock
|
66 | USE_PCF85363 | xsns_99 | PCF85363 | 0x51 | Real time clock
|
||||||
67 | USE_DS3502 | xdrv_61 | DS3502 | 0x28 - 0x2B | Digital potentiometer
|
67 | USE_DS3502 | xdrv_61 | DS3502 | 0x28 - 0x2B | Digital potentiometer
|
||||||
|
68 | USE_HYT | xsns_97 | HYTxxx | 0x28 | Temperature and Humidity sensor
|
||||||
|
|
|
@ -674,6 +674,7 @@
|
||||||
// #define HM330X_HIDE_OUT_OF_DATE false // Option: change to true to hide data from web GUI and SENSOR while sensor is asleep
|
// #define HM330X_HIDE_OUT_OF_DATE false // Option: change to true to hide data from web GUI and SENSOR while sensor is asleep
|
||||||
// #define USE_HDC2010 // [I2cDriver64] Enable HDC2010 temperature/humidity sensor (I2C address 0x40) (+1k5 code)
|
// #define USE_HDC2010 // [I2cDriver64] Enable HDC2010 temperature/humidity sensor (I2C address 0x40) (+1k5 code)
|
||||||
// #define USE_DS3502 // [I2CDriver67] Enable DS3502 digital potentiometer (I2C address 0x28 - 0x2B) (+0k4 code)
|
// #define USE_DS3502 // [I2CDriver67] Enable DS3502 digital potentiometer (I2C address 0x28 - 0x2B) (+0k4 code)
|
||||||
|
// #define USE_HYT // [I2CDriver68] Enable HYTxxx temperature and humidity sensor (I2C address 0x28) (+0k5 code)
|
||||||
|
|
||||||
// #define USE_RTC_CHIPS // Enable RTC chip support and NTP server - Select only one
|
// #define USE_RTC_CHIPS // Enable RTC chip support and NTP server - Select only one
|
||||||
// #define USE_DS3231 // [I2cDriver26] Enable DS3231 RTC (I2C address 0x68) (+1k2 code)
|
// #define USE_DS3231 // [I2cDriver26] Enable DS3231 RTC (I2C address 0x68) (+1k2 code)
|
||||||
|
|
|
@ -812,7 +812,9 @@ void ResponseAppendFeatures(void)
|
||||||
#if defined(USE_LIGHT) && defined(USE_BP5758D)
|
#if defined(USE_LIGHT) && defined(USE_BP5758D)
|
||||||
feature8 |= 0x10000000; // xlgt_08_bp5758d.ino
|
feature8 |= 0x10000000; // xlgt_08_bp5758d.ino
|
||||||
#endif
|
#endif
|
||||||
// feature8 |= 0x20000000;
|
#if defined(USE_I2C) && defined(USE_HYT)
|
||||||
|
feature8 |= 0x20000000; // xsns_97_hyt.ino
|
||||||
|
#endif
|
||||||
// feature8 |= 0x40000000;
|
// feature8 |= 0x40000000;
|
||||||
// feature8 |= 0x80000000;
|
// feature8 |= 0x80000000;
|
||||||
}
|
}
|
||||||
|
|
|
@ -279,7 +279,7 @@ a_features = [[
|
||||||
"USE_HDC2010","USE_LSC_MCSL","USE_SONOFF_SPM","USE_SHIFT595",
|
"USE_HDC2010","USE_LSC_MCSL","USE_SONOFF_SPM","USE_SHIFT595",
|
||||||
"USE_SDM230","USE_CM110x","USE_BL6523","USE_ADE7880",
|
"USE_SDM230","USE_CM110x","USE_BL6523","USE_ADE7880",
|
||||||
"USE_PCF85363","USE_DS3502","USE_IMPROV","USE_FLOWRATEMETER",
|
"USE_PCF85363","USE_DS3502","USE_IMPROV","USE_FLOWRATEMETER",
|
||||||
"USE_BP5758D","","",""
|
"USE_BP5758D","USE_HYT","",""
|
||||||
],[
|
],[
|
||||||
"","","","",
|
"","","","",
|
||||||
"","","","",
|
"","","","",
|
||||||
|
|
Loading…
Reference in New Issue