-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add I2C Sensor (Asair) AHT10 / AHT15 (Temperatur/Humidity) #7596
Comments
Hi, |
Hi device111 I do not see a light way to compile your fork. |
Hi ludwich, |
Cool! ok, i have looked in the datasheet. The AHT series have no CHIP-ID. So there is no difference between the two Chips. I can call it AHT10/15. I will change the repo and send you a new Version. |
Hi ludwich, sounds good. No, at the moment is only working with one sensor Address. (0x38). If the libary works good, i will try to implemented both Adresses in the libary with autosearch. You can send me an Email, to perform more tests an we don't spam this thread: device@gmx.at |
Here is the first try to autosearch and poll both sensors with 0x38 and 0x39. if no Display of sensors on the website, give me the console log from startup. |
ok, formula for humidity is ok. I think there is the senor itself. It's a verry cheap sensor and has no calibration table to use. i dont' no what this happens but in the original repo from Thinary its the same and i found no Infos about the calibration Bit in the Datasheet. |
Add initial support for Sensors AHT10 and AHT15 by Martin Wagner (#7596)
Issue finished with #7797 |
testing a AHT10 sensor on a Sonoff Basic. it replaced a BME280. loadAvg has gone up from 20 to 27-30. just letting you know. olso, any chance for better resolution? |
there is nothing optimized in this initial Source but you can not compare the BME280 with this cheap china sensor. This Sensor has answer time over 75ms and the documentaion is not realy complete. |
After trying the precompiled binary from @device111 i´ve tried now to compile it my self. Source changes: {"StatusFWR":{"Version":"8.1.0.11(tasmota)","BuildDateTime":"2020-03-15T18:36:47","Boot":31,"Core":"2_5_2","SDK":"2.2.1(cfd48f3)","Hardware":"ESP8266EX","CR":"334/699"}} {"StatusSNS":{"Time":"2020-03-15T18:44:25","AHT1x":{"Temperature":21.0,"Humidity":29.0},"TempUnit":"C"}} |
Do you have other I2C Sensors wired or only AHT10? |
Only one AHT10 on D2 = SDA and D1 = SCL |
ok, try to change the delay(80); to delay(100); in |
seems to have other problems, neither with delay(80) nor delay(100) none of my 5 AHT10´s works now with the Wemos (not in parallel, one at a time, while a BME280 for comparison works directly) Also tried https://github.com/enjoyneering/AHT10/tree/master/examples/AHT10_Any_MCU_Serial |
Try the new code in the dev. Version. and update your Core Version to a newer one, {"StatusFWR":{"Version":"8.1.0.11(tasmota)","BuildDateTime":"2020-03-15T18:36:47","Boot":31,"Core":"2_5_2","SDK":"2.2.1(cfd48f3)","Hardware":"ESP8266EX","CR":"334/699"}} |
Now it works :-) 12:02:27 MQT: stat/aht10_C88C20/STATUS = {"Status":{"Module":18,"FriendlyName":["aht10"],"Topic":"aht10_C88C20","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} I´ve updated the Core to 2.6.3 and used the new 8.2.0 tasmota. It works prety smoth with all of my sensors. |
you can share the tasmota compilation with other users???thanks! |
@alexandru2052 Hi, have created a binary https://github.com/crashdown79/tasmota-aht10
It´s based on the today actual 9.5.0.1 compiled with Core 2.7.4+9
It´s a standard tasmota with activated AHT10 and MAX44009
|
@crashdown79 Tried almost everything using your binary, but still unable to make AHT10 work. Can you help me locate the problem. I'm using wemos D1 mini. |
@Tiny2910 what does your setup look like? I´d described it in more details some time ago: https://crashdown.de/2020/05/01/wemos-d1-mini-on-tasmota-with-aht10-sensor/ |
for the interested, i´ve updated to new tasmota 14.1.0.3 with active AHT10 |
Have you looked for this feature in other issues and in the docs?
Yes
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
No
Describe the solution you'd like
A clear and concise description of what you want to happen.
Add a new I2C Temp/Humidity Sensor equal to BMP280
Library on Github
Datasheet
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
find on Github link
(Please, remember to close the issue when the problem has been addressed)
The text was updated successfully, but these errors were encountered: