Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AM2301
#1
Hi I wanted to add the AM2301 temperature and humidity sensor.

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

Thanks
Reply
#4
you can see here: https://esphome.io/components/sensor/dht.html
just use DHT sensor code.
Reply
#5
Thumbs Up 
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
Reply
#6
ok, good.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)