-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add to Xiaomi Aqara D1 switch QBKG24LM decoupled mode #4683
Add to Xiaomi Aqara D1 switch QBKG24LM decoupled mode #4683
Comments
Can you try applying the changes from https://github.com/Koenkk/zigbee-herdsman-converters/pull/1672/files. See https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html on how to modify these files. |
Seems it doesn't work. If i publish topic zigbee2mqtt/KIDSROOM_SWITCH/system/set it prints ERROR: Publish 'set' 'operation_mode' to 'KIDSROOM_SWITCH' failed: 'Error: Write 0x00158d00052bfccc/1 aqaraOpple({"512":{"value":0,"type":32}}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null}) failed (Status 'UNSUPPORTED_ATTRIBUTE')' If i try zigbee2mqtt/KIDSROOM_SWITCH/right/set { ERROR: Publish 'set' 'operation_mode' to 'KIDSROOM_SWITCH' failed: 'Error: Write 0x00158d00052bfccc/2 aqaraOpple({"512":{"value":0,"type":32}}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":4447,"transactionSequenceNumber":null}) failed (Timeout - 13794 - 2 - 18 - 64704 - 4 after 10000ms)' |
I tried to add to toZigbee.js:
This helped. Switch turns to decoupled mode, but buttons don't work. No messages in logs about pressed buttons. |
@Amarrant in the debug log, do you see someting like To enable debug logging set in advanced:
log_level: debug |
@Koenkk yep. While pressing decoupled button
|
Check with latest changes from https://github.com/Koenkk/zigbee-herdsman-converters/pull/1672/files again. |
@Koenkk YES! It works.
While long pressing button |
@Amarrant I'm not sure about the long press, usually the Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
Now is no way to set decoupled mode for this switch.
ERROR: No converter available for 'operation_mode' ([object Object]) in logs.
Tried on zigbee2mqtt edge release 1.15.0-dev (commit #9e4e8ac)
The text was updated successfully, but these errors were encountered: