Using ZHA + Conbee (v1) and having problems adding Ikea Tradfri Remote (E1810)

Tags: #<Tag:0x00007f326e2b7288> #<Tag:0x00007f326e2b7058>

I can successfully pair the remote, but I’m supposed to see the actions of each button press when using zha_event, but I can’t see anything. But I do get some other things in my log-file, for each button press, but it is not a zha_event type.

When receiving the frame it says its from an unkown device
“Received frame from unknown device: 0xab36”

Below are the logs from every button. What can I do with this kind of information?

left arrow
2020-12-30 00:54:50 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 32]
2020-12-30 00:54:50 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2020-12-30 00:54:50 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, , 157, , 1, 260, 5, b’\x05|\x11g\x07\x00\x01\r\x00’, 0, 175, 167, 164, 0, 1, 4, -70]
2020-12-30 00:54:50 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Received frame from unknown device: 0xab36
2020-12-30 00:54:50 DEBUG (MainThread) [zigpy_deconz.api] ‘aps_data_indication’ response from , ep: 1, profile: 0x0104, cluster_id: 0x0005, data: b’057c11670700010d00’

right arrow
2020-12-30 00:54:51 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 32]
2020-12-30 00:54:51 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2020-12-30 00:54:51 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [30, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, , 1, , 11, 260, 0, b’\x18<\n\x01\x00 B’, 0, 175, 215, 164, 0, 1, 4, -64]
2020-12-30 00:54:51 DEBUG (MainThread) [zigpy.zcl] [0xcecf:11:0x0000] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=60 command_id=Command.Report_Attributes>
2020-12-30 00:54:51 DEBUG (MainThread) [zigpy.zcl] [0xcecf:11:0x0000] ZCL request 0x000a: [[Attribute(attrid=1, value=)]]
2020-12-30 00:54:51 DEBUG (MainThread) [zigpy.zcl] [0xcecf:11:0x0000] Attribute report received: app_version=66
2020-12-30 00:54:51 DEBUG (MainThread) [zigpy_deconz.api] ‘aps_data_indication’ response from , ep: 11, profile: 0x0104, cluster_id: 0x0000, data: b’183c0a01002042’

dim up
2020-12-30 00:56:07 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 32]
2020-12-30 00:56:07 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2020-12-30 00:56:07 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [30, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, , 157, , 1, 260, 8, b’\x01h\x06\x00+\x05\x00’, 0, 175, 143, 164, 0, 1, 2, -73]
2020-12-30 00:56:07 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Received frame from unknown device: 0xab36
2020-12-30 00:56:07 DEBUG (MainThread) [zigpy_deconz.api] ‘aps_data_indication’ response from , ep: 1, profile: 0x0104, cluster_id: 0x0008, data: b’016806002b0500’

dim down
2020-12-30 00:56:12 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 32]
2020-12-30 00:56:12 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2020-12-30 00:56:12 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [32, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, , 157, , 1, 260, 8, b’\x01i\x02\x01+\x05\x00\x00\x00’, 0, 175, 95, 164, 0, 1, 4, -79]
2020-12-30 00:56:12 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Received frame from unknown device: 0xab36
2020-12-30 00:56:12 DEBUG (MainThread) [zigpy_deconz.api] ‘aps_data_indication’ response from , ep: 1, profile: 0x0104, cluster_id: 0x0008, data: b’016902012b05000000’

on/off center button
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 32]
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [26, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, , 157, , 1, 260, 6, b’\x01j\x02’, 0, 175, 143, 164, 0, 1, 2, -73]
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Received frame from unknown device: 0xab36
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.api] ‘aps_data_indication’ response from , ep: 1, profile: 0x0104, cluster_id: 0x0006, data: b’016a02’
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 32]
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [30, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, , 1, , 11, 260, 6, b’\x18=\n\x00\x00\x10\x01’, 0, 175, 215, 164, 0, 1, 4, -64]
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy.zcl] [0xcecf:11:0x0006] ZCL deserialize: <ZCLHeader frame_control= manufacturer=None tsn=61 command_id=Command.Report_Attributes>
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy.zcl] [0xcecf:11:0x0006] ZCL request 0x000a: [[Attribute(attrid=0, value=)]]
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy.zcl] [0xcecf:11:0x0006] Attribute report received: on_off=1
2020-12-30 00:57:06 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=switch.tz3000_kdi2o9m6_ts011f_870acdfe_on_off, old_state=<state switch.tz3000_kdi2o9m6_ts011f_870acdfe_on_off=off; friendly_name=_TZ3000_kdi2o9m6 TS011F 870acdfe on_off @ 2020-12-30T00:54:39.432369+01:00>, new_state=<state switch.tz3000_kdi2o9m6_ts011f_870acdfe_on_off=on; friendly_name=_TZ3000_kdi2o9m6 TS011F 870acdfe on_off @ 2020-12-30T00:57:06.450132+01:00>>
2020-12-30 00:57:06 DEBUG (MainThread) [zigpy_deconz.api] ‘aps_data_indication’ response from , ep: 11, profile: 0x0104, cluster_id: 0x0006, data: b’183d0a00001001’

Have you tried importing the blueprint for that remote:

It works great with the Conbee II.

Yes I tried it and nothing happens when I select a light to turn on/off with the middle button. Do I have to modify the code somehow to make it work? I just imported the blueprint, selected which remote and which device to control.

Hi,
I’ve got exactly the same problem this morning while adding my new E1810 remote with the same configuration ZHA+Conbee I, so this is why I found this post !
The remote was correctly discovered and configured but when I came back to the devices list it wasn’t there. The number of entities and devices paired on the zha panels didn’t change, the remote wasn’t correctly added.

I tried some times, and like you, the logs were ok, the button were ok too.

[0x0000:zdo] ZDO request ZDOCmd.Mgmt_Permit_Joining_req: [60, <Bool.false: 0>]
Device 0x4131 (60:a4:23:ff:fe:bb:d1:24) joined the network
Device 60:a4:23:ff:fe:bb:d1:24 changed id (0x9e09 => 0x4131)
[0x4131:zdo] ZDO request ZDOCmd.Device_annce: [0x4131, 60:a4:23:ff:fe:bb:d1:24, 128]
device - 16689:60:a4:23:ff:fe:bb:d1:24 entering async_device_initialized - is_new_join: False
device - 16689:60:a4:23:ff:fe:bb:d1:24 has been reset and re-added or its nwk address changed
skipping discovery for previously discovered device - 16689:60:a4:23:ff:fe:bb:d1:24
[16689](TRADFRI remote control): started configuration
[16689:ZDO](TRADFRI remote control): 'async_configure' stage succeeded
[0x4131] Extending timeout for 0x3f request
[0x4131] Extending timeout for 0x41 request
[0x4131] Extending timeout for 0x43 request
Device 60:a4:23:ff:fe:bb:d1:24 already exists. Updating it.
[16689:1:0x0001]: bound 'power' cluster: Status.SUCCESS
[0x4131] Extending timeout for 0x45 request
[16689:1:0x0000]: bound 'basic' cluster: Status.SUCCESS
[16689:1:0x0000]: finished channel configuration
[0x4131] Extending timeout for 0x47 request
[0x4131:1:0x1000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=65 command_id=65>
[16689:1:0x1000]: bound 'lightlink' cluster: [0]
[16689:1:0x1000]: finished channel configuration
[0x4131] Extending timeout for 0x49 request
[0x4131:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=69 command_id=Command.Configure_Reporting_rsp>
[16689:1:0x0001]: reporting 'battery_voltage' attr on 'power' cluster: 3600/10800/1: Result: '[[ConfigureReportingResponseRecord(status=0)]]'
[0x4131] Extending timeout for 0x4b request
[0x4131:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=71 command_id=Command.Read_Attributes_rsp>
[16689:1:0x0000]: initializing channel: from_cache: False
[0x4131] Extending timeout for 0x4d request
[0x4131:zdo] ZDO request ZDOCmd.Match_Desc_req: [0xFFFD, 260, [25], []]
[0x4131:1:0x0020] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=73 command_id=Command.Write_Attributes_rsp>
[16689:1:0x0020]: 3300.0s check-in interval set: [[WriteAttributesStatusRecord(status=<Status.SUCCESS: 0>)]]
[0x4131] Extending timeout for 0x50 request
[0x4131:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=75 command_id=Command.Configure_Reporting_rsp>
[16689:1:0x0001]: reporting 'battery_percentage_remaining' attr on 'power' cluster: 3600/10800/1: Result: '[[ConfigureReportingResponseRecord(status=0)]]'
[16689:1:0x0001]: finished channel configuration
[0x4131] Extending timeout for 0x52 request
[16689:1:0x0008]: bound 'level' cluster: Status.SUCCESS
[16689:1:0x0008]: finished channel configuration
[0x4131] Extending timeout for 0x54 request
[0x6648](unk_model): Attempting to checkin with device - missed checkins: 1
[0x6648] Delivery error for seq # 0x56, on endpoint id 11 cluster 0x0000: message send failure
[16689:1:0x0020]: bound 'poll_control' cluster: Status.SUCCESS
[16689:1:0x0020]: finished channel configuration
[0x4131] Extending timeout for 0x58 request
[16689:1:0x0006]: bound 'on_off' cluster: Status.SUCCESS
[16689:1:0x0006]: finished channel configuration
[16689:1:0x0019]: bound 'ota' cluster: Status.SUCCESS
[16689:1:0x0019]: finished channel configuration
[16689:1:0x0005]: bound 'scenes' cluster: Status.SUCCESS
[16689:1:0x0005]: finished channel configuration
[16689:1:0x0001]: 'async_configure' stage succeeded
[16689:1:0x1000]: 'async_configure' stage succeeded
[16689:1:0x0000]: 'async_configure' stage succeeded
[16689:1:0x0020]: 'async_configure' stage succeeded
[16689:1:0x0008]: 'async_configure' stage succeeded
[16689:1:0x0006]: 'async_configure' stage succeeded
[16689:1:0x0019]: 'async_configure' stage succeeded
[16689:1:0x0005]: 'async_configure' stage succeeded
[16689](TRADFRI remote control): completed configuration
[16689](TRADFRI remote control): stored in registry: ZhaDeviceEntry(name='IKEA of Sweden TRADFRI remote control', ieee='60:a4:23:ff:fe:bb:d1:24', last_seen=1609410271.035078)
[0x4131] Extending timeout for 0x5a request
[0x4131:1:0x0003] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=3 command_id=1>
[0x4131:1:0x0003] ZCL request 0x0001: []
[0x4131:1:0x0003] No handler for cluster command 1
[16689:1:0x0003]: received 'identify_query' command with [] args on cluster_id '3' tsn '3'
[0x4131:1:0x0003] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=90 command_id=Command.Default_Response>
[16689:1:0x0003]: executed 'trigger_effect' command with args: '(2, 0)' kwargs: '{}' result: [64, <Status.SUCCESS: 0>]
[16689](TRADFRI remote control): started initialization
[16689:ZDO](TRADFRI remote control): 'async_initialize' stage succeeded
[0x4131] Extending timeout for 0x5c request
[16689:1:0x1000]: initializing channel: from_cache: False
[0x4131] Extending timeout for 0x5e request
[16689:1:0x0020]: initializing channel: from_cache: False
[16689:1:0x0008]: initializing channel: from_cache: False
[16689:1:0x0006]: initializing channel: from_cache: False
[16689:1:0x0019]: initializing channel: from_cache: False
[16689:1:0x0005]: initializing channel: from_cache: False
[0x4131:1:0x0001] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=92 command_id=Command.Read_Attributes_rsp>
[0x4131:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=94 command_id=Command.Read_Attributes_rsp>
[16689:1:0x0000]: initializing channel: from_cache: False
[16689:1:0x0001]: 'async_initialize' stage succeeded
[16689:1:0x1000]: 'async_initialize' stage succeeded
[16689:1:0x0000]: 'async_initialize' stage succeeded
[16689:1:0x0020]: 'async_initialize' stage succeeded
[16689:1:0x0008]: 'async_initialize' stage succeeded
[16689:1:0x0006]: 'async_initialize' stage succeeded
[16689:1:0x0019]: 'async_initialize' stage succeeded
[16689:1:0x0005]: 'async_initialize' stage succeeded
[16689](TRADFRI remote control): power source: Battery or Unknown
[16689](TRADFRI remote control): completed initialization
[0x4131:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=4 command_id=2>
[0x4131:1:0x0006] ZCL request 0x0002: []
[0x4131:1:0x0006] No handler for cluster command 2
[0x4131:1:0x0008] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=5 command_id=6>
[0x4131:1:0x0008] ZCL request 0x0006: [0, 43, 5]
[0x4131:1:0x0008] No handler for cluster command 6
[0x4131:1:0x0005] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=True is_reply=False disable_default_response=False> manufacturer=4476 tsn=6 command_id=7>
[0x4131:1:0x0005] ZCL request 0x0007: [257, 13, 0]
[0x4131:1:0x0005] No handler for cluster command 7
[0x4131:1:0x0008] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=7 command_id=2>
[0x4131:1:0x0008] Data remains after deserializing ZCL frame
[0x4131:1:0x0008] ZCL request 0x0002: [1, 43, 5]
[0x4131:1:0x0008] No handler for cluster command 2
[0x4131:1:0x0005] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=True is_reply=False disable_default_response=False> manufacturer=4476 tsn=8 command_id=7>
[0x4131:1:0x0005] ZCL request 0x0007: [256, 13, 0]
[0x4131:1:0x0005] No handler for cluster command 7
[0x4131:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=9 command_id=2>
[0x4131:1:0x0006] ZCL request 0x0002: []
[0x4131:1:0x0006] No handler for cluster command 2
[0x4131:1:0x0006] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=10 command_id=2>
[0x4131:1:0x0006] ZCL request 0x0002: []
[0x4131:1:0x0006] No handler for cluster command 2

Finally I tried to reboot HA and it was the solution: I can see the remote in my devices list.
I hope it will be the same for you.

I never had any problems pairing the device or seeing the device in the device list. But according to instructions I should see some zha_event when pressing buttons but I can’t see it, and since the blueprints for this button doesn’t work for me, I assume the problems are related. I have rebooted HA like 10 times :slight_smile: Which firmware are you using for Conbee? I’m on and older version as I’m having huge problems updating the firmware for it.

Oh sorry, I didn’t well understand.
Zha write that my Conbee firmware is the 1.0

I solved it. I installed Ubunto on an old laptop, where I successfully upgrade the firmware for Conbee from 0x261f0500 to 0x26390500. As soon as I did that and plugged in the Conbee-stick into HA, I started getting zha_events and the blueprints for the Ikea-buttons worked perfectly :slight_smile: