Skip to content
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

DHT22 implementation #45

Open
tkris opened this issue Jan 21, 2020 · 2 comments
Open

DHT22 implementation #45

tkris opened this issue Jan 21, 2020 · 2 comments

Comments

@tkris
Copy link

tkris commented Jan 21, 2020

Hi,

thank you for all your hard work with this application. Currently I´m using two Esp32 per room in my house.
One is running your software and the second one is running Micropython with a DHT22 temp/humidity sensor on the board.
With Micropython it wasn´t too hard to get the DHT22 to work, but I´m a beginner and have no idea how to extend/modify your sourcecode.

Would it be possible for you to extend your application to support the DHT22 sensor and publish the readings on two MQTT topics (for example .. /sensors/temp and /sensors/hum). If you don´t have an DHT22 for testing i would even provide for that.

Greetings
Kris

@Floyddotnet
Copy link
Contributor

hi tkris,

buddebej already implement this: take a look at this commit: buddebej@b645fb4 (Add support for dht22)

if you are a bit familiar with programming in general, you should find it easy to apply these changes.

apart from this, i recently start a new downstream project (based of this project) this supports xiaomi mijia temperature and humidity sensor, DHT22 sensors, and act as a 433 MHz gateway for RF temperature and humidity sensor, RF smoke detectors and RF window open detectors.

this project is currently in a early state and i this i can release a first version between Q3 and Q4.

@tkris tkris closed this as completed Jan 21, 2020
@tkris tkris reopened this Jan 21, 2020
@tkris
Copy link
Author

tkris commented Jan 21, 2020

Thank you for your reply,

Good to know that someone already implemented the support for the dht22.
Unfortunately i even don´t know how to work with the source-code an how to compile it.
I used the compiled *.bin Files to get the software up and running.

btw your project sounds very promising. Would be great to try it when it´s ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants