Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Issues with TRADFRI remote control and latest firmware 24.4.5 #2139

Closed
stickpin opened this issue Jan 27, 2023 · 2 comments
Closed

[BUG] Issues with TRADFRI remote control and latest firmware 24.4.5 #2139

stickpin opened this issue Jan 27, 2023 · 2 comments

Comments

@stickpin
Copy link
Contributor

stickpin commented Jan 27, 2023

Describe the bug

After upgrading a TRADFRI remote control firmware to version 24.4.5 that got released a few days ago, the remote is no longer working.

After pairing actions/buttons are no longer mapped in the Automation:
Screenshot 2023-01-27 at 12 01 04

When I press the buttons I see in the Logbook that it's reacting to toggle and to brightness but not reacting to arrows:
Screenshot 2023-01-27 at 12 02 26

I have two such remotes and the second remote showing Battery at 128%.

Screenshot 2023-01-27 at 12 06 51

I've tried to re-pair it multiple times, the issues are consistent.

Firmware is an official update that came from IKEA: http://fw.ota.homesmart.ikea.net/feed/version_info.json
Direct firmware URL: http://fw.ota.homesmart.ikea.net/global/GW1.0/01.19.046/bin/159699-5.1-TRADFRI-remote-control-24.4.5.ota.ota.signed

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to the latest firmware v24.4.5
  2. Pair
  3. Try to create an Automation

Device Diagnostics attached from both remotes:
zha-82cb22d2710536e6895ed76fe95c0918-IKEA of Sweden TRADFRI remote control-494eab00be7f661e1531611409bc50c6.json.txt
zha-82cb22d2710536e6895ed76fe95c0918-IKEA of Sweden TRADFRI remote control-bcec18dd16f69329eda08d2ac4fb82a4.json.txt

I also see the following errors in the HA log when I press on the arrows:

2023-01-27 12:21:55.870 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:21:56.408 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:21:56.637 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:21:56.852 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:21:57.058 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:21:57.260 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:21:57.494 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:21:58.369 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:21:58.832 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:21:59.569 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:00.957 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:01.529 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:02.052 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:02.558 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:03.005 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:03.747 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:22:04.140 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:22:04.484 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:22:19.445 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:22:20.183 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'
2023-01-27 12:22:20.947 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:21.376 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:22.338 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:22.847 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:23.162 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x01\x01\r\x00'
2023-01-27 12:22:24.281 WARNING (MainThread) [zigpy.zcl] [0x605C:1:0x0005] Unknown cluster command 7 b'\x00\x01\r\x00'

Let me know if you need more info.

Thanks a lot in advance.

@stickpin
Copy link
Contributor Author

stickpin commented Jan 27, 2023

It seems like it's not able to attach the correct quirk due to some changes in the firmware.
I guess it should be a zhaquirks.ikea.fivebtnremotezha.IkeaTradfriRemote1.

