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

homeassistant

15139 readers
39 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.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS
 

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 2 years ago (1 children)

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 2 years ago (2 children)

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 2 years 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 2 years 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 2 years ago* (last edited 2 years 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..