question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with pairing IKEA Styrbar remote to ZHA

See original GitHub issue

The problem

Been at this for what feels like weeks.

The device pairs, but doesnt send events to my Sonoff Zigbee USB 3.0. Have gone into the developer options and listened to ‘zha_event’. Pressed buttons, nothing comes up.

Device is paired successfully, but battery shows up as ‘unknown’.

Not sure what else to say about it. Have tried re-pairing, re-configuring, resetting, all of the above!

What version of Home Assistant Core has the issue?

2021.12.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ZHA

Link to integration documentation on our website

https://www.home-assistant.io/integrations/zha/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

`2021-12-15 14:10:01 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-12-15 14:10:01 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-12-15 14:10:01 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-12-15 14:10:01 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-12-15 14:10:01 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration iphonedetect which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-12-15 14:10:01 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration deebot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-12-15 14:10:01 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration nodered which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2021-12-15 14:10:11 ERROR (MainThread) [homeassistant.config] Invalid config for [automation]: Failed to load blueprint: Unable to find IKEA STYBAR Switch.yaml (See /config/configuration.yaml, line 12).
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 209, in _load_blueprint
blueprint_data = yaml.load_yaml(self.blueprint_folder / blueprint_path)
File "/usr/src/homeassistant/homeassistant/util/yaml/loader.py", line 110, in load_yaml
with open(fname, encoding="utf-8") as conf_file:
FileNotFoundError: [Errno 2] No such file or directory: '/config/blueprints/automation/IKEA STYBAR Switch.yaml'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 106, in _try_async_validate_config_item
config = await async_validate_config_item(hass, config, full_config)
File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 70, in async_validate_config_item
return await blueprints.async_inputs_from_config(config)
File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 297, in async_inputs_from_config
blueprint = await self.async_get_blueprint(bp_conf[CONF_PATH])
File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 275, in async_get_blueprint
blueprint = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/blueprint/models.py", line 211, in _load_blueprint
raise FailedToLoad(
homeassistant.components.blueprint.errors.FailedToLoad: Failed to load blueprint: Unable to find IKEA STYBAR Switch.yaml
2021-12-15 14:10:13 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [548427637472] Received invalid command: zha/devices/reconfigure
2021-12-15 14:10:19 ERROR (MainThread) [zigpy.application] Couldn't start application
2021-12-15 14:10:19 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 152, in async_initialize
self.application_controller = await app_controller_cls.new(
File "/usr/local/lib/python3.9/site-packages/zigpy/application.py", line 69, in new
await app.startup(auto_form)
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 175, in startup
return await self._startup(
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 188, in _startup
await znp.connect()
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 545, in connect
self._uart = await uart.connect(self._config[conf.CONF_DEVICE], self)
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/uart.py", line 182, in connect
_, protocol = await serial_asyncio.create_serial_connection(
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 445, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0'
2021-12-15 14:10:19 WARNING (MainThread) [homeassistant.config_entries] Config entry '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0' for zha integration not ready yet: [Errno 2] could not open port /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0'; Retrying in background
2021-12-15 14:10:25 ERROR (MainThread) [homeassistant.components.automation.ikea_test] Unknown error while setting up trigger (empty result) _IKEA test
2021-12-15 14:10:32 ERROR (MainThread) [zigpy.application] Couldn't start application
2021-12-15 14:10:32 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 152, in async_initialize
self.application_controller = await app_controller_cls.new(
File "/usr/local/lib/python3.9/site-packages/zigpy/application.py", line 69, in new
await app.startup(auto_form)
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 175, in startup
return await self._startup(
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 188, in _startup
await znp.connect()
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 545, in connect
self._uart = await uart.connect(self._config[conf.CONF_DEVICE], self)
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/uart.py", line 182, in connect
_, protocol = await serial_asyncio.create_serial_connection(
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 445, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0'
2021-12-15 14:10:42 ERROR (MainThread) [zigpy.application] Couldn't start application
2021-12-15 14:10:42 ERROR (MainThread) [homeassistant.components.zha.core.gateway] Couldn't start ZNP = Texas Instruments Z-Stack ZNP protocol: CC253x, CC26x2, CC13x2 coordinator
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open
self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)
FileNotFoundError: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py", line 152, in async_initialize
self.application_controller = await app_controller_cls.new(
File "/usr/local/lib/python3.9/site-packages/zigpy/application.py", line 69, in new
await app.startup(auto_form)
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 175, in startup
return await self._startup(
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/zigbee/application.py", line 188, in _startup
await znp.connect()
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/api.py", line 545, in connect
self._uart = await uart.connect(self._config[conf.CONF_DEVICE], self)
File "/usr/local/lib/python3.9/site-packages/zigpy_znp/uart.py", line 182, in connect
_, protocol = await serial_asyncio.create_serial_connection(
File "/usr/local/lib/python3.9/site-packages/serial_asyncio/__init__.py", line 445, in create_serial_connection
serial_instance = serial.serial_for_url(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/serial/__init__.py", line 90, in serial_for_url
instance.open()
File "/usr/local/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
serial.serialutil.SerialException: [Errno 2] could not open port /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0: [Errno 2] No such file or directory: '/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_be359b81e719ec11aead77e5f01c6278-if00-port0'
2021-12-15 14:13:30 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x1000]: Couldn't get list of groups: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>
2021-12-15 14:13:39 ERROR (MainThread) [frontend.js.latest.202112120] http://homeassistant.local:8123/frontend_latest/17dc2469.js:246:519 Uncaught TypeError: Cannot read properties of undefined (reading 'get')
2021-12-15 14:13:39 ERROR (MainThread) [frontend.js.latest.202112120] http://homeassistant.local:8123/frontend_latest/17dc2469.js:246:519 Uncaught TypeError: Cannot read properties of undefined (reading 'get')
2021-12-15 14:13:39 ERROR (MainThread) [frontend.js.latest.202112120] http://homeassistant.local:8123/frontend_latest/17dc2469.js:246:519 Uncaught TypeError: Cannot read properties of undefined (reading 'get')
2021-12-15 14:13:42 INFO (MainThread) [zigpy_znp.zigbee.application] Permitting joins for 60 seconds
2021-12-15 14:13:42 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted a ZDO request: dst_addr=AddrModeAddress(mode=<AddrMode.Broadcast: 15>, address=0xFFFC), dst_ep=0, src_ep=0, cluster=54, sequence=13, options=TransmitOptions.NONE, radius=0, data=b'\r<\x00'
2021-12-15 14:13:42 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted AP ZDO request 54({'PermitDuration': 60, 'TC_Significant': <Bool.false: 0>}) and replaced with ZDO.MgmtPermitJoinReq.Req(AddrMode=<AddrMode.Broadcast: 15>, Dst=0xFFFC, Duration=60, TCSignificance=0)
2021-12-15 14:13:42 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.MgmtPermitJoinReq.Req(AddrMode=<AddrMode.Broadcast: 15>, Dst=0xFFFC, Duration=60, TCSignificance=0)
2021-12-15 14:13:42 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MgmtPermitJoinReq.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:13:42 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MgmtPermitJoinRsp.Callback(Src=0x0000, Status=<Status.SUCCESS: 0>)
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 3 of 5
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 3 of 5
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1, TSN=11, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x00\x0B\x06\x00\x20\x00\x20\x10\x0E\x30\x2A\x01\x00\x21\x00\x20\x10\x0E\x30\x2A\x01')
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=32, TSN=12, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x00\x0C\x02\x00\x00\x23\x90\x33\x00\x00')
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.MAC_NO_ACK: 233>, Endpoint=1, TSN=11)
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 4 of 5
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.MAC_NO_ACK: 233>, Endpoint=1, TSN=12)
2021-12-15 14:13:43 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 4 of 5
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.IEEE: 3>, address=84:2e:14:ff:fe:5d:a7:87), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1, TSN=11, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x00\x0B\x06\x00\x20\x00\x20\x10\x0E\x30\x2A\x01\x00\x21\x00\x20\x10\x0E\x30\x2A\x01')
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.NWK_INVALID_REQUEST: 194>)
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Expected SRSP response AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>), got AF.DataRequestExt.Rsp(Status=<Status.NWK_INVALID_REQUEST: 194>)), retry attempt 5 of 5
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.IEEE: 3>, address=84:2e:14:ff:fe:5d:a7:87), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=32, TSN=12, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x00\x0C\x02\x00\x00\x23\x90\x33\x00\x00')
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.NWK_INVALID_REQUEST: 194>)
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Expected SRSP response AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>), got AF.DataRequestExt.Rsp(Status=<Status.NWK_INVALID_REQUEST: 194>)), retry attempt 5 of 5
2021-12-15 14:13:44 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0001]: failed to set reporting on 'power' cluster for: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>
2021-12-15 14:13:44 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0001]: finished channel configuration
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy.device] [0xd9c1] Extending timeout for 0x0e request
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteChk.Req(Dst=0xD9C1, RtStatus=<RouteStatus.ACTIVE: 1>, Options=<RouteOptions.NO_ROUTE_CACHE|MTO_ROUTE: 3>)
2021-12-15 14:13:44 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0020]: Couldn't set check-in interval: Request failed after 5 attempts: <Status.NWK_INVALID_REQUEST: 194>
2021-12-15 14:13:44 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0020]: finished channel configuration
2021-12-15 14:13:44 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0019]: finished channel configuration
2021-12-15 14:13:44 ERROR (MainThread) [frontend.js.latest.202112120] http://homeassistant.local:8123/frontend_latest/17dc2469.js:246:519 Uncaught TypeError: Cannot read properties of undefined (reading 'get')
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy.device] [0xd9c1] Extending timeout for 0x0f request
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteChk.Rsp(Status=<RoutingStatus.FAIL: 1>)
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteChk.Req(Dst=0xD9C1, RtStatus=<RouteStatus.ACTIVE: 1>, Options=<RouteOptions.NO_ROUTE_CACHE|MTO_ROUTE: 3>)
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteChk.Rsp(Status=<RoutingStatus.FAIL: 1>)
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteDisc.Req(Dst=0xD9C1, Options=<RouteDiscoveryOptions.UNICAST: 0>, Radius=30)
2021-12-15 14:13:44 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteDisc.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:13:46 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted a ZDO request: dst_addr=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), dst_ep=0, src_ep=0, cluster=ZDOCmd.Bind_req, sequence=14, options=TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST, radius=30, data=b'\x0e\x87\xa7]\xfe\xff\x14.\x84\x01\x06\x00\x03nTl%\x00K\x12\x00\x01'
2021-12-15 14:13:46 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted AP ZDO request ZDOCmd.Bind_req({'SrcAddress': 84:2e:14:ff:fe:5d:a7:87, 'SrcEndpoint': 1, 'ClusterID': 6, 'DstAddress': MultiAddress(addrmode=3, ieee=00:12:4b:00:25:6c:54:6e, endpoint=1)}) and replaced with ZDO.BindReq.Req(Dst=0xD9C1, Src=84:2e:14:ff:fe:5d:a7:87, SrcEndpoint=1, ClusterId=6, Address=MultiAddress(addrmode=3, ieee=00:12:4b:00:25:6c:54:6e, endpoint=1))
2021-12-15 14:13:46 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.BindReq.Req(Dst=0xD9C1, Src=84:2e:14:ff:fe:5d:a7:87, SrcEndpoint=1, ClusterId=6, Address=MultiAddress(addrmode=3, ieee=00:12:4b:00:25:6c:54:6e, endpoint=1))
2021-12-15 14:13:46 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted a ZDO request: dst_addr=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), dst_ep=0, src_ep=0, cluster=ZDOCmd.Bind_req, sequence=15, options=TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST, radius=30, data=b'\x0f\x87\xa7]\xfe\xff\x14.\x84\x01\x05\x00\x03nTl%\x00K\x12\x00\x01'
2021-12-15 14:13:46 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted AP ZDO request ZDOCmd.Bind_req({'SrcAddress': 84:2e:14:ff:fe:5d:a7:87, 'SrcEndpoint': 1, 'ClusterID': 5, 'DstAddress': MultiAddress(addrmode=3, ieee=00:12:4b:00:25:6c:54:6e, endpoint=1)}) and replaced with ZDO.BindReq.Req(Dst=0xD9C1, Src=84:2e:14:ff:fe:5d:a7:87, SrcEndpoint=1, ClusterId=5, Address=MultiAddress(addrmode=3, ieee=00:12:4b:00:25:6c:54:6e, endpoint=1))
2021-12-15 14:13:46 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.BindReq.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:13:46 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.BindReq.Req(Dst=0xD9C1, Src=84:2e:14:ff:fe:5d:a7:87, SrcEndpoint=1, ClusterId=5, Address=MultiAddress(addrmode=3, ieee=00:12:4b:00:25:6c:54:6e, endpoint=1))
2021-12-15 14:13:46 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.BindReq.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:13:46 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0008]: Failed to bind 'level' cluster:
2021-12-15 14:13:46 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0008]: finished channel configuration
2021-12-15 14:13:46 ERROR (MainThread) [frontend.js.latest.202112120] http://homeassistant.local:8123/frontend_latest/17dc2469.js:246:519 Uncaught TypeError: Cannot read properties of undefined (reading 'get')
2021-12-15 14:13:55 DEBUG (MainThread) [zigpy.application] Sending 'zdo_leave_req' failed:
2021-12-15 14:14:00 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.TCDevInd.Callback(SrcNwk=0x9663, SrcIEEE=84:2e:14:ff:fe:5d:a7:87, ParentNwk=0x0000)
2021-12-15 14:14:00 INFO (MainThread) [zigpy_znp.zigbee.application] TC device join: ZDO.TCDevInd.Callback(SrcNwk=0x9663, SrcIEEE=84:2e:14:ff:fe:5d:a7:87, ParentNwk=0x0000)
2021-12-15 14:14:00 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteDisc.Req(Dst=0x9663, Options=<RouteDiscoveryOptions.UNICAST: 0>, Radius=30)
2021-12-15 14:14:00 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteDisc.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0006]: Failed to bind 'on_off' cluster:
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0006]: finished channel configuration
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0005]: Failed to bind 'scenes' cluster:
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0005]: finished channel configuration
2021-12-15 14:14:01 ERROR (MainThread) [frontend.js.latest.202112120] http://homeassistant.local:8123/frontend_latest/17dc2469.js:246:519 Uncaught TypeError: Cannot read properties of undefined (reading 'get')
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0001]: 'async_configure' stage succeeded
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0020]: 'async_configure' stage succeeded
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x1000]: 'async_configure' stage succeeded
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0000]: 'async_configure' stage succeeded
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0008]: 'async_configure' stage succeeded
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0006]: 'async_configure' stage succeeded
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0019]: 'async_configure' stage succeeded
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0005]: 'async_configure' stage succeeded
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD9C1](Remote Control N2): completed configuration
2021-12-15 14:14:01 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD9C1](Remote Control N2): stored in registry: ZhaDeviceEntry(name='IKEA of Sweden Remote Control N2', ieee='84:2e:14:ff:fe:5d:a7:87', last_seen=1639576745.6265182)
2021-12-15 14:14:01 DEBUG (MainThread) [zigpy.device] [0xd9c1] Extending timeout for 0x10 request
2021-12-15 14:14:01 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=3, TSN=16, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x01\x10\x40\x02\x00')
2021-12-15 14:14:01 ERROR (MainThread) [frontend.js.latest.202112120] http://homeassistant.local:8123/frontend_latest/17dc2469.js:246:519 Uncaught TypeError: Cannot read properties of undefined (reading 'get')
2021-12-15 14:14:01 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:14:01 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.MAC_NO_ACK: 233>, Endpoint=1, TSN=16)
2021-12-15 14:14:01 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 1 of 5
2021-12-15 14:14:02 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=3, TSN=16, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x01\x10\x40\x02\x00')
2021-12-15 14:14:02 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:14:02 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.MAC_NO_ACK: 233>, Endpoint=1, TSN=16)
2021-12-15 14:14:02 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteDisc.Req(Dst=0xD9C1, Options=<RouteDiscoveryOptions.UNICAST: 0>, Radius=30)
2021-12-15 14:14:02 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteDisc.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:14:04 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 2 of 5
2021-12-15 14:14:04 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=3, TSN=16, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x01\x10\x40\x02\x00')
2021-12-15 14:14:04 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:14:04 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.MAC_NO_ACK: 233>, Endpoint=1, TSN=16)
2021-12-15 14:14:04 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 3 of 5
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=3, TSN=16, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x01\x10\x40\x02\x00')
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:14:05 INFO (MainThread) [zigpy.application] New device 0x9663 (84:2e:14:ff:fe:5d:a7:87) joined the network
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy.device] [0x9663] Scheduling initialization
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2021-12-15 14:14:05 INFO (MainThread) [zigpy.device] [0x9663] Requesting 'Node Descriptor'
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy.util] Tries remaining: 2
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy.device] [0x9663] Extending timeout for 0x11 request
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteChk.Req(Dst=0x9663, RtStatus=<RouteStatus.ACTIVE: 1>, Options=<RouteOptions.NO_ROUTE_CACHE|MTO_ROUTE: 3>)
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ExtRouteChk.Rsp(Status=<RoutingStatus.SUCCESS: 0>)
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted a ZDO request: dst_addr=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x9663), dst_ep=0, src_ep=0, cluster=ZDOCmd.Node_Desc_req, sequence=17, options=TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST, radius=30, data=b'\x11c\x96'
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.zigbee.application] Intercepted AP ZDO request ZDOCmd.Node_Desc_req({'NWKAddrOfInterest': 0x9663}) and replaced with ZDO.NodeDescReq.Req(DstAddr=0x9663, NWKAddrOfInterest=0x9663)
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.NodeDescReq.Req(DstAddr=0x9663, NWKAddrOfInterest=0x9663)
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.NodeDescReq.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.MAC_NO_ACK: 233>, Endpoint=1, TSN=16)
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 4 of 5
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xD9C1), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=3, TSN=16, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK|ACK_REQUEST: 48>, Radius=30, Data=b'\x01\x10\x40\x02\x00')
2021-12-15 14:14:05 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2021-12-15 14:14:06 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.MAC_NO_ACK: 233>, Endpoint=1, TSN=16)
2021-12-15 14:14:06 DEBUG (MainThread) [zigpy_znp.zigbee.application] Request failed (Unsuccessful request status code: <Status.MAC_NO_ACK: 233>), retry attempt 5 of 5
2021-12-15 14:14:06 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD9C1:1:0x0003]: command failed: 'trigger_effect' args: '(2, 0)' kwargs '{}' exception: 'Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'
2021-12-15 14:14:08 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.TCDevInd.Callback(SrcNwk=0x9663, SrcIEEE=84:2e:14:ff:fe:5d:a7:87, ParentNwk=0x0000)
2021-12-15 14:14:08 INFO (MainThread) [zigpy_znp.zigbee.application] TC device join: ZDO.TCDevInd.Callback(SrcNwk=0x9663, SrcIEEE=84:2e:14:ff:fe:5d:a7:87, ParentNwk=0x0000)
2021-12-15 14:14:08 INFO (MainThread) [zigpy.application] Device 0x9663 (84:2e:14:ff:fe:5d:a7:87) joined the network
2021-12-15 14:14:08 DEBUG (MainThread) [zigpy.device] [0x9663] Scheduling initialization
2021-12-15 14:14:08 DEBUG (MainThread) [zigpy.device] [0x9663] Canceling old initialize call
2021-12-15 14:14:08 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.ExtRouteDisc.Req(Dst=0x9663, Options=<RouteDiscoveryOptions.UNICAST: 0>, Radius=30)
2021-12-15 14:14:08 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2021-12-15 14:14:08 INFO (MainThread) [zigpy.device] [0x9663] Requesting 'Node Descriptor'
2021-12-15 14:14:08 DEBUG (MainThread) [zigpy.util] Tries remaining: 2`

