Smart Home Automation Forum

Full Version: AM2301
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi I wanted to add the AM2301 temperature and humidity sensor.

Is there an example of the code to add this type of sensor?
use by home assistant?
Sorry should of said.  Yes EspHome on home assistant. 

Thanks
you can see here: https://esphome.io/components/sensor/dht.html
just use DHT sensor code.
Great got it working, Thanks
I had to work out what pin to connect it to found that the S1- S4 
GPIO14 1-Wire GPIO
GPIO13 1-Wire GPIO
GPIO32 1-Wire GPIO
GPIO33 1-Wire GPIO
ok, good.