Rules not responding to some actions with zigbee2mqtt

I’ve recently switched from the legacy Zigbee add-on to the zigbee2mqtt add-on. I can see it’s quite a bit more powerful, but I’m having issues with pretty much every Zigbee device I’ve tried.

With the new Ikea Styrbar remote I can see all the exposed actions, and those actions are emitted when I click the corresponding button on the remote.

In this example, l’ve selected arrow left click. When I click the left arrow on the remote, I see the action being read by the Thing, but if I build a Rule that uses the action as a trigger, the Rule is never triggered.

Screen Shot 2022-05-08 at 6.38.36 PM

The issue is not limited to the Ikea Styrbar remote. I’m also seeing issues with a SmartThings button. The button supports single, double clicks and long-press. I’ve set up a rules that respond to all three actions, but only the single click and the long-press rules are triggered. The Thing sees the double-click event, but it doesn’t trigger the Rule.

Since the Thing sees the action happening, I’m perplexed as to why the Rules are being triggered.

Is there something obvious I’m missing?

I’ve checked in /extensions/zigbee2mqtt-adapter to see if a pending update for any of my devices is available, but the Update button is dimmed for all of them, so I guess there aren’t any pending update.

Can you please give a full screenshot of the rules

I built a new/simpler rule to clearly demonstrate the issue and remove as many variables as possible.

IF arrow_left_click THEN turn on TV Cat Lamp

I can see the Thing recognizing the arrow_left_click action, but it does not turn on the TV Cat Lamp. The TV Cat Lamp does react to other rules.

can you add a screenshot of the tv cat lamp things, and also have you looked into your log?

I’m not seeing any records in the logs for the left_arrow_click action even though I can see the Thing update when I click the various buttons.

  1. with the same rules are you able to change somethin on another things?
  2. on the same things are you able to change color or anything else with the same rules?
    3)since the time you changed your zigbee to zigbee2mqtt, did you delete and readdd the light?
  3. can you enable debug mode in zigbee2mqtt addon

with the same rules are you able to change somethin on another things?

the left_arrow_click action (as well as left_arrow_click) cant activate any rules that I’ve tested

on the same things are you able to change color or anything else with the same rules?

The TV Cat Lamp does respond to rules triggered by other Things

3)since the time you changed your zigbee to zigbee2mqtt, did you delete and readdd the light?

The light is not a Zigbee light, its a Kasa/TP-Link light

can you enable debug mode in zigbee2mqtt addon

I’ll do that.

I see this in the logs:

2022-05-09 17:57:16.534 INFO   : zigbee2mqtt-adapter: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ * * *
2022-05-09 17:57:16.535 INFO   : zigbee2mqtt-adapter: in incoming message, topic: zigbee2mqtt/0x04cd15fffe9d43bd
2022-05-09 17:57:16.536 INFO   : zigbee2mqtt-adapter: zigbee2mqtt
2022-05-09 17:57:16.537 INFO   : zigbee2mqtt-adapter: - zigbee_id = 0x04cd15fffe9d43bd
2022-05-09 17:57:16.537 INFO   : zigbee2mqtt-adapter: action -> 
2022-05-09 17:57:16.538 INFO   : zigbee2mqtt-adapter: arrow left click
2022-05-09 17:57:16.539 INFO   : zigbee2mqtt-adapter: battery -> 
2022-05-09 17:57:16.539 INFO   : zigbee2mqtt-adapter: 100
2022-05-09 17:57:16.545 INFO   : zigbee2mqtt-adapter: linkquality -> 
2022-05-09 17:57:16.547 INFO   : zigbee2mqtt-adapter: 159
2022-05-09 17:57:16.547 INFO   : zigbee2mqtt-adapter: - that property could not be found: update
2022-05-09 17:57:16.548 INFO   : zigbee2mqtt-adapter: - ignoring update property

The part 2022-05-09 17:57:16.538 INFO : zigbee2mqtt-adapter: arrow left click looks good. The 2022-05-09 17:57:16.547 INFO : zigbee2mqtt-adapter: - that property could not be found: update 2022-05-09 17:57:16.548 INFO : zigbee2mqtt-adapter: - ignoring update property part, not so much.

Everything look find on the button part, could you try a rule like at x hour turn on just to see if the light is responding to other type of trigger

With the same Styrbar remote, I updated the rule to respond clicking to the top button instead of the left button.

It works as expected. Here are the logs:

2022-05-10 07:55:48.048 INFO   : zigbee2mqtt-adapter: in incoming message, topic: zigbee2mqtt/0x04cd15fffe9d43bd
2022-05-10 07:55:48.049 INFO   : zigbee2mqtt-adapter: zigbee2mqtt
2022-05-10 07:55:48.050 INFO   : zigbee2mqtt-adapter: - zigbee_id = 0x04cd15fffe9d43bd
2022-05-10 07:55:48.051 INFO   : zigbee2mqtt-adapter: extra_boolean updated
2022-05-10 07:55:48.052 INFO   : zigbee2mqtt-adapter: action -> 
2022-05-10 07:55:48.053 INFO   : zigbee2mqtt-adapter: on
2022-05-10 07:55:48.066 INFO   : zigbee2mqtt-adapter: battery -> 
2022-05-10 07:55:48.067 INFO   : zigbee2mqtt-adapter: 100
2022-05-10 07:55:48.068 INFO   : zigbee2mqtt-adapter: linkquality -> 
2022-05-10 07:55:48.070 INFO   : zigbee2mqtt-adapter: 159
2022-05-10 07:55:48.072 INFO   : zigbee2mqtt-adapter: - that property could not be found: update
2022-05-10 07:55:48.073 INFO   : zigbee2mqtt-adapter: - ignoring update property

you should probably open an issue to zigbee2mqtt github