Additional information

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
CamFlyerCHcommented, Jun 18, 2022

Same here, Sonoff 3.0 on an Intel NUC and hassOS. IKEA Bulbs an Aqara sensors and switches run without any issues.

0reactions
Toffi32commented, Oct 16, 2022

I was also having this exact issue with my Electrolama ZZH (CC2652R) Stick and the E2002 remote. I finally got it to pair by pressing the pairing button in the battery compartment 5 times in quick sucession until the red light flashed and turned solid, let it run through the configuration in Add Devices and then without removing the device between attempts, repeating the process again. It took 5 attempts but each time the remote was running through (and failing) different endpoints and nwk values, and updating the existing values tied to the IEEE. You know it’s working once the battery on the green successful configuration card goes from unavailable to blank or shows a value.

I have/had the same problem. Device appeared but no events seen in HA. After several tries, device appeared with valid battery status and it is working since. I have two of these and the older one is working for months stable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues when pairing IKEA Tradfri Styrbar with ZHA via Sonoff ...
Reconfiguring it using the entity page did not work either. And tips on how to integrate it properly?
Read more >
Ikea Styrbar remote in Zigbee Add on?
set it back to factory defaults (quickly press the pairing button 4 (or 5 times) until the LED flashes · Long press (10s)...
Read more >
Impulse Purchase Ikea Styrbar Remote - YouTube
Impulse Purchase - Ikea Styrbar 4 button remote ... around the box 04:28 Unboxing 06:25 Pairing with ZHA 08:53 Importing the Blueprint 10:03 ......
Read more >
Using the IKEA Trådfri Remote With Home Assistant
To pair the remote insert the battery and then press the sync button on the inside of the back case four times in...
Read more >
How to Pair IKEA Remote Control in Home Assistant
This does a factory reset for the remote, and it'll be immediately ready for pairing. 2. Start the discover mode for ZHA and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found