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 ?

  • limelight79@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      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
        link
        fedilink
        English
        arrow-up
        2
        ·
        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.

  • wintersummerland@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    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…