AHT10 Sensor

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
ice77
Normal user
Posts: 18
Joined: 05 Apr 2020, 05:47

AHT10 Sensor

#1 Post by ice77 » 16 Jan 2021, 20:09

Hello

I use ESPeasy and I have AHT10 sensors and can not use them with ESPeasy. I've done a pull request on github... my first ever :-).
https://github.com/letscontrolit/ESPEasy/pull/3465

I don't know if I've done it right.

I would really appreciate if the AHT10 sensor would be added to ESPeasy mega :-)

Thank you in advise

ice77

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: AHT10 Sensor

#2 Post by TD-er » 16 Jan 2021, 20:49

Well I did close that PR, as it was unmergable and also probably not what you intended to do :)
What you probably meant was to open an issue.
A pull request is a request to merge code changes you made into the code repository.

I don't have these sensors... I think.

ice77
Normal user
Posts: 18
Joined: 05 Apr 2020, 05:47

Re: AHT10 Sensor

#3 Post by ice77 » 16 Jan 2021, 22:25

oh sorry for that. i didn't know.
I read this and thought I had to do a PR if I whish support for AHT10 sensor

viewtopic.php?t=8049

I did open an issue. Hope this time I did the right thing

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: AHT10 Sensor

#4 Post by TD-er » 16 Jan 2021, 22:38

ice77 wrote: 16 Jan 2021, 22:25 [...]
I did open an issue. Hope this time I did the right thing
Yep :)

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: AHT10 Sensor

#5 Post by Andrew Mamohin » 17 Jan 2021, 07:23

ice77 wrote: 16 Jan 2021, 22:25 I read this and thought I had to do a PR if I whish support for AHT10 sensor
Note that I tried using the SHT31 sensor. And I liked this sensor more than AHT10.
And most importantly: SHT31 has support ESPEASY.
Andy.

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: AHT10 Sensor

#6 Post by TD-er » 17 Jan 2021, 11:51

Andrew Mamohin wrote: 17 Jan 2021, 07:23 [...]
Note that I tried using the SHT31 sensor. And I liked this sensor more than AHT10.
And most importantly: SHT31 has support ESPEASY.
What are the pros and cons of each?

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: AHT10 Sensor

#7 Post by Andrew Mamohin » 17 Jan 2021, 12:21

TD-er wrote: 17 Jan 2021, 11:51 What are the pros and cons of each?
Of course, I have few statistics. But, other sensors outside the house stopped correctly detecting humidity after a couple of weeks.
The SHT31 sensor has been working for over two months and detects humidity well.
And most importantly: it is supported by EspEasy!
Andy.

ice77
Normal user
Posts: 18
Joined: 05 Apr 2020, 05:47

Re: AHT10 Sensor

#8 Post by ice77 » 18 Jan 2021, 04:44

I yesterday tryed to run the AHT10 Sensor with a self compiled binary of tasmota and tasmota recognized a totally different sensor. So I attached the SHT31 sensor and it runs out of the box with tasmota. So I don't know whats the problem, but with tasmota the AHT10 does not work.

I bougt 2 of the AHT10, because I read that it has more accuracy than the BME280 that I also have. The humidity part of AHT10 should be much better. Now if possible I would try to get them to work. My preferred binary is ESPeasy.

I would really appreciate if the sensor could be added. Otherwise I have to trash twice of them :-(.

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: AHT10 Sensor

#9 Post by Andrew Mamohin » 18 Jan 2021, 07:18

ice77 wrote: 18 Jan 2021, 04:44 I would really appreciate if the sensor could be added. Otherwise I have to trash twice of them :-(.
Be sure to tell me where you are to trash unnecessary sensors!!! :-)
Andy.

ice77
Normal user
Posts: 18
Joined: 05 Apr 2020, 05:47

Re: AHT10 Sensor

#10 Post by ice77 » 18 Jan 2021, 07:35

How can i get them running? ESP easy has no support for this sensor and tasmota failed.
ESP home is too complicated to create the configuration in the jaml file

User avatar
Andrew Mamohin
Normal user
Posts: 95
Joined: 12 Jun 2020, 08:30
Location: Belarus, Gomel
Contact:

Re: AHT10 Sensor

#11 Post by Andrew Mamohin » 18 Jan 2021, 08:07

ice77 wrote: 18 Jan 2021, 07:35 How can i get them running?
I use AHT10 sensors in my arduino projects.
But, I would also like EspEasy to support them.
Andy.

User avatar
Ath
Normal user
Posts: 3494
Joined: 10 Jun 2018, 12:06
Location: NL

Re: AHT10 Sensor

#12 Post by Ath » 18 Jan 2021, 08:13

ice77 wrote: 18 Jan 2021, 07:35 How can i get them running? ESP easy has no support for this sensor and tasmota failed.
ESP home is too complicated to create the configuration in the jaml file
You could clone the ESPEasy repo to your own github account and create a new plugin for this device (there is a template and dozens of I2C plugins as examples available) to PR into ESPEasy. Good starting point would be the Adafruit AHTX0 library.
But if you think the ESP Home yaml config is too complex, not sure if you want to start this challenge, as it is way more complex than some yaml configration...
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 82 guests