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?
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com Alibaba Store: https://kincony.en.alibaba.com/
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.
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com Alibaba Store: https://kincony.en.alibaba.com/
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.
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://shop.kincony.com Alibaba Store: https://kincony.en.alibaba.com/ |
|
« Next Oldest | Next Newest »
|
| Users browsing this thread: |
| 1 Guest(s) |