SNZB-03P 5-second “cooldown”

I read that the SNZB-03P cooldown time can be as low as 5 seconds, can this be set in Home Assistsnt?

It’s connected to Home Assistsnt through a SkyConnect using ZHA, I’ve looked at the settings in the “Manage Zigbee Device” section, but I’ve never made any adjustments through this section. I don’t see anything that looks obvious to me, and dont know what I would need to change it to if it’s there.

Does anyone know of this can be done in home assistant, or is it something that can only be changed when connected to a Sonoff hub?

Also, the “Occupancy” sensor seems to be working for me, but the “Motion” srndor always seems to be ”detected”.

1 Like


You can configure the cooldown time here. The default is 60 sec, you can set it to 5 sec.
**Note that these battery powered device usually stays in sleep mode(for saving battery), and you may need to press the device button to wake it up, then you can successfully configure it.

Only the “Occupancy” works.

2 Likes

Thanks! That worked perfectly, not sure how I missed it.

I’m using this to turn off my basement lights when I close the door. I can now set it so it will not turn them off if I close the door while I’m on the basement stairs. (I live alone, so I don’t have to worry about someone else closing the door while I’m in the basement, and I have a master switch that disables automations when I have someone performing service in the basement)

Thanks again!

I am trying this with deConz now, and so far it is very satisfactory. You can find the DDF file here. You can set timeout down to 5 secs, also in occupancy sensor attributes, “dark” attribute shows if it is bright or dim.

I try it the same way but got this error:
“Die Aktion zha/set_zigbee_cluster_attribute konnte nicht ausgeführt werden. Failed to set attribute: value: 10 attribute: 32 cluster_id: 1030 endpoint_id: 1”

I tried many times, also with pressing the button.

I use Sonoff Zigbee Bridge Pro with Tasmota (WiFi), which is integrated in Home Assistant via Zigbee Home Automation.

Do you have any suggestions?

Log:

Logger: homeassistant.components.websocket_api.http.connection
Quelle: components/websocket_api/commands.py:245
Integration: Home Assistant WebSocket API (Dokumentation, Probleme)
Erstmals aufgetreten: 03:26:09 (15 Vorkommnisse)
Zuletzt protokolliert: 03:33:24
[140049361148304] Unexpected exception

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/zha/zigbee/device.py", line 850, in write_zigbee_attribute
    response = await cluster.write_attributes(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 599, in write_attributes
    return await self.write_attributes_raw(attrs, manufacturer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 605, in write_attributes_raw
    result = await self._write_attributes(attrs, manufacturer=manufacturer)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/zcl/__init__.py", line 378, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py", line 265, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zigpy/device.py", line 339, in request
    await send_request()
  File "/usr/local/lib/python3.12/site-packages/zigpy/application.py", line 834, in request
    await self.send_packet(
  File "/usr/local/lib/python3.12/site-packages/zigpy_znp/zigbee/application.py", line 1100, in send_packet
    raise DeliveryError(
zigpy.exceptions.DeliveryError: Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2761, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2804, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1099, in _async_admin_handler
    await result
  File "/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py", line 1333, in set_zigbee_cluster_attributes
    response = await zha_device.write_zigbee_attribute(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/zha/zigbee/device.py", line 863, in write_zigbee_attribute
    raise ZHAException(
zha.exceptions.ZHAException: Failed to set attribute: value: 5 attribute: 16 cluster_id: 1030 endpoint_id: 1

Good Morning,
i have exact the same problem with this device…
“Die Aktion zha/set_zigbee_cluster_attribute konnte nicht ausgeführt werden. Failed to set attribute: value: 5 attribute: 32 cluster_id: 1030 endpoint_id1”

I think this device is not fully compatible with zha