Unable to read/write ZHA Coordinator Cluster Attributes

Hey folks, hoping you can help me out with something please :pray:

As mentioned here my Automation is being triggered every hour by Zigbee Checkin events, & I’d like to stop that from happening.

I’ve read a few topics on changing the checkin_interval attribute of the PollControl cluster, so went into ZHA → Devices → Zigbee Coordinator → Manage Device

I initially tried to read the attribute & got this:

And the same ! alert, but also this when I tried to write to it:
Screenshot 2024-03-05 at 17.56.06

Looking in the logs I see this around the time I ran the tests:

2024-03-01 13:45:53.476 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546645659456] Error handling message: Timeout (timeout) Martin Holmes from 134.238.54.136 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36)
2024-03-01 13:45:59.581 WARNING (MainThread) [led_ble.led_ble] QHM-TFD8: Device unexpectedly disconnected; RSSI: -81
2024-03-01 13:46:21.011 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-03-01 13:46:21.011 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2024-03-01 13:46:21.014 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’73dc21a9a52a3cf17e’
2024-03-01 13:46:21.034 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’30dca1a9a52a15b262944325aa5592499c4e27abedce6f8bfbc66389fc7e3fa7ebcdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca6588459a4d9e4f9ff7c3d9d46a35a251904824db3d7e’
2024-03-01 13:46:21.035 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’8430fc7e’
2024-03-01 13:46:21.036 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received readCounters: [[0, 59, 9, 0, 0, 0, 0, 0, 8, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0]]
2024-03-01 13:46:21.037 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
2024-03-01 13:46:21.039 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’04dd21a9fe2a1602927e’
2024-03-01 13:46:21.045 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’41dda1a9fe2a15b3a2c1d37e’
2024-03-01 13:46:21.046 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’8520dd7e’
2024-03-01 13:46:21.048 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getValue: [<EzspStatus.SUCCESS: 0>, b’\xfb’]
2024-03-01 13:46:21.048 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 251
2024-03-01 13:46:21.049 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 22, MAC_TX_BROADCAST = 10062, MAC_RX_UNICAST = 1620, MAC_TX_UNICAST_SUCCESS = 331, MAC_TX_UNICAST_RETRY = 96, MAC_TX_UNICAST_FAILED = 25, APS_DATA_RX_BROADCAST = 9, APS_DATA_TX_BROADCAST = 9, APS_DATA_RX_UNICAST = 285, APS_DATA_TX_UNICAST_SUCCESS = 155, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 4, ROUTE_DISCOVERY_INITIATED = 1, NEIGHBOR_ADDED = 8, NEIGHBOR_REMOVED = 8, NEIGHBOR_STALE = 0, JOIN_INDICATION = 8, CHILD_REMOVED = 8, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 425, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 251]
2024-03-01 13:46:30.389 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Sending request header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=41, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 1>)
2024-03-01 13:46:30.391 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Sending request: Read_Attributes(attribute_ids=[0])
2024-03-01 13:46:30.392 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 3, 1, 13, 46, 30, 392222, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=41, profile_id=260, cluster_id=32, data=Serialized[b’\x18)\x00\x00\x00’], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-03-01 13:46:30.400 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x0000, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=41), 163, b’\x18)\x00\x00\x00’)
2024-03-01 13:46:30.402 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’15e221a9602a15b259904b05aa5493099d4e27824ecb7fa2fdc66301447e’
2024-03-01 13:46:30.411 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’52e2a1a9602a15194c277e’
2024-03-01 13:46:30.412 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’8610be7e’
2024-03-01 13:46:30.413 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received sendUnicast: [<EmberStatus.SUCCESS: 0>, 171]
2024-03-01 13:46:30.416 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’62e2b1a9112a15b658b44a24ab1593499ce5d8abedce9874f8de4a89fc7e44447e’
2024-03-01 13:46:30.417 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’87009f7e’
2024-03-01 13:46:30.420 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=171), 255, 0, 0x0000, 255, 255, b’\x18)\x00\x00\x00’]
2024-03-01 13:46:30.420 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=171), 255, 0, 0x0000, 255, 255, b’\x18)\x00\x00\x00’]
2024-03-01 13:46:30.421 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 3, 1, 13, 46, 30, 421156, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=171, profile_id=260, cluster_id=32, data=Serialized[b’\x18)\x00\x00\x00’], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=0)
2024-03-01 13:46:30.422 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Received ZCL frame: b’\x18)\x00\x00\x00’
2024-03-01 13:46:30.423 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=41, command_id=0, direction=<Direction.Server_to_Client: 1>)
2024-03-01 13:46:30.424 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Decoded ZCL frame: PollControl:Read_Attributes(attribute_ids=[0])
2024-03-01 13:46:30.425 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Received command 0x00 (TSN 41): Read_Attributes(attribute_ids=[0])
2024-03-01 13:46:30.426 DEBUG (Thread-14) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6975bc40>, ‘UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta’, {‘ts’: 1709300790.421156, ‘ieee’: 04:87:27:ff:fe:20:36:98, ‘min_update_delta’: 30.0})
2024-03-01 13:46:30.429 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’72e2b1a96b2a15b259904b05aa5493099d4e27004ece6702007e’
2024-03-01 13:46:30.429 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’8070787e’
2024-03-01 13:46:30.430 DEBUG (Thread-14) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6975bc40>, ‘UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta’, {‘ts’: 1709300790.421156, ‘ieee’: 04:87:27:ff:fe:20:36:98, ‘min_update_delta’: 30.0}) completed
2024-03-01 13:46:30.431 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received messageSentHandler: [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=171), 163, <EmberStatus.SUCCESS: 0>, b’‘]
2024-03-01 13:46:30.431 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=171), 163, <EmberStatus.SUCCESS: 0>, b’‘]
2024-03-01 13:46:30.433 DEBUG (Thread-14) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f6975bc40>)
2024-03-01 13:46:30.433 DEBUG (Thread-14) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f6975bc40>) completed
2024-03-01 13:46:30.435 DEBUG (Thread-14) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6975bc40>, ‘UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta’, {‘ts’: 1709300790.421156, ‘ieee’: 04:87:27:ff:fe:20:36:98, ‘min_update_delta’: 30.0})
2024-03-01 13:46:30.435 DEBUG (Thread-14) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6975bc40>, ‘UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta’, {‘ts’: 1709300790.421156, ‘ieee’: 04:87:27:ff:fe:20:36:98, ‘min_update_delta’: 30.0}) completed
2024-03-01 13:46:30.439 DEBUG (Thread-14) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f6975bc40>)
2024-03-01 13:46:30.440 DEBUG (Thread-14) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f6975bc40>) completed
2024-03-01 13:46:31.050 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-03-01 13:46:31.051 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2024-03-01 13:46:31.055 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’20e321a9a52aeb927e’
2024-03-01 13:46:31.072 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’03e3a1a9a52a15b265944325aa5592499c4e27abedce6e8bfac66389fc7e3fa7ebcdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca6588459a4d9e4f9ff7c3d9d46a35a2519048246d157e’
2024-03-01 13:46:31.073 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’8160597e’
2024-03-01 13:46:31.076 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received readCounters: [[0, 60, 9, 0, 0, 0, 0, 0, 9, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0]]
2024-03-01 13:46:31.079 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
2024-03-01 13:46:31.081 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’31e021a9fe2a1643777e’
2024-03-01 13:46:31.088 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’14e0a1a9fe2a15b3a2aa807e’
2024-03-01 13:46:31.088 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’82503a7e’
2024-03-01 13:46:31.090 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getValue: [<EzspStatus.SUCCESS: 0>, b’\xfb’]
2024-03-01 13:46:31.091 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 251
2024-03-01 13:46:31.091 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 22, MAC_TX_BROADCAST = 10063, MAC_RX_UNICAST = 1620, MAC_TX_UNICAST_SUCCESS = 331, MAC_TX_UNICAST_RETRY = 96, MAC_TX_UNICAST_FAILED = 25, APS_DATA_RX_BROADCAST = 9, APS_DATA_TX_BROADCAST = 9, APS_DATA_RX_UNICAST = 286, APS_DATA_TX_UNICAST_SUCCESS = 156, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 4, ROUTE_DISCOVERY_INITIATED = 1, NEIGHBOR_ADDED = 8, NEIGHBOR_REMOVED = 8, NEIGHBOR_STALE = 0, JOIN_INDICATION = 8, CHILD_REMOVED = 8, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 425, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 251]
2024-03-01 13:46:35.433 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546645659456] Error handling message: Timeout (timeout) Martin Holmes from 134.238.54.136 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36)
2024-03-01 13:46:37.696 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Sending request header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, is_cluster=False, is_general=True), tsn=42, command_id=<GeneralCommand.Write_Attributes: 2>, direction=<Direction.Server_to_Client: 1>)
2024-03-01 13:46:37.698 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Sending request: Write_Attributes(attributes=[Attribute(attrid=0x0000, value=TypeValue(type=uint32_t, value=500))])
2024-03-01 13:46:37.703 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 3, 1, 13, 46, 37, 703061, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=42, profile_id=260, cluster_id=32, data=Serialized[b’\x18*\x02\x00\x00#\xf4\x01\x00\x00’], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-03-01 13:46:37.704 DEBUG (MainThread) [bellows.ezsp.protocol] Send command sendUnicast: (<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0x0000, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=42), 164, b’\x18
\x02\x00\x00#\xf4\x01\x00\x00’)
2024-03-01 13:46:37.707 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’42e121a9602a15b259904b05aa5493099d4e278149c47fa1ffc663aa087f3fa7d68e7e’
2024-03-01 13:46:37.717 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’25e1a1a9602a151e93567e’
2024-03-01 13:46:37.717 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’83401b7e’
2024-03-01 13:46:37.718 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received sendUnicast: [<EmberStatus.SUCCESS: 0>, 172]
2024-03-01 13:46:37.722 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’35e1b1a9112a15b658b44a24ab1593499ce2d8abedce9874f7de498bfc7e1c53eacdde65f07e’
2024-03-01 13:46:37.723 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’8430fc7e’
2024-03-01 13:46:37.724 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=172), 255, 0, 0x0000, 255, 255, b’\x18
\x02\x00\x00#\xf4\x01\x00\x00’]
2024-03-01 13:46:37.725 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=172), 255, 0, 0x0000, 255, 255, b’\x18
\x02\x00\x00#\xf4\x01\x00\x00’]
2024-03-01 13:46:37.725 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 3, 1, 13, 46, 37, 725445, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=172, profile_id=260, cluster_id=32, data=Serialized[b’\x18*\x02\x00\x00#\xf4\x01\x00\x00’], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=255, rssi=0)
2024-03-01 13:46:37.726 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Received ZCL frame: b’\x18
\x02\x00\x00#\xf4\x01\x00\x00’
2024-03-01 13:46:37.727 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=42, command_id=2, *direction=<Direction.Server_to_Client: 1>)
2024-03-01 13:46:37.728 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Decoded ZCL frame: PollControl:Write_Attributes(attributes=[Attribute(attrid=0x0000, value=TypeValue(type=uint32_t, value=500))])
2024-03-01 13:46:37.729 DEBUG (MainThread) [zigpy.zcl] [0x0000:1:0x0020] Received command 0x02 (TSN 42): Write_Attributes(attributes=[Attribute(attrid=0x0000, value=TypeValue(type=uint32_t, value=500))])
2024-03-01 13:46:37.731 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’45e1b1a96b2a15b259904b05aa5493099d4e270749ce671b5f7e’
2024-03-01 13:46:37.732 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’8520dd7e’
2024-03-01 13:46:37.733 DEBUG (Thread-14) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6975bc40>, ‘UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta’, {‘ts’: 1709300797.725445, ‘ieee’: 04:87:27:ff:fe:20:36:98, ‘min_update_delta’: 30.0})
2024-03-01 13:46:37.734 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received messageSentHandler: [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=172), 164, <EmberStatus.SUCCESS: 0>, b’‘]
2024-03-01 13:46:37.734 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 0, EmberApsFrame(profileId=260, clusterId=32, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=172), 164, <EmberStatus.SUCCESS: 0>, b’‘]
2024-03-01 13:46:37.736 DEBUG (Thread-14) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6975bc40>, ‘UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta’, {‘ts’: 1709300797.725445, ‘ieee’: 04:87:27:ff:fe:20:36:98, ‘min_update_delta’: 30.0}) completed
2024-03-01 13:46:37.737 DEBUG (Thread-14) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f6975bc40>)
2024-03-01 13:46:37.738 DEBUG (Thread-14) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f6975bc40>) completed
2024-03-01 13:46:37.742 DEBUG (Thread-14) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6975bc40>, ‘UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta’, {‘ts’: 1709300797.725445, ‘ieee’: 04:87:27:ff:fe:20:36:98, ‘min_update_delta’: 30.0})
2024-03-01 13:46:37.743 DEBUG (Thread-14) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f6975bc40>, ‘UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta’, {‘ts’: 1709300797.725445, ‘ieee’: 04:87:27:ff:fe:20:36:98, ‘min_update_delta’: 30.0}) completed
2024-03-01 13:46:37.746 DEBUG (Thread-14) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f6975bc40>)
2024-03-01 13:46:37.747 DEBUG (Thread-14) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f6975bc40>) completed
2024-03-01 13:46:39.640 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0E75](SOMRIG shortcut button): Device seen - marking the device available and resetting counter
2024-03-01 13:46:39.641 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0E75](SOMRIG shortcut button): Update device availability - device available: True - new availability: True - changed: False
2024-03-01 13:46:41.094 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-03-01 13:46:41.094 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2024-03-01 13:46:41.098 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’55e621a9a52ace587e’
2024-03-01 13:46:41.115 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’56e6a1a9a52a15b265944325aa5592499c4e27abedce6d8bf5c66389fc7e3fa7ebcdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca6588459a4d9e4f9ff7c3d9d46a35a2519048241cf17e’
2024-03-01 13:46:41.115 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’8610be7e’
2024-03-01 13:46:41.119 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received readCounters: [[0, 60, 9, 0, 0, 0, 0, 0, 10, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0]]
2024-03-01 13:46:41.121 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
2024-03-01 13:46:41.123 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’66e721a9fe2a1678e57e’
2024-03-01 13:46:41.129 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b’67e7a1a9fe2a15b3a2eb077e’
2024-03-01 13:46:41.130 DEBUG (bellows.thread_0) [bellows.uart] Sending: b’87009f7e’
2024-03-01 13:46:41.132 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getValue: [<EzspStatus.SUCCESS: 0>, b’\xfb’]
2024-03-01 13:46:41.134 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 251
2024-03-01 13:46:41.134 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 22, MAC_TX_BROADCAST = 10063, MAC_RX_UNICAST = 1620, MAC_TX_UNICAST_SUCCESS = 331, MAC_TX_UNICAST_RETRY = 96, MAC_TX_UNICAST_FAILED = 25, APS_DATA_RX_BROADCAST = 9, APS_DATA_TX_BROADCAST = 9, APS_DATA_RX_UNICAST = 287, APS_DATA_TX_UNICAST_SUCCESS = 157, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 4, ROUTE_DISCOVERY_INITIATED = 1, NEIGHBOR_ADDED = 8, NEIGHBOR_REMOVED = 8, NEIGHBOR_STALE = 0, JOIN_INDICATION = 8, CHILD_REMOVED = 8, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 425, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 251]
2024-03-01 13:46:42.737 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546645659456]
Traceback (most recent call last):
File “/usr/local/lib/python3.12/site-packages/zigpy/device.py”, line 330, in request
return await req.result
^^^^^^^^^^^^^^^^
asyncio.exceptions.CancelledError

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 240, in handle_call_service
response = await hass.services.async_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/core.py”, line 2279, in async_call
response_data = await coro
^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/core.py”, line 2316, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/helpers/service.py”, line 993, in _async_admin_handler
await result
File “/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py”, line 1307, in set_zigbee_cluster_attributes
response = await zha_device.write_zigbee_attribute(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/zha/core/device.py”, line 783, in write_zigbee_attribute
response = await cluster.write_attributes(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py”, line 624, in write_attributes
return await self.write_attributes_raw(attrs, manufacturer)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/zcl/init.py”, line 630, 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 377, in request
return await self._endpoint.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/endpoint.py”, line 253, in request
return await self.device.request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.12/site-packages/zigpy/device.py”, line 329, in request
async with asyncio_timeout(timeout):
File “/usr/local/lib/python3.12/asyncio/timeouts.py”, line 115, in aexit
raise TimeoutError from exc_val
TimeoutError

I’m not sure if it matters or not, but I’ve setup remote access from my own domain name, sitting behind Cloudflare, which has been working wonderfully well for ages now - but I wonder if it could be preventing the read/write operations?

If it is, what do I need to change?

Thanks so much in advance!

Reply sent in the original thread in the hope the blueprint author will fix this.

Until then, it’s a pretty easy fix you can do yourself without messing around with the polling interval

1 Like