Commit Graph

5 Commits

Author SHA1 Message Date
Stefan Tibus 0ddcaa8fe7 Implement correct conversion of humidity for SHT4x
The conversion of humidity from raw value is different for the SHT4x
series. The fix implements the conversion as per datasheet. Also, the
raw value is now cast to float before division.
2022-06-05 01:44:26 +02:00
Stefan Tibus 37e1bc6e7d Fix calling ConvertTemp and ConvertHumidity twice
ConvertTemp and ConvertHumidity are called in Sht3xShow, no need to call
them in Sht3xRead as well.
2022-06-05 01:44:15 +02:00
Stefan Tibus 7295bdb549 Fix detection of SHT40
A SHT40 was not detected by the previous scheme of scanning the I2C
addresses and for each address probing for SHT3x and SHT4x immediately
one after the other. The SHT40 is succesfully detected when first
probing all adresses for SHT3x and then scanning all adresses again for
SHT4x. The fix implements this scheme. It was tested with SHTC3 and
SHT40 sensors.
2022-06-05 01:40:39 +02:00
Theo Arends dae1b32995 Add support for Sensirion SHT4X using define USE_SHT3X (#15349) 2022-06-04 16:52:52 +02:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00