I issue the command
service: zha.issue_zigbee_cluster_command
data:
ieee: ‘xx:xx:xx:xx:xx:xx:xx:xx’
endpoint_id: 11
cluster_id: 25
cluster_type: out
command: 0
command_type: client
args:
- 0
- 100
and I get this error
2021-04-18 08:58:57 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Unexpected error for call_service at pos 1: 11
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 359, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 559, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1515, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 719, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/zha/api.py", line 1002, in issue_zigbee_cluster_command
response = await zha_device.issue_cluster_command(
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 593, in issue_cluster_command
cluster = self.async_get_cluster(endpoint_id, cluster_id, cluster_type)
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 519, in async_get_cluster
return clusters[endpoint_id][cluster_type][cluster_id]
KeyError: 11
2021-04-18 08:58:57 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [281472532831680] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 18, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 439, in handle_execute_script
await script_obj.async_run(context=context)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1200, in async_run
await asyncio.shield(run.async_run())
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 341, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 359, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 559, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1515, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 719, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/zha/api.py", line 1002, in issue_zigbee_cluster_command
response = await zha_device.issue_cluster_command(
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 593, in issue_cluster_command
cluster = self.async_get_cluster(endpoint_id, cluster_id, cluster_type)
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 519, in async_get_cluster
return clusters[endpoint_id][cluster_type][cluster_id]
KeyError: 11
probably missing step…
I ran a diff between mine and @mstanislav’s mine says:
“class”: “zhaquirks.philips.rwlfirstgen.PhilipsRWLFirstGen”
and I don’t have the following in my node_descriptor.
, *allocate_address=True, *complex_descriptor_available=False, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False, *is_valid=True, *logical_type=<LogicalType.EndDevice: 2>, *user_descriptor_available=False)",
and I do have the ota dir… I downloaded the files
➜ ~ cd /config/zha_ota
➜ zha_ota ls -la -d "$PWD/"*
-rw-r--r-- 1 root root 256632 Jan 20 2020 /config/zha_ota/ModuLum-ATmega_010B_5.130.1.30000_0012.sbl-ota
-rw-r--r-- 1 root root 69694 Apr 16 23:13 /config/zha_ota/index.json
and conf of course
➜ zha_ota tail -5 /config/configuration.yaml
zigpy_config:
ota:
ikea_provider: true
ledvance_provider: true
otau_directory: /config/zha_ota
not sure what i’m missing