2023-01-27 13:40:27.653 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=208), 172, -57, 0x24a3, 255, 255, b'\x18Z\x01\x04\x00\x00B\x0eIKEA of Sweden\x05\x00\x00B\x16TRADFRI remote control']
2023-01-27 13:40:27.653 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=0, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY|APS_OPTION_RETRY: 320>, groupId=0, sequence=208), 172, -57, 0x24a3, 255, 255, b'\x18Z\x01\x04\x00\x00B\x0eIKEA of Sweden\x05\x00\x00B\x16TRADFRI remote control']
2023-01-27 13:40:27.653 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x24A3), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=208, profile_id=260, cluster_id=0, data=Serialized[b'\x18Z\x01\x04\x00\x00B\x0eIKEA of Sweden\x05\x00\x00B\x16TRADFRI remote control'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=172, rssi=-57)
2023-01-27 13:40:27.653 DEBUG (MainThread) [zigpy.zcl] [0x24A3:1:0x0000] Received ZCL frame: b'\x18Z\x01\x04\x00\x00B\x0eIKEA of Sweden\x05\x00\x00B\x16TRADFRI remote control'
2023-01-27 13:40:27.654 DEBUG (MainThread) [zigpy.zcl] [0x24A3:1:0x0000] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True, *is_reply=True), tsn=90, command_id=1, *direction=<Direction.Client_to_Server: 1>, *is_reply=True)
2023-01-27 13:40:27.655 DEBUG (MainThread) [zigpy.zcl] [0x24A3:1:0x0000] Decoded ZCL frame: Basic:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0004, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='IKEA of Sweden')), ReadAttributeRecord(attrid=0x0005, status=<Status.SUCCESS: 0>, value=TypeValue(type=CharacterString, value='TRADFRI remote control'))])
2023-01-27 13:40:27.656 INFO (MainThread) [zigpy.device] [0x24a3] Read model 'TRADFRI remote control' and manufacturer 'IKEA of Sweden' from <Endpoint id=1 in=[basic:0x0000, power:0x0001, identify:0x0003, poll_control:0x0020, lightlink:0x1000, manufacturer_specific:0xFC57, manufacturer_specific:0xFC7C] out=[identify:0x0003, groups:0x0004, scenes:0x0005, on_off:0x0006, level:0x0008, ota:0x0019, lightlink:0x1000] status=<Status.ZDO_INIT: 1>>
2023-01-27 13:40:27.656 INFO (MainThread) [zigpy.device] [0x24a3] Discovered basic device information for <Device model='TRADFRI remote control' manuf='IKEA of Sweden' nwk=0x24A3 ieee=xx:xx:xx:xx:xx:xx:xx:xx is_initialized=True>
2023-01-27 13:40:27.657 DEBUG (MainThread) [zigpy.application] Device is initialized <Device model='TRADFRI remote control' manuf='IKEA of Sweden' nwk=0x24A3 ieee=xx:xx:xx:xx:xx:xx:xx:xx is_initialized=True>
2023-01-27 13:40:27.657 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for IKEA of Sweden TRADFRI remote control (xx:xx:xx:xx:xx:xx:xx:xx)
2023-01-27 13:40:27.657 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.ikea.fivebtnremotezha.IkeaTradfriRemote3'>
2023-01-27 13:40:27.657 DEBUG (MainThread) [zigpy.quirks.registry] Fail because input cluster mismatch on at least one endpoint
2023-01-27 13:40:27.657 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.ikea.fivebtnremotezha.IkeaTradfriRemote2'>
2023-01-27 13:40:27.657 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-01-27 13:40:27.657 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.ikea.fivebtnremotezha.IkeaTradfriRemote1'>
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Fail because input cluster mismatch on at least one endpoint
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.ikea.fivebtnremote.IkeaTradfriRemote'>
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Fail because profile_id mismatch on at least one endpoint
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.ikea.tradfriplug.TradfriPlug'>
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1, 2, 242} {1}
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xiaomi.aqara.opple_switch.XiaomiOpple2ButtonSwitchFace2'>
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1, 2, 242} {1}
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xiaomi.aqara.opple_switch.XiaomiOpple2ButtonSwitchFace1'>
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1, 2, 41, 42, 242, 51, 21, 31} {1}
2023-01-27 13:40:27.658 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xbee.xbee_io.XBeeSensor'>
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1}
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.xbee.xbee3_io.XBee3Sensor'>
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1}
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.tuya.ts0201.MoesTemperatureHumidtySensorWithScreen'>
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.smartthings.tag_v4.SmartThingsTagV4'>
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor'>
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-01-27 13:40:27.659 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.netvox.z308e3ed.Z308E3ED'>
2023-01-27 13:40:27.660 DEBUG (MainThread) [zigpy.quirks.registry] Fail because device_type mismatch on at least one endpoint
2023-01-27 13:40:27.660 DEBUG (MainThread) [zigpy.quirks.registry] Considering <class 'zhaquirks.gledopto.soposhgu10.SoposhGU10'>
2023-01-27 13:40:27.660 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {11, 13} {1}

stickpin added a commit to stickpin/zha-device-handlers that referenced this issue Jan 27, 2023
TRADFRI remote control  - Add support for firmware v24.4.5

More details in this bug report: zigpy#2139
@stickpin
Copy link
Contributor Author

The issue is resolved: #2140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant