logo elektroda
logo elektroda
X
logo elektroda

Which battery-operated temperature and humidity sensor for HA? Zigbee TH08Z-B, comparison to Wi-Fi v

p.kaczmarek2 1299 9
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • Zigbee temperature and humidity sensor packaging with function icons
    The subject of the TH08 sensor, based on the CHT8310 chip and offering Wi-Fi connectivity, has already been raised many times in our forum. Its integration with the Home Assistant proved possible, albeit quite challenging. This time I will show its Zigbee variant, whose pairing with HA is much simpler. We will also take the opportunity to look inside both devices to see how they differ.

    Let's start with the question of pricing. The Zigbee version can be bought in our country for around £40, while the Wi-Fi version is slightly cheaper, costing £20 to £30. Here one might be tempted to say that why would you need one Zigbee sensor when you can have two Wi-Fi ones for the same price? but I recommend caution. Indeed Wi-Fi is cheaper, but it is also more difficult to convert so that it works without the cloud:
    [BK7231N/CBU] Tuya TH08 Generic Wi-Fi Temperature & Humidity Sensor [CHT8310]
    So let's see what we get in the kit. In addition to the sensor, it includes instructions and a strip of double-sided tape.
    Instruction manual and black Zigbee temperature and humidity sensor on white background Zigbee sensor setup instructions shown with app screenshots and pairing steps
    The sensor itself requires two AAA batteries:
    Open TH08 sensor casing with compartment for two AAA batteries visible

    Pairing with HA
    Normally this sensor works with Tuya, but here I will run it with Home Assistant:
    Home Assistant tutorial - setup, Wi-Fi, MQTT, Zigbee, Tasmota
    You will need a Zigbee transceiver - I used a CC2531:
    Zigbee CC2531 transceiver with blue USB case and black antenna
    On the HA side, I use Zigbee2MQTT. I simply allow pairing and press a button on the device as instructed:
    Zigbee device pairing process with Home Assistant shown on screen
    HA correctly detects the device as TS0201 (TH02Z):
    Zigbee TS0201 sensor pairing screen in Home Assistant UI
    Variables provided include battery level (in %), battery voltage (V), temperature and humidity.
    TH08 sensor data list: battery, temperature, humidity, voltage, signal quality
    Interestingly, here we also have control over temperature and humidity calibration. The 'precision' option allows you to specify the number of digits after the dot, it will not improve the actual precision of the reading.
    Calibration and precision settings for Zigbee temperature and humidity sensor
    That's basically it - the device is ready for operation as soon as it is paired.

    Compare the Zigbee version with the Wi-Fi version
    Let's compare the construction TH08 with the device from the subject:
    Wi-Fi TH08 sensor PCB with CBU module and labeled TX2, RX2 pins Zigbee sensor PCB with ZTU module and labeled electronic components
    The version with Wi-Fi is based on the CBU module (BK7231N). In addition it has a coil circuit that looks like an inverter to me. Presumably the Wi-Fi module doesn't want to work very well on low voltages, so the inverter makes sure there's that 3.3V and not less - without it, the voltage drops as the battery discharges.
    The Zigbee version is based on the ZTU module. Both modules have compatible leads and the boards look similar, although here there is no inverter. The Zigbee-based circuit is simpler and therefore more efficient.
    According to Tuya's specifications, the CBU operates at voltages from 3.0 to 3.6V, while the ZTU can operate as high as 1.8V to 3.6V (although a voltage higher than 2.8V is recommended). This also explains the differences in construction.
    Close-up of the TH08 sensor PCB with labeled components and visible solder joints Zigbee ZTU module on a sensor board, with visible electronic components and QR code. Zigbee ZTU module on a PCB with labels and soldered connectors Close-up of Zigbee sensor PCB with labeled components and visible soldering points. Close-up of Zigbee sensor PCB with labeled components and visible soldering points.
    The sensor itself appears to be the same model in both devices.

    Summary
    There is a reason why Zigbee has a reputation for being a more energy efficient protocol - this is evident even from the design of this device. Additionally, pairing Zigbee with a system running 100% locally is much simpler than with Wi-Fi. You don't even need to change the firmware.
    I believe that the solution shown in the context of battery-powered sensors is much better and also simpler than Wi-Fi. It is rather worth paying more and getting the result faster.
    And what do you think? Do you use sensors on Zigbee? Or do you prefer Wi-Fi and in this context?

    Cool? Ranking DIY
    Helpful post? Buy me a coffee.
    About Author
    p.kaczmarek2
    Moderator Smart Home
    Offline 
    p.kaczmarek2 wrote 13380 posts with rating 11207, helped 616 times. Been with us since 2014 year.
  • ADVERTISEMENT
  • #2 21725046
    divadiow
    Level 36  
    I have played with quite a few wifi 2xAA battery devices and they are indeed a fiddly pain sometimes, especially if they have TuyaMCU. The general feeling from user posts I think is that battery life, even with powersave and deep sleep, is a concern with wifi variants - depending on the frequency of wake-up for check-in of course.

    Added after 12 [minutes]:

    do these things have a log out like CBU? Can the firmware be read to file?
  • ADVERTISEMENT
  • #3 21725071
    p.kaczmarek2
    Moderator Smart Home
    ZTU pinout:
    ZTU module pinout diagram showing GPIO labels and signal lines.
    15B1I/OUart_TXD, which corresponds to B1 (Pin 6) of IC
    16B7I/OUart_RXD, which corresponds to B7 (Pin 17) of IC


    I didn't try doing ZTE flash dump yet, but I tried with other Zigbee chip - BL702 - and it worked well.

    Dev board:
    https://developer.tuya.com/en/docs/iot/tuya-sandwich-ZigBee-soc-board-ztu-V2?id=Kby6arczjimaf
    Tuya ZTU dev board with Zigbee module and labeled I/O pins
    TYDE5-ZTU dev board with UART and interface pins labeled
    Block diagram of ZTU board showing UART RXD and TXD pin connections
    Helpful post? Buy me a coffee.
  • #4 21725363
    krzbor
    Level 28  
    Buying ZigBee temperature sensors powered by normal batteries makes no sense. Such sensors are unnecessarily large. A round sensor on a CR2450 battery shows 100% battery after more than a year, and reports quite often. In general, 3V lozenge batteries work well in ZigBee sensors.
  • ADVERTISEMENT
  • #6 21725753
    pier
    Level 24  
    If the Zigbee version is simpler then why is it more expensive?
    I use the TS0201 powered by a single AA battery.
  • #7 21725763
    p.kaczmarek2
    Moderator Smart Home
    @krzbor now I've started to wonder how much longer this version from the topic (with two AAA) will last. For me the longer runtime is a plus, I don't mind the size of the hardware.
    Helpful post? Buy me a coffee.
  • #8 21725872
    krzbor
    Level 28  
    p.kaczmarek2 wrote:
    how much longer will this version from the topic (with two AAA
    last
    It depends which battery has a higher self-discharge.
  • #9 21726132
    piotrszulc1
    Level 10  
    I can recommend the bluetooth sensors BTH01 or THB2 (both Tuya), on which you can easily, even without soldering, upload alternative software from pvvx , which broadcasts in BTHome format. Home assistant supports this natively. Additionally, if you use a Bluetooth proxy then you don't have to worry about range.
    In terms of battery savings, I haven't replaced it yet.
    Screenshot showing battery at 100% and last replaced 10 months ago
  • ADVERTISEMENT
  • #10 21726498
    Nargo
    Level 23  
    Batteries from 25 Oct 2024,
    as of 10.08.2025 in the freezer :D

    Sensor readings: 100% battery, -16.17°C, 63.52% humidity, 3000 mV, 33 lqi


    Temperature chart from freezer sensor between September 1 and October 5

    A second identical sensor died (shows no indication) after 3 months.
    Sensor screen showing: battery 100%, temperature 0°C, humidity 0%, voltage 3000 mV
📢 Listen (AI):

Topic summary

The discussion compares the Zigbee and Wi-Fi variants of the TH08 temperature and humidity sensor, both based on the CHT8310 chip, focusing on their integration with Home Assistant (HA). The Zigbee TH08Z-B sensor offers simpler pairing with HA compared to the Wi-Fi version, which is more challenging to integrate and often requires cloud connectivity. Pricing differs, with the Zigbee model around £40 and the Wi-Fi version between £20 and £30. Wi-Fi sensors, especially those using TuyaMCU, tend to have shorter battery life due to frequent wake-ups and power consumption, despite power-saving modes. Zigbee sensors powered by standard batteries, such as CR2450 3V lozenge cells, demonstrate longer battery life and smaller form factors. Technical details include UART pinouts for Zigbee chips (ZTU pinout) and references to flashing firmware dumps. The discussion highlights the trade-offs between cost, ease of integration, battery life, and device size for battery-operated temperature and humidity sensors in home automation.
Summary generated by the language model.
ADVERTISEMENT