03-06-2024, 03:07 AM
Hi I wanted to add the AM2301 temperature and humidity sensor.
Is there an example of the code to add this type of sensor?
Is there an example of the code to add this type of sensor?
AM2301
|
03-06-2024, 03:07 AM
Hi I wanted to add the AM2301 temperature and humidity sensor.
Is there an example of the code to add this type of sensor?
03-06-2024, 04:30 AM
use by home assistant?
03-06-2024, 05:04 AM
Sorry should of said. Yes EspHome on home assistant.
Thanks
03-06-2024, 06:36 AM
you can see here: https://esphome.io/components/sensor/dht.html
just use DHT sensor code.
03-06-2024, 09:27 AM
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
03-06-2024, 11:34 AM
ok, good.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: |
1 Guest(s) |