The best Wi-Fi temperature and humidity sensors for Home Assistant

Disclosure: This post contains affiliate links. If you click through and make a purchase, I will earn a commission, at no additional cost to you. Read my full disclosure here.

Wi-Fi temperature and humidity sensors have the advantage of not requiring a hub, as is the case with Zigbee and Z-Wave, or an ESP32, as seen with the Bluetooth sensors from Xiaomi. Instead, they connect directly to your access point and can either be configured using a built-in web server, or more likely using an app. Even though there aren't many models available, I have done some research a put together a list of the best Wi-Fi temperature and humidity sensors that integrate with Home Assistant.

  • Sonoff TH16: Temperature and humidity monitoring add-on
  • Qingping Air Monitor Lite: Limited battery life
  • Awair Glow C: Temperature and humidity monitoring, plus nightlight and smart switch
  • Wi-Fi humidity and temperature sensors built using ESPHome
  • Shelly H&T: Battery or cable, you decide

    If you don’t want or a have a Zigbee hub and keep all your sensors connected via Wi-Fi, the Shelly H&T might be for you. The Shelly H&T is considerably bigger than the Aqara Temperature and Humidity Sensor because Wi-Fi is a lot more power-hungry than Zigbee, and thus it requires a larger battery. On battery, the Shelly H&T will last about 16 months, but it can also be powered with a USB power supply, making it more flexible than other sensors. Unfortunately, the USB port is not USB-C, but Micro-USB.

    Shelly H&T Humidity and Temperature (2 Pack)
    • Can be connected to a Wi-Fi network, without the need of any additional controller.
    • Uses a CR123A battery, with a life of up to 16 months.
    • Can be powered from the mains using its Micro-USB port.

    Personally, I don’t like the design of this sensor. Wi-Fi needs more power in comparison to Zigbee and BLE, so there's no way the Shelly H&T could run for an extended period on a single coin-cell battery. It looks big and bulky in comparison to the Aqara sensors I use. Those can be hidden away on a bathroom cabinet or stuck to the wall. The Shelly H&T will take some skill to hide.

    All things considered, the Shelly H&T is the best Wi-Fi temperature and humidity sensor for Home Assistant. It can be battery-powered for over a year, it connects locally, and doesn't require a hub. It is also the way to go if you are seeking continuous updates from the sensor. When connect to the mains, the Shelly H&T doesn't require any power-saving.

    Sonoff TH16: Temperature and humidity monitoring add-on

    While it strictly isn't just a temperature and humidity sensor, the TH16 from Sonoff is a smart switch, to which a sensor can be attached. It comes with either a Si7021 sensor, which can precisely measure ambient temperature (±0.4 °C) and humidity (±3% RH).

    The second version has a waterproof DS18B20 temperature sensor. The easiest way to integrate these switches and their sensors with Home Assistant is by using the SonoffLAN custom component.

    Qingping Air Monitor Lite: Limited battery life

    The Qingping Air Monitor Lite not only monitors the temperature and humidity of a room, but also CO2, PM2.5, and PM10 particles. The price reflects those features, so I wouldn't put this device anywhere near the top of the best Wi-Fi temperature and humidity sensors for Home Assistant, but it does deserve a mention. Partially because it is one of the best-looking temperature and humidity monitors.

    Qingping Air Monitor Lite
    • Monitors PM2.5, PM10, CO2, temperature, and humidity.
    • Uses a PlanTower laser-scattering particle sensor, a SenseAir CO2 sensor, and a Sensirion temperature and humidity sensor.
    • Has a clear OLED screen, enabling a wider visible angle. Through the multicoloured indicator, you will know the air quality, the temperature, and the humidity level, with a glance from a distance.
    • You can tap or slide the touch bar on the top to switch the readings as smoothly as to operate a touch screen.

    While the Qingping Air Monitor Lite does include a battery, making it one of the few Wi-Fi temperature and humidity sensors that does, it will only last for seven hours. Even though the battery has a capacity of 2000 mAh (that's only slightly lower than the iPhone 12 mini), the sensors and connection will burn through it quickly.

    I could see this sensor being useful for those working from home. You could plug it in overnight and monitor the air quality, temperature, and humidity while you sleep, and in the morning, place it on your desk. The CO2, PM2.5, and PM10 readings will give you an extra insight as to when your window should be opened.

    To integrate the Qingping Air Monitor Lite with Home Assistant, the HomeKit Controller can be utilized. Sadly, you will need an iOS device to complete the setup, as can be seen in this guide. Alternatively, the Xiaomi MIoT custom component can be installed using HACS, and the Qingping Air Monitor Lite integrated using this configuration shared in the Home Assistant Community.

    Awair Glow C: Temperature and humidity monitoring, plus nightlight and smart switch

    The Awair Element is similar to the Sonoff TH16 in that it is both a temperature and humidity monitor and also a smart switch. The Glow C does, however, have a few additional features: In addition to temperature and humidity, it can also monitor airborne toxic chemicals (VOCs), and it has a built-in smart light.

    Awair Element Indoor Air Quality Monitor
    • Track airborne toxic chemicals (VOCs), humidity, and temperature levels in your space.
    • Choose from hundreds of light colours and customize your device settings to use Glow C as a smart night light.

    Inside the Awair Element, there are a pair of Sensirion sensors, which are known for their high accuracy. Unfortunately, the integration with Home Assistant relies on cloud polling, making it reliant on an internet connection and slower than any local integration.

    Wi-Fi humidity and temperature sensors built using ESPHome

    If the sensors listed above don't fit your requirements, you have the option of building your sensors. As it will be built to spec, it will obviously be the best Wi-Fi temperature and humidity sensor for your Home Assistant. Simply grab yourself an affordable ESP8266 or ESP32 board and a BME260 temperature sensor, wire them up, and write the firmware. You can write the code for such a custom sensor in no time thanks to ESPHome.

    Building your sensors can be a fun project and is certainly more rewarding than just opening a cardboard box and pushing a button to get the sensor connected. Just keep in mind that ESPHome isn’t best suited for battery-powered devices, and it might take some tinkering to get things working perfectly. Examples of makers building battery-powered sensors are to be found, which might inspire you.

    A DIY temperature and humidity sensor powered by ESPHome will more than likely have to be powered from the wall. On the bright side, this does allow for continuous recording. And because you are using ESPHome, you aren’t restricted to just using one sensor. You could also hook up more sensors, attach some LEDs, or use it for presence detection.

    If you do want to go down the DIY route, I have an article on why the BME280 is currently the best temperature and humidity breakout module for your DIY electronics projects. Whatever you do, do not cheap out and go for the DHT11 or DHT22. I promise, you will regret it. You can also get yourself a BME680 if you want to be able to measure air quality too.

    A portrait photo oif Liam Alexander Colman, the author, creator, and owner of Home Assistant Guide wearing a suit.

    About Liam Alexander Colman

    is an experienced Home Assistant user who has been utilizing the platform for a variety of projects over an extended period. His journey began with a Raspberry Pi, which quickly grew to three Raspberry Pis and eventually a full-fledged server. Liam's current operating system of choice is Unraid, with Home Assistant comfortably running in a Docker container.
    With a deep understanding of the intricacies of Home Assistant, Liam has an impressive setup, consisting of various Zigbee devices, and seamless integrations with existing products such as his Android TV box. For those interested in learning more about Liam's experience with Home Assistant, he shares his insights on how he first started using the platform and his subsequent journey.


    1. This is the type of reviewing and recommendation write-up we need more of. Less marketing and more honest experience focusing on function and value.

    2. Shelly H&T is the worst H&T out there. I’ve got 4 of them in my house and they are just atrocious. I was looking up for a way to flash them with ESPHome but apparently Alterco refuses to share the GPIO pinouts.

      My gripe:
      – The physical design is bad, I’ve got 2 running on battery & 2 on USB cable. With the USB hat connection you need to glue the H&T against something because the moment it gently twists the positive and negatives untwist from the cap and therefore loses power. Every 3-5 days or so I have to go and physically twist the caps on properly that it makes a connection again and comes back to life. The two miniature plastic “clips” to keep the two separate pieces in place are useless.
      – The existing Shelly app is horrible
      – The only real way to keep them “stable” to some degree is to:
      1) configure a static IP on the device itself (like with all other shelly models)
      2) DHCP reserve the IP on your router.

      After I’ve bought them I started to build my own H&T sensors making use of ESP32 Dev Kit V4.1 and integrating it into ESPHOME with HASS. It works out more than 50% cheaper and stable from the bat off.

      • i totally agree with you my friend. I have three. It’s garbage. I have made my own with esp32/esphome and it works much better.

    3. “” It is also the way to go if you are seeking continuous updates from the sensor. When connect to the mains, the Shelly H&T doesn’t require any power-saving””
      How did you reach to this conclusion. What I see in the Shelly H&T manual is that the most frequent it can get is 1 temperature update per hour.

        • You are right, it’s Shelly’s problem in the manual.
          With the sensor connected to AC power, it can go down to one update per 10min, which I think is enough for using it with a generic thermostat in Home Assistant.


    Leave a comment

    Share to...