You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have v0.9.5 installed and when I use the "ZHA Toolkit: all_routes_and_neighbors", it fails with this being logged:
2023-07-23 09:18:49.298 INFO (MainThread) [custom_components.zha_toolkit] Running ZHA Toolkit service: <ServiceCall zha_toolkit.all_routes_and_neighbours (c:XXXXXXXXXXXXXXXXXXXXXXXXXXX)>
2023-07-23 09:18:49.330 DEBUG (MainThread) [custom_components.zha_toolkit] module is <module 'custom_components.zha_toolkit' from '/config/custom_components/zha_toolkit/__init__.py'>
2023-07-23 09:18:49.345 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Parameters '{}'
2023-07-23 09:18:49.345 DEBUG (MainThread) [custom_components.zha_toolkit.utils] Final manf 'None'
2023-07-23 09:18:49.347 DEBUG (MainThread) [custom_components.zha_toolkit] Default handler for all_routes_and_neighbours
2023-07-23 09:18:49.347 DEBUG (MainThread) [custom_components.zha_toolkit] Handler: <function command_handler_default at 0x7f5d12f920>
2023-07-23 09:18:49.347 DEBUG (MainThread) [custom_components.zha_toolkit] running default command: <ServiceCall zha_toolkit.all_routes_and_neighbours (c:XXXXXXXXXXXXXXXXXXXXXXXXXXX)>
2023-07-23 09:18:49.357 DEBUG (MainThread) [custom_components.zha_toolkit.default] Trying to import custom_components.zha_toolkit.neighbours to call all_routes_and_neighbours
2023-07-23 09:18:49.363 DEBUG (MainThread) [custom_components.zha_toolkit.neighbours] Getting routes and neighbours for all devices: <ServiceCall zha_toolkit.all_routes_and_neighbours (c:XXXXXXXXXXXXXXXXXXXXXXXXXXX)>
2023-07-23 09:18:49.364 DEBUG (MainThread) [custom_components.zha_toolkit.neighbours] 00:12:4b:00:25:xx:xx:xx: Querying routes and neighbours: 1 out of 7
2023-07-23 09:18:49.380 DEBUG (MainThread) [custom_components.zha_toolkit.neighbours] 00:12:4b:00:25:xx:xx:xx: route request Status:Status.SUCCESS. Routes: Routes(Entries=0, StartIndex=0, RoutingTableList=[])
2023-07-23 09:18:49.381 DEBUG (MainThread) [custom_components.zha_toolkit.neighbours] Mgmt_Rtg_rsp: Routes(Entries=0, StartIndex=0, RoutingTableList=[])
2023-07-23 09:18:50.791 DEBUG (MainThread) [custom_components.zha_toolkit.neighbours] 00:12:4b:00:25:xx:xx:xx: neighbour request Status: Status.SUCCESS. Response: Neighbors(Entries=6, StartIndex=0, NeighborTableList=[Neighbor(extended_pan_id=ee:64:a7:2e:45:xx:xx:xx, ieee=00:15:bc:00:2f:xx:xx:xx, nwk=0xA25C, device_type=<DeviceType.Router: 1>, rx_on_when_idle=<RxOnWhenIdle.On: 1>, relationship=<Relationship.Child: 1>, reserved1=0, permit_joining=<PermitJoins.Unknown: 2>, reserved2=0, depth=1, lqi=84), Neighbor(extended_pan_id=ee:64:a7:2e:45:xx:xx:xx, ieee=00:15:bc:00:1d:xx:xx:xx, nwk=0x30C0, device_type=<DeviceType.Router: 1>, rx_on_when_idle=<RxOnWhenIdle.On: 1>, relationship=<Relationship.Child: 1>, reserved1=0, permit_joining=<PermitJoins.Unknown: 2>, reserved2=0, depth=1, lqi=48)])
2023-07-23 09:18:50.793 DEBUG (MainThread) [custom_components.zha_toolkit] event_data {'zha_toolkit_version': 'v0.9.5', 'zigpy_version': '0.56.2', 'zigpy_rf_version': '0.11.3', 'ieee_org': None, 'ieee': 'None', 'command': 'all_routes_and_neighbours', 'command_data': None, 'start_time': '2023-07-23T07:18:49.346917+00:00', 'errors': ['AttributeError("\'Neighbors\' object has no attribute \'neighbor_table_list\'")'], 'params': {'dir': 0, 'tries': 1, 'expect_reply': True, 'args': [], 'read_before_write': True, 'read_after_write': True}, 'success': False}
2023-07-23 09:18:50.794 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 'Neighbors' object has no attribute 'neighbor_table_list'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 703, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 665, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 1965, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2005, in _execute_service
return await cast(
^^^^^^^^^^^
File "/config/custom_components/zha_toolkit/__init__.py", line 777, in toolkit_service
raise handler_exception
File "/config/custom_components/zha_toolkit/__init__.py", line 741, in toolkit_service
await handler(
File "/config/custom_components/zha_toolkit/__init__.py", line 826, in command_handler_default
await default.default(
File "/config/custom_components/zha_toolkit/default.py", line 40, in default
await handler(app, listener, ieee, cmd, data, service, params, event_data)
File "/config/custom_components/zha_toolkit/neighbours.py", line 68, in all_routes_and_neighbours
all_routes[str(device.ieee)] = await _routes_and_neighbours(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/zha_toolkit/neighbours.py", line 46, in _routes_and_neighbours
nbns = await asyncio.wait_for(async_get_neighbours(device), 180)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/asyncio/tasks.py", line 479, in wait_for
return fut.result()
^^^^^^^^^^^^
File "/config/custom_components/zha_toolkit/neighbours.py", line 126, in async_get_neighbours
neighbours = val.neighbor_table_list
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Neighbors' object has no attribute 'neighbor_table_list'
I am using the "slae.sh cc2652rb stick - slaesh's iot stuff" USB ZigBee stick and a bunch of Develco ZigBee devices. They are all detected online in ZHA.
The text was updated successfully, but these errors were encountered:
I have v0.9.5 installed and when I use the "ZHA Toolkit: all_routes_and_neighbors", it fails with this being logged:
I am using the "slae.sh cc2652rb stick - slaesh's iot stuff" USB ZigBee stick and a bunch of Develco ZigBee devices. They are all detected online in ZHA.
The text was updated successfully, but these errors were encountered: