logo elektroda
logo elektroda
X
logo elektroda

OpenBeken Deep Sleep Issues on Tuya CHT8310 Wi-Fi Temperature Sensor (2x AAA)

virgilio381 54 0
ADVERTISEMENT
  • #1 21863064
    virgilio381
    Level 1  
    Hi everyone,
    I am trying to configure a Tuya-based temperature sensor using the CHT8310 chip with OpenBeken. My goal is to enable Deep Sleep to preserve battery life, but I am running into significant issues.

    Here is the hardware I am using:
    Close-up of a blue PCB with a CBU module, an inductor, SMD parts, and labeled RX/TX pins


    Device: Tuya Wi-Fi Temperature & Humidity Sensor
    Chipset: CHT8310
    Power: Batteries: 2× AAA

    The Problem:
    I am unable to get the device to enter Deep Sleep and wake up correctly. I have tried three different approaches:

    1. Following the official Wiki instructions:
    When I apply the settings recommended for battery-powered devices, the module enters Deep Sleep but never wakes up. It becomes unresponsive, and the only way to recover it is to physically remove and reinsert the batteries.

    2. Minimal Configuration (Working but no sleep):
    If I clear all settings and use only the following command in startup.txt, the device works perfectly and reports data, but it never sleeps, draining the batteries quickly:
    backlog PowerSave 1; startDriver battery; startDriver NTP; startDriver CHT83XX

    3. Manual Deep Sleep Command:
    If I try to force deep sleep via the console command deepsleep 600, the device becomes unreachable immediately. Just like in scenario #1, it does not wake up after 10 minutes, and a power cycle (battery pull) is required to restore functionality.

    Observations:
    It seems that Deep Sleep might not be fully supported on this specific hardware revision or chipset, or perhaps a specific GPIO wake-up configuration is missing.

    My Questions:
    Is Deep Sleep known to work with the CHT8310 chip on OpenBeken?
    Are there specific GPIO pins that need to be configured for wake-up interrupts on this module?
    Do you need any logs or the full config string to diagnose this?
    Any advice or guidance would be greatly appreciated.
    Thank you in advance!
    AI: Could you please provide the exact model number or a product link for your Tuya temperature & humidity sensor? This will help determine if there are any hardware-specific considerations for Deep Sleep.
    https://it.aliexpress.com/item/10050065158725...n.533.152e36967RWLD3&gatewayAdapt=glo2ita
    AI: Which version of OpenBeken firmware are you currently running on the device? If possible, please include the build date or commit hash.
    Firmware Version: OpenBK7231N_QIO_1.18.2709
  • ADVERTISEMENT
ADVERTISEMENT