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

Xiaomi/Aqara QBKG26LM doesn't report action state in operation_mode: decoupled #17477

Closed
oliverholliday opened this issue Apr 27, 2023 · 5 comments
Labels
problem Something isn't working

Comments

@oliverholliday
Copy link

oliverholliday commented Apr 27, 2023

This was resolved by updating firmware of my CC2531 usb zigbee modem

What happened?

I have the following wall switch and I've configured the right hand button to use operation_mode: decoupled. When in this mode no zigbee messages are received in HA for that button.

When in operation_mode: control_relay state changes are visible. I believe this is also the case for other models of the same switch (neutral or no neutral, and the 1/2/3 gang variants).

I have configured state_action: true in the hassio UI for "Settings (specific)".

After pressing buttons a few times the 'State' tab for the device shows:

{
    "flip_indicator_light": "ON",
    "linkquality": 81,
    "operation_mode_center": "control_relay",
    "operation_mode_left": "control_relay",
    "operation_mode_right": "decoupled",
    "state_center": "ON",
    "state_left": "ON",
    "state_right": "OFF",
    "update": {
        "installed_version": 33,
        "latest_version": 33,
        "state": "idle"
    },
    "update_available": false
}

There are other issues referencing this problem but no working solutions:
#12365
#17306

What did you expect to happen?

When in decoupled mode the switch should report an action state change, for the right hand switch the payload should include action: single_right.

How to reproduce it (minimal and precise)

Connect the switch, set operation_mode: decoupled for one of the buttons. Press the button.

Zigbee2MQTT version

1.30.3 commit: unknown

Adapter firmware version

20190608

Adapter

zStack12

Debug log

No response

@oliverholliday oliverholliday added the problem Something isn't working label Apr 27, 2023
@oliverholliday
Copy link
Author

oliverholliday commented Apr 27, 2023

@oliverholliday
Copy link
Author

oliverholliday commented Apr 27, 2023

To make sure I wasn't reading the logs wrong I created a home assistant automation. The automation triggers if I press any of the buttons except the one that I've configured to be decoupled. The decoupled button does nothing.

alias: decoupled test
description: ""
trigger:
  - platform: mqtt
    topic: zigbee2mqtt/0x54ef4410005e9c74/action
condition: []
action:
  - type: toggle
    device_id: 998c02f71788427093c43b5fb1dc741e
    entity_id: light.dining_standing
    domain: light
mode: single

@oliverholliday
Copy link
Author

oliverholliday commented Apr 27, 2023

I just flashed my CC2531 from 20190608 to 20211115 and it all works correctly.

Sorry about that, I had no idea the firmware was something that could cause this, or that was in active development.

@oliverholliday
Copy link
Author

@oliverholliday
Copy link
Author

One more thing to add: if you have an Aqara D1 or H1 switch and you're not seeing any power monitoring information I suspect you have the same firmware problem I had.

Up until I updated the firmware of my zigbee modem these properties weren't present in the payload/state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant