Room / Area humidity and temporature sensor?

What’s a good room/area environment sensor that will connect well with HA?

I’m US based. I’m looking for something I can put in our different rooms, including our patio outside.

The Xiaomi Temp/Humidity sensors work very well for me. They are also pretty cheap.

1 Like

I got Xiaomi aqara as well, but I’ve connected them through deconz

I’ve heard good things about this brand, but haven’t used them:

I personally have two of these that I’m using with SmartThings:

Deconz here as well :slight_smile:

I use them with zigbee2mqtt.

Shelly H&T? Wifi, integration, year’s battery life.

I use Wireless Tags. Here’s the HA Integration Page: HA Wireless Tags.

I’m created my own rest integration as I have multiple locations with multiple accounts and couldn’t manage those with the HA Integration.

They work well. The only downside it they are cloud based so if you lose internet, you can’t access them.

A lot of good info, thanks guys.

@Markus99 - Inovelli is a good brand. I am familar with them, just hadn’t done their route due a few stoppers here and there. But I do keep them in mind on occasion.

@Troon How do they hook into HA? I don’t see an integration for them. Or am I seeing this right, they support MQTT? Now THAT would be perfect (I was actually hoping for an MQTT option). Although, UK based is a downer. Hmm. How is the shipping to the US?


I use Wireless Tags . Here’s the HA Integration Page: HA Wireless Tags .

Love that idea, but yeah, don’t like:

The only downside it they are cloud based

@kurtj Integration with deconz? That’s a hardware doggle that integrates with HA? I do have a Aeotec Z-Stick, but I hadn’t actually leveraged any z-wave devices, yet…

What’s the update rate like on the Shelly H&T?

Could you post a screenshot of the history graph?

  • I don’t own one, but I have a 1PM so have experience with Shelly’s API.
  • Italian, not UK. There is a US shop.
  • Manual is here: cleverly, the device sends updates when the temperature or humidity changes by a certain amount, rather than using power to run the wifi to tell you nothing’s changed just because 30s has passed.
  • Yes, MQTT is supported and a great way to use Shelly devices. Disables the cloud connection, too: what’s not to like? :slight_smile:

As francisp, I use my Xiaomi temperature/pressure/humidity devices (LLKZMK11LM) with zigbee2mqtt.
I have one in pretty much every room and two outside the house and they have been working reliably, some for over a year now.
zigbee2mqtt allows you to also monitor the battery and the link quality to fine tune its location.

The Aeotec stick is for Z-Wave not ZigBee.
Personally I use the ConBee 2 USB stick to connect zigbee devices to HA. Deconz is the software part.


I’ve recently converted three of my Sonoff S20s using this approach: Adding temperature / humidity sensor to Sonoff S20 socket

Requires some DIY work, but it makes a lot of sense if you already have the S20s.

Thanks @Cee btw!

Can’t really comment on Zwave vs Zigbee, I never tried Zwave. I started out with a Philips Hue bridge, then migrated to Conbee/Deconz cause all bulbs were already Zigbee, and Deconz has better compatibility then Philips imho.

I have built some sensors myself using ESPHome, one with a DHT22, and one bluetooth over the ESP32. Both still work great but can’t really leave these all over the house…

The bluetooth one as one advantage I could not find in Zigbee, comes with a nice lcd display (Xiaomi Mijia bluetooth Temperature Humidity Sensor) Still looking for one like this that works with Zigbee though!

My house is full of esp8266 based multi sensors. I’m using a dht22 along with a pir motion and a lux sensor shoehorned into little project boxes and screwed to the ceiling. They are discrete, report almost instantly, and it was fun as hell putting them all together. ESPHome is also one of the coolest pieces of software I’ve ever played with. I just love it so much!

I have a few pir sensors that came in just to play with, planned to use them with a esp32cam. Agreed, it’s a really cool platform to play with!

Did you 3d print the enclosures yourself? If not what did you use?

Sorry if we’re hijacking this thread btw…

Got mine from Amazon. They were available in a five pack for like $11 but now all they have are 2 packs for $8. Still worth it. They are only available in black so I primed and painted them. All in I’m at like $15 a sensor. The esp’s were causing the motions to go crazy and throw constant false positives, but dropping the wifi signal strength to 10db got rid of all of them.

Unfortunately, there is still no amazon in Belgium, and even when looking in amazon FR & DE not much luck. It seems we’re still a developing nation :rofl:

Thanks for the info though, and still interested in the setup/code you’ve used if your’re sharing!

Best regards!

Ahhh, well aliexpress has tons of these little vented boxes, so i’m sure you can find something!

Basic shopping list for a simple multi sensor:

Wire it up and cram it all in your box, flash with esphome, then OTA the final esphome program. My basic code is shown below. Key points: I needed to drop the esp radio output power to keep the motion sensors from blowing up with false positives. I also have the motion on D0 and am pulling it down in an attempt to stop the false positives. I’m now thinking this is not needed though. I’m also averaging values to normalize the output. And i found i needed to calibrate my DHT’s to get accurate temp readings.

Hope this helps!

  name: esphome_multi_sensor_$devicename
  platform: ESP8266
  board: nodemcuv2
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  output_power: 10dB

  # Enable fallback hotspot (captive portal) in case wifi connection fails
    ssid: "ESPHome Hotspot"
    password: "OC8g3Q4915g8"


# Enable I2C bus for light sensor

# Enable logging

# Enable Home Assistant API
  password: !secret wifi_password

  password: !secret wifi_password
# Binary Sensors

  - platform: status
    name: ESPHome - $friendlyname Sensor Status
  - platform: gpio
      number: D0
      mode: INPUT_PULLDOWN_16
    name: ESPHome - $friendlyname Motion
    device_class: motion
        - light.turn_on: module_led
        - delay: 2s
        - light.turn_off: module_led
      - delayed_off: 15s
      - delayed_on: 30ms

# Sensors
  - platform: wifi_signal
    name: ESPHome - $friendlyname Sensor WiFi Signal
    update_interval: 120s

  - platform: uptime
    name: ESPHome - $friendlyname Sensor Uptime
      - lambda: return x / 3600;
    unit_of_measurement: "h"

  - platform: bh1750
    name: ESPHome - $friendlyname Illuminance
    update_interval: 60s
    resolution: 1.0
      - median:
          window_size: 5
          send_every: 5
          send_first_at: 2
  - platform: dht
    model: DHT22
    pin: D6
    update_interval: 60s
      name: ESPHome - $friendlyname Temperature
        - median:
            window_size: 5
            send_every: 5
            send_first_at: 2
        - calibrate_linear:
          - 0.0 -> 0.0
          - 25.5 -> 24.4
      name: ESPHome - $friendlyname Humidity
        - median:
            window_size: 5
            send_every: 5
            send_first_at: 2
# Switches
  - platform: restart
    name: ESPHome - $friendlyname Sensor Restart

  - platform: monochromatic
    name: ESPHome - $friendlyname Sensor Status LED
    output: pin_D4
    id: module_led
    default_transition_length: 0ms
    internal: True

  - platform: esp8266_pwm
    id: pin_D4
    pin: D4
    inverted: true