ffenix113 / zigbee_home

Project to provide functionality similar to ESPHome but for Zigbee instead of WiFi for nRF52
https://ffenix113.github.io/zigbee_home/
GNU General Public License v3.0
528 stars 10 forks source link

Add DHT sensor #54

Closed bbadrignans closed 6 months ago

bbadrignans commented 6 months ago

This PR add support for DHT sensors from Aosong. Tested with a AM2302 and nRF52840 Dongle .

I'm new to go, so there is ugly code in sensor/aosong/dht.go (see FIXME in the code) :

ffenix113 commented 6 months ago

Hello @bbadrignans ,

Thank you for the PR, it looks great! And thank you for adding example as well.

A couple of points to improve, and it will be merged.

bbadrignans commented 6 months ago

Please check the last open comment, and maybe you can merge.