Component guide · Beginner · 3 min read
Wi-Fi and Zigbee Smart Temperature Humidity Sensors

Sonoff SNZB-02D, AVATTO, Tuya, TP-Link Tapo T310)
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Smart temperature and humidity sensors run on batteries and send readings to a phone app or Home Assistant. Zigbee models such as the Sonoff SNZB-02D and AVATTO ZWHS16 need a Zigbee hub or USB dongle but last a year on a coin cell. Wi-Fi models such as Tuya WSD400H and AVATTO WHS20 connect straight to your router. The Tapo T310 pairs with a Tapo hub.
Key specs at a glance
- Radio
- Zigbee 3.0, Wi-Fi 2.4 GHz or Tapo sub-GHz by model
- Power
- Coin cell or AAA batteries
- Battery life
- About 1 year (Zigbee), months (Wi-Fi)
- Display
- LCD on SNZB-02D, WSD400H, amiciSense, T310
- Accuracy
- About plus or minus 0.3 to 0.5 degrees C, 3% RH
- Apps
- eWeLink, Smart Life / Tuya, Tapo; Home Assistant
This part is often wired to 230 V mains. Do all wiring with the plug pulled out, keep mains wires inside a closed box with strain relief, add a fuse, and never touch the board while it is plugged in. If you are new to mains wiring, have an electrician check it before you switch on.
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Sonoff SNZB-02D Zigbee LCD Smart Temperature Humidity Sensor without battery₹1,829
Option 2AVATTO ZWHS16 Temperature Humidity Sensor Monitor – Zigbee 3.0 Smart Home₹1,759
Option 3AVATTO WHS20 Wi-Fi Humidity Temperature Sensor₹1,451
Option 4PST WSD400H Tuya Smart WiFi Temperature Humidity Sensor with LCD Display – 2.4GHz WiFi, ABS Housing₹1,179
Option 5amiciSense WiFi Temperature Humidity Sensor with LCD Display – SmartLife App Compatible₹1,919
Option 6TP-Link Tapo T310 Smart Temperature & Humidity Sensor – Swiss Sensor, 2s Updates, App & Hub Automation₹1,299
What the Wi-Fi and Zigbee smart temperature humidity sensors is
Wi-Fi and Zigbee temperature and humidity sensors are battery-powered smart sensors with displays or app-only readings, used for rooms, nurseries, greenhouses and automations.
Zigbee sensors pair with any Zigbee 3.0 coordinator: the Sonoff dongle with Home Assistant ZHA or Zigbee2MQTT works for Sonoff, AVATTO and Tuya Zigbee models.
Wi-Fi sensors sleep between reports to save battery, so updates can be several minutes apart.
Wi-Fi and Zigbee smart temperature humidity sensors pinout
The pins on the Wi-Fi and Zigbee smart temperature humidity sensors and what each one does.
| Pin | Function |
|---|---|
| Pair button | Hold about 5 s to pair |
| Battery | CR2032 / CR2450 / AAA by model |
- Pair button
- Hold about 5 s to pair
- Battery
- CR2032 / CR2450 / AAA by model
Wiring the Wi-Fi and Zigbee smart temperature humidity sensors
Connect the Wi-Fi and Zigbee smart temperature humidity sensors like this.
| Wi-Fi and Zigbee smart temperature humidity sensors pin | Zigbee models | Wi-Fi models |
|---|---|---|
| Hub | Zigbee dongle or hub | Home Wi-Fi 2.4 GHz |
| App | Home Assistant ZHA / Zigbee2MQTT | Smart Life / Tuya app |
| Automation | Turn on a fan above 30 degrees C | Same |
- Hub
- Zigbee models:
- Zigbee dongle or hub
- Wi-Fi models:
- Home Wi-Fi 2.4 GHz
- App
- Zigbee models:
- Home Assistant ZHA / Zigbee2MQTT
- Wi-Fi models:
- Smart Life / Tuya app
- Automation
- Zigbee models:
- Turn on a fan above 30 degrees C
- Wi-Fi models:
- Same
Example code
A minimal sketch to check the part works.
1. Plug the Zigbee dongle into the Home Assistant machine and add the ZHA integration.
2. Settings > Devices > ZHA > Add device.
3. Hold the sensor's pair button about 5 s until the icon flashes.
4. The sensor appears with temperature, humidity and battery entities.
5. Create an automation: when temperature above 30 C, turn on the fan switch.Setup and tuning
Wi-Fi versions pair with the app on 2.4 GHz; Zigbee versions need a hub or Zigbee dongle.
Zigbee sensors last much longer on coin cells than Wi-Fi ones.
keep away from windows, heaters and direct sun.
trigger fans, humidifiers or AC in the app or Home Assistant.
set offsets in the app if readings differ from a reference.
What you need
Shop this list8 of 8 found in our store · ₹12,711
Sonoff SNZB-02D Zigbee LCD Smart Temperature Humidity Sensor without battery: the part this guide coversSonoff SNZB-02D Zigbee LCD Smart Temperature Humidity Sensor without battery₹1,829
AVATTO ZWHS16 Temperature Humidity Sensor Monitor – Zigbee 3.0 Smart Home: another version this guide coversAVATTO ZWHS16 Temperature Humidity Sensor Monitor – Zigbee 3.0 Smart Home₹1,759
AVATTO WHS20 Wi-Fi Humidity Temperature Sensor: another version this guide coversAVATTO WHS20 Wi-Fi Humidity Temperature Sensor₹1,451
PST WSD400H Tuya Smart WiFi Temperature Humidity Sensor with LCD Display – 2.4GHz WiFi, ABS Housing: another version this guide coversPST WSD400H Tuya Smart WiFi Temperature Humidity Sensor with LCD Display – 2.4GHz WiFi, ABS Housing₹1,179
amiciSense WiFi Temperature Humidity Sensor with LCD Display – SmartLife App Compatible: another version this guide coversamiciSense WiFi Temperature Humidity Sensor with LCD Display – SmartLife App Compatible₹1,919
TP-Link Tapo T310 Smart Temperature & Humidity Sensor – Swiss Sensor, 2s Updates, App & Hub Automation: another version this guide coversTP-Link Tapo T310 Smart Temperature & Humidity Sensor – Swiss Sensor, 2s Updates, App & Hub Automation₹1,299
Sonoff ZBDongle-E Zigbee 3.0 USB dongle: a Zigbee coordinator for Home AssistantSonoff ZBDongle-E Zigbee 3.0 USB Dongle Plus₹3,041Closest match, check the specs
ESP8266 NodeMCU CP2102 board: a low-cost Wi-Fi boardESP8266 NodeMCU CP2102 Wi-Fi Development Board₹234
Alternatives and when to choose them
- Sonoff TH switch: switches a load from the reading.
- MQTT and Home Assistant: DIY sensors.
- BLE and LoRaWAN loggers: long range and cold chain.
Common mistakes to avoid
- Placing in direct sun.
- No Zigbee hub.
- Ignoring low battery alerts.
- Far from the hub.
Frequently asked questions
Should I choose Wi-Fi or Zigbee sensors?
Zigbee lasts longer on batteries; Wi-Fi needs no hub.
Why does my sensor go offline?
The signal to the hub is weak or the battery is low.
Can I use them in Home Assistant?
Yes. Zigbee models pair with ZHA or Zigbee2MQTT in Home Assistant.
Why does it read differently from another thermometer?
Small differences between sensors are normal; set an offset in the app.
How long do batteries last?
Months to a year or more for Zigbee models.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.
