-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Issue with Aqara wall switch QBKG12LM (Double with L+N) #405
Comments
Can you provide the |
Hi, here is the log output For a decoupled button, I get always the following message
For info, when button is actioning the relay, I get these messages
When I press again:
|
should be fixed with the latest zigbee2mqtt dev branch, can you check? |
Thank you @Koenkk
So I can see the "click" now with value right_single (or left_single) I tried to set the right relay on/off using topic "zigbee2mqtt/Aqara_Switch/right/set" and value:
when "OFF" is sent, I have this:
In both case, I have the correct status for "state_right" but I also have a "state":"ON".
|
Can you clear |
I have just removed the the "state": "ON" for this device from state.json and restarted zigbee2mqtt and it's working perfectly now/ |
great! |
Maybe need to do the same fix for QBKG11LM. Because I have the same problem with it.
|
@zvldz can you try with the following QBKG11LM_click: {
cid: 'genMultistateInput',
type: ['attReport', 'readRsp'],
convert: (model, msg, publish, options) => {
if ([1, 2].includes(msg.data.data.presentValue)) {
const times = {1: 'single', 2: 'double'};
return {click: times[msg.data.data.presentValue]};
}
},
}, |
Works. I also added fz.QBKG11LM_click to the devices.js file. Thanks! |
Can you make a PR? |
Created |
Adds support for setting calibration value (time) on MOES Curtain modules, solution for Koenkk/zigbee2mqtt#7128
Hi,
I am trying to configure the Aqara switch using the 'decoupled' option so pressing the button on the siwtch does not action the relay authomatically.
I tried that with the Xiaomi gateway and it's working as expected but using Zigbee2mqtt, as soon as I decouple the switch from the relay, I don't get any message when I press the switch, so I cannot use rules to control the relays.
Could anyone help me with this ?
I am using CC2531 with FW 20190223 with zigbee2mqtt version 1.3.1 (latest dev branch update).
Thank you,
Fabian
The text was updated successfully, but these errors were encountered: