letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.25k stars 2.2k forks source link

AHT10 sensor #3466

Closed linuxvsmicrosoft closed 3 years ago

linuxvsmicrosoft commented 3 years ago

Hello I would open an issue, because the actual ESPeasy Mega software does not support AHT10 humidity/temp sensors and I have a few of them and would use them with my standard firmware for ESP8266 ... that is you ESPeasy Mega image. Thank you in advice

Wookbert commented 3 years ago

+1

I'd also like to see support for the AHT10 in ESPEasy. The board is significantly smaller than the typical DHT11/22 boards, and accuracy is claimed to be better too.

image image

TD-er commented 3 years ago

Like this: https://github.com/letscontrolit/ESPEasyPluginPlayground/pull/176#issuecomment-826084980 ??

TD-er commented 3 years ago

As it is now part of the playground, I also added an issue to move it to the main repository. https://github.com/letscontrolit/ESPEasy/issues/3604

But it does need some big fat warnings as described in that issue as it is a sensor that does not allow to work with any other I2C device on the ESP. It is not working according to the I2C standard.

TD-er commented 3 years ago

I'd also like to see support for the AHT10 in ESPEasy. The board is significantly smaller than the typical DHT11/22 boards, and accuracy is claimed to be better too.

The board looks similar in size to the Bosch BME280/BMP280 boards and those do comply with I2C standards.

Wookbert commented 3 years ago

How about the SHT30 or SHT31. (See description e.g. here). Even smaller. Looks to be I2C compliant, or am I wrong?

image

TD-er commented 3 years ago

Those SHT ones are also quite good. The higher the last digit of them, the more expensive (higher claimed accuracy and/or precision)

tonhuisman commented 3 years ago

@linuxvsmicrosoft The plugin is migrated from the Playground, and can be tested if you want. @Wookbert If you have these AHT sensors available, please try this PR build to see if it works as expected.

I can provide a .bin file if needed, as it is not yet included in the regular release of ESPEasy, (and you most likely can't download the PR build files yourself.)

Wookbert commented 3 years ago

@tonhuisman Just wrote that I thought to have a single AHT Wemos shield, but that’s bollocks. Actually have a single DHT11, which I had the intention to use, but actually never did and dropped it in favor of the BMP/BME280, because of the above discussion. Giving away the DHT11 shield to whoever is willing to pay postage from Germany.

TD-er commented 3 years ago

DHT11 is a completely different temp/hum sensor.

Wookbert commented 3 years ago

Uhm ... I know 🙃. Just saying that I can't test this plugin, because of the wrong sensors in my inventory and giving away that DHT11 to whoever wants it.

tonhuisman commented 3 years ago

DHT11 is supported by ESPEasy...

Wookbert commented 3 years ago

Copy 'n paste: Uhm ... I know 🙃. I just don't trust the DHT11.

linuxvsmicrosoft commented 3 years ago

Hi guys. Thanks for adding support for the aht10 sensor. Could you provide an download link for the specific firmware to check the functionality? thank you for all this work done !

tonhuisman commented 3 years ago

On what type of hardware do you want to install it? (ESP8266 or ESP32, flash size and file system size, f.e. ESP8266: 1M, 4M1M, 4M2M, ESP32: 4M316k)

tonhuisman commented 3 years ago

I've created local builds for ESP8266 normal 1M and test_A 4M flash, and an ESP32 test_A 4M316k: ESP_Easy_mega_20210802_normal_ESP8266_1M.zip (normally doesn't have the AHT plugin!) ESP_Easy_mega_20210802_test_A_ESP8266_4M1M.zip ESP_Easy_mega_20210802_test_A_ESP32_4M316k.zip

yohru commented 3 years ago

Thank you for adding AHT10 sensor. I was able to confirm that it works properly. It is working fine on the same I2C bus (Environment dependent)

20210803_aht10_ok

TD-er commented 3 years ago

Hmm looks like you're missing the CSS. Please have a look at Read The Docs - ExternalHostedStaticFiles

yohru commented 3 years ago

Thank you. Is this the difference between graphical or not ... Well, so I understood.

20210804_aht10_ok

P.S. I have total two AHT10 and ESP8266 combinations. Both are working fine.