zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

Aqara Dual Relay T2 (LLKZMK12LM ) Configuration Failure

Open morhimi opened this issue 1 year ago • 4 comments

What happened?

I get configuration failure message after adding the device to the network today.

What did you expect to happen?

configuration should succeed

How to reproduce it (minimal and precise)

add the device to zigbee network

Zigbee2MQTT version

1.36.0-dev commit: aaed8ab

Adapter firmware version

7.4.1 [GA]

Adapter

SLZB-07

Setup

Add-on on HAOS running on Mini PC (Intel)

Debug log

Debug 2024-03-04 22:44:26Received MQTT message on 'z2medge/bridge/request/device/configure' with data '{"id":"Aqara T2","transaction":"yhw5r-1"}'
Info 2024-03-04 22:44:26Configuring 'Aqara T2'
Debug 2024-03-04 22:44:26Configure reporting: false, read: true for 0x54ef4410009b3f3b/1 manuSpecificLumi [{"attribute":{"ID":10,"type":32},"min":-1,"max":-1,"change":-1}]
Debug 2024-03-04 22:44:26Received Zigbee message from 'Aqara T2', type 'readResponse', cluster 'manuSpecificLumi', data '{"10":3}' from endpoint 1 with groupID 0
Debug 2024-03-04 22:44:26LLKZMK12LM: Processed data into payload {}
Debug 2024-03-04 22:44:26Configure reporting: false, read: true for 0x54ef4410009b3f3b/2 manuSpecificLumi [{"attribute":{"ID":10,"type":32},"min":-1,"max":-1,"change":-1}]
Info 2024-03-04 22:44:26MQTT publish: topic 'z2medge/Aqara T2', payload '{"action":null,"consumption":0.09999999403953552,"current":0,"device_temperature":34,"energy":0.1,"interlock":"OFF","led_disabled_night":false,"linkquality":200,"mode":"power","operation_mode_l1":"decoupled","operation_mode_l2":"decoupled","power":0,"power_on_behavior":"off","power_on_behavior_l1":"off","power_outage_count":6,"pulse_length":200,"state":"OFF","state_l1":"OFF","state_l2":"OFF","switch_type":"none","switch_type_l1":"none","update":{"installed_version":-1,"latest_version":-1,"state":null},"update_available":null,"voltage":213.2}'
Debug 2024-03-04 22:44:26Received Zigbee message from 'Aqara T2', type 'readResponse', cluster 'manuSpecificLumi', data '{}' from endpoint 2 with groupID 0
Debug 2024-03-04 22:44:26LLKZMK12LM: Processed data into payload {}
Error 2024-03-04 22:44:26Exception while calling fromZigbee converter: Expected one of: 1, 2, 3, got: 'undefined'}
Debug 2024-03-04 22:44:26Error: Expected one of: 1, 2, 3, got: 'undefined' at getFromLookupByValue (/app/node_modules/zigbee-herdsman-converters/src/lib/utils.ts:592:15) at Object.convert (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:386:64) at Receive.onDeviceMessage (/app/lib/extension/receive.ts:153:51) at processTicksAndRejections (node:internal/process/task_queues:95:5) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17)
Error 2024-03-04 22:44:26Failed to configure 'Aqara T2', attempt 5 (Error: Read 0x54ef4410009b3f3b/2 manuSpecificLumi([10], {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE') at Endpoint.checkStatus (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:319:28) at Endpoint.read (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:469:22) at processTicksAndRejections (node:internal/process/task_queues:95:5) at setupAttributes (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:65:13) at configure (/app/node_modules/zigbee-herdsman-converters/src/lib/modernExtend.ts:86:17) at Object.configure (/app/node_modules/zigbee-herdsman-converters/src/index.ts:141:25) at Configure.configure (/app/lib/extension/configure.ts:122:13) at Configure.onMQTTMessage (/app/lib/extension/configure.ts:55:21) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:174:17))
Info 2024-03-04 22:44:26MQTT publish: topic 'z2medge/bridge/response/device/configure', payload '{"data":{"id":"Aqara T2"},"error":"Failed to configure (Read 0x54ef4410009b3f3b/2 manuSpecificLumi([10], {\"timeout\":10000,\"disableResponse\":false,\"disableRecovery\":false,\"disableDefaultResponse\":true,\"direction\":0,\"srcEndpoint\":null,\"reservedBits\":0,\"manufacturerCode\":4447,\"transactionSequenceNumber\":null,\"writeUndiv\":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE'))","status":"error","transaction":"yhw5r-1"}'

morhimi avatar Mar 04 '24 20:03 morhimi

forgot to mention that I'm running ember

morhimi avatar Mar 04 '24 20:03 morhimi

Anything I can do to assist in debugging this?

morhimi avatar Mar 24 '24 21:03 morhimi

any assistance will be appreciated...

morhimi avatar May 04 '24 14:05 morhimi

Can you go to the exposes tab and change the switch_type, does this work?

Koenkk avatar May 05 '24 19:05 Koenkk

I'm having a simular problem.

error 2024-08-06 06:44:51z2m: Exception while calling fromZigbee converter: Expected one of: 1, 2, 3, got: 'undefined'} error 2024-08-06 06:44:51z2m: Exception while calling fromZigbee converter: Expected one of: 0, 1, 2, 3, got: 'undefined'} error 2024-08-06 06:44:52z2m: Exception while calling fromZigbee converter: Expected one of: 0, 1, 3, got: 'undefined'} error 2024-08-06 06:44:52z2m: Exception while calling fromZigbee converter: Value is not a number, got undefined (undefined)}

changing the switch_type doesn't seem to resolve the issue

BeFygo avatar Aug 06 '24 04:08 BeFygo