This article will introduce recent feature optimizations for SNZB-06P, including:
- Optimization of detection duration
- How to configure sensitivity and detection duration on ZHA & Z2M
- How to update firmware on ZHA & Z2M
- Some ongoing optimizations that are still in progress
Some people also call it “time out,” “cooldown time,” or others. This refers to how long the device takes to recognize that no one is present after someone has left, allowing for actions like turning off lights.
As a user, you would prefer a shorter time for turning off lights after leaving a room, as it indicates a quicker response and helps save energy. However, it is limited by the radar wave algorithm, and the device needs some time to detect the chest movements/heartbeat of a person within its range.
It’s important to note that some characteristics of microwaves may affect the experience:
● Reflection Characteristics: This means that in relatively narrow indoor spaces, even if a person is behind the sensor, they may still be detected because microwaves could be reflected by walls. This is why specifying a clear angle for the product is challenging, as the usage environment significantly affects the angle.
● Penetration Properties: In addition to reflection characteristics, microwaves also have penetration properties, able to penetrate most materials except metal. This includes ceramics, plastics, paper, wood, glass, etc. Consequently, it can detect if there is someone in a shower through glass. However, it may also be triggered by outdoor objects, requiring adjustments to the installation position or sensitivity.
In the latest V1.0.5 firmware version, we have optimized the shortest detection duration to 15s. The update on the eWeLink app will be available in the V5.2 in December. iHost users will need to patiently wait until the V1.14.0 in March next year to see this optimization.
We will also introduce how to update the device firmware on ZHA&Z2M below. If your device firmware version is lower than 1.0.5, the shortest time cannot be set below 30s, or the device will keep indicating that someone is present.
In the eWeLink app, sensitivity is divided into three levels:
- High: Represents a detection distance of 4m.
- Medium: Represents a detection distance of 3.5m.
- Low: Represents a detection distance of 2.5m.
You can select the sensitivity level based on your home environment, for example, choosing a high level for the living room and a low level for the bathroom. In the following section, we will also introduce how to configure the sensitivity on ZHA and Z2M.
How to Configure Detection Duration and Sensitivity on HA
Here, we first introduce the method using Zigbee Cluster and Attributes. Of course, we are also working on the user interaction for Z2M, but this will take some time. Please refer to the “More Information” section in the article.
- Manage Zigbee device
2. To configure the Detection Duration, select the OccupancySensing Cluster and ultrasonic_o_to_u_delay(id: 0x0020) Attribute. You can read the current values of the Attribute and also set a new value for it.
*Please notice that if your firmware version is lower than 1.0.5, the shortest detection duration can be set to 30s, otherwise, the sensor will stay on detected status.
*Firmware versions 1.0.5 and above support setting to 15 seconds.
3. To configure the sensitivity, select the ultrasonic_u_to_o_threshold(id: 0x0022) and write a new value in it.
- 1 represents low sensitivity with a detection distance of 2.5m.
- 2 represents medium sensitivity with a detection distance of 3.5m.
- 3 represents high sensitivity with a detection distance of 4m.
On Z2M, you can edit the attributes in the Dev console, and the process is nearly identical to ZHA.
Select the msOccupancySensing Cluster, ultrasonicUToOThreshold Attribute is for sensitivity setting, and ultrasonicOToUDelay is for detection duration setting.
How to Update Firmware on HA
Check Firmware Version
- First, please follow the instructions in the image to check your firmware version.
- If the firmware is an old version, you can follow the instructions below to update the firmware on your ZHA & Z2M.
OTA Firmware on ZHA
- To enable OTA firmware updates for the ZHA integration you need to add the following configuration to your “configuration.yaml” and restart Home Assistant:
zha: zigpy_config: ota: sonoff_provider: true # Auto update sonoff devices
- Waiting for the firmware to update automatically may take a considerable amount of time. We recommend proceeding with a manual update. To begin, you’ll need to copy the device’s IEEE address.
- Open Developer tools, configure “Zigbee Home Automation: Issue Zigbee cluster command” under SERVICES. Once done, click CALL SERVICE, and the OTA update will start immediately. The update is expected to take around ten minutes. You can check the firmware version later.
service: zha.issue_zigbee_cluster_command data: ieee: "device's ieee address" endpoint_id: 1 cluster_type: out command_type: client cluster_id: 25 command: 0 args: - 0 - 100
OTA Firmware on Z2M
The V1.0.5 firmware version has been released on Z2M. Please upgrade Z2M to version 1.34.0 before proceeding with the firmware update.
Then you can follow the instructions in the diagram below to check and update the device firmware.
In addition to firmware updates and support for shorter detection duration, we are also advancing the optimization of the operating interface on Z2M, including:
● Exposing detection duration settings
● Exposing sensitivity settings
● Exposing illumination (bright/dim) #Due to hardware limitations, Lux values cannot be reported
The expected release date is January 2024, and you can preview the effects in the following image.
The optimization on ZHA is still in the testing stage. We will provide updates as soon as there are new developments.