logo elektroda
logo elektroda
X
logo elektroda

Tuya 24GHz Radar Sensor with WiFi (CBU Module): Serial Pinout, DP List, Parameters

Andy41 324 1
ADVERTISEMENT
  • #1 21759259
    Andy41
    Level 5  
    Tuya 24GHz radar sensor with Wi-Fi
    model: ZG-205WB

    Source: i.e. https://de.aliexpress.com/item/1005005904142527.html
    The radar sensor is made by Tuya-module CBU.

    All needed pins are accessible. You can flash it without dismounting the module.
    White Tuya ZG-205WB radar sensor with USB-C port on dark textured surface

    Tuya ZG-205WB radar sensor module with CBU board and USB connector visible

    Radar module ZG-205Z V2.1 with Tuya CBU chip on black textured surface

    There are only the TX and RX pins used.
    All communication is serial with the Tuya coprocessor.
    Note: If you power it with 3.3 V direct on CBU - the Tuya coprocessor does not work.

    I do not use HA but IP-Symcon. That is why I cannot say anything about HA-integration.

    The original documentation can be found at https://doc.szalarm.com/zg-205Z/en/

    The Tuya dp's are:
    (as shown in "SmartHome")

    messages
    dp1: Presence: enum [0,1]
    dp116: Motion: enum [0,1,3,4,5]
    00 - none
    01 large move
    03 stillness
    04 far away
    05 near
    dp101: Illuminance: val(0..2047)
    dp122: Distance: val(0..1000 cm)

    parameter
    dp103: Indicator: enum[0,1]
    dp119: Motion false detection: val(0..20)
    dp108: Presence keep time: val(0..28800 s)
    dp3: large motion detection: val(0..1000 cm)
    dp2: large motion sensitivity: val(0..10)
    dp105: small motion detection distance: val(0..60 cm)
    dp106: small motion sensitivity: val(0..10)
    dp4: stationary detection distance: val(0..600 cm)
    dp102: stationary sensitivity: val(0..10)
    dp123: detection minimum distance: val(0..600 cm)
  • ADVERTISEMENT
  • #2 21759682
    Andy41
    Level 5  
    Hello friends,

    Some questions for the group:
    All of them are "nice to have", and all of them make sense to me.
    Software:
    - Are there any common standards for the channel numbers? The most important channel, of course, is number 1. And the others?
    - Is it possible to translate the channel number for MQTT into plain text? <topic>/presence = 1
    - Is it possible to combine all channels into a single JSON output to MQTT like {"presence":0,"motion":0,.....}?
    - The enumeration from content to plain text for MQTT is planned ("SetChannelEnum"). Is it on the roadmap?

    Hardware:
    There is a small button for joining the net. It has no useful function for me. How do I disable it? Cut with a knife? If I press the button for 3 s, the Wi-Fi connection is cut off with no return. Only by power cycling is the normal function restored. How was it implemented in other projects?

    Thanks for your help!
    Andreas
ADVERTISEMENT