4

I have a home assistant running on a pi 3b+.

I want to add Dht11 sensor to it but do not have ESP devices.

Can I directly plug the sensor on pi gpio and read data from there or I have an arduino which would take data from Dht11, put that in serial which would be sent to pi via USB. Then how to integrate that data into homeasssistant ?

top 5 comments
sorted by: hot top controversial new old
[-] limelight79@lemm.ee 1 points 1 year ago

Yes. There is an add-on in HACS that will allow it.

It used to be built in, but they removed it some years ago. The HACS add on replaced it. Link

[-] xdr@lemmynsfw.com 1 points 1 year ago

Is dht11 supported in the binary sensor? I installed the hacs and the addon but did not connect it yet.

[-] limelight79@lemm.ee 2 points 1 year ago

It's not a binary sensor, but it is supported to report temperature and humidity, unless I'm misunderstanding what you're asking.

[-] SteveTech@programming.dev 1 points 1 year ago

Here's the actual HACS add-on: https://github.com/richardzone/homeassistant-dht

The one linked before looks to just be a GPIO one, not a DHT one.

[-] wintersummerland@discuss.tchncs.de 1 points 1 year ago* (last edited 1 year ago)

If you want / need to go without hacs, you can use python to read data from the pi pins and get them into Home Assistant via mqtt This also allows for remote dht sensors with other pis / pi zero W..

this post was submitted on 09 Nov 2023
4 points (100.0% liked)

homeassistant

11998 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS