Aqara wall switch randomly not working / firing events

Hi,

I have simple and double aqara wall switches. For a couple of days, I’ve noticed that I had to press two times the button in order to get the automation fired. After I’ve pressed the button for the second time, it works for all the next presses as well. But the problem will come back if I don’t use the wall switch for 5 minutes.

My hardware configuration is an Intel NUC with a Deconz Conbee II.

I’ve subscribed to the deconz_event in the developer tools and I can confirm that the event is not fired, meaning deconz didn’t get the Zigbee message. :neutral_face:

Can somebody help me to fix this issue? :pray:

Interesting, I too had noticed this recently although iniitally I assumed perhaps I had not fully pressed the switch.

My set up is with the Xiaomi gateway. Will have alook at the log next time it occurs and follow this thread.

What’s the distance to the ConBee? Are these battery powered or mains powere?

I’ve just moved my Intel NUC with the conbee II to my living room, and the problem remains (I have one of my wall switches in my living room)

All of my switches are battery powered.

I only have one line powered wall switch and it doesn’t have the problem :frowning:

Did you take a look at the mesh? Are the connections good? Do you have other mains powered zugbee devices?

I have a lot or Philips Hue devices which are main powered.

How can I look at the mesh?

Through VNC, are you using the add-on or “normal” docker container for deconz?

Normal add-on. I’ll post a screenshot

Here it is :

I have no idea how to interpret this. I don’t want to abuse of your time so if you have a link for a page that explains how to decrypt this, that would be nice ! :+1:

Start by moving around the different items so rhat the connections get visible. On the first look it looks like all of them route the traffic dirwvtly to the stick and not through any other mains powered device. Are the hue devices in the same mesh or connected to the hue hub?

Haaa, nice point !!! Indeed my hue devices are connected through the philips hue bridge, integreted directly to Home Assitant. Therefore, my conbee don’t have knowledge of the existence of my hue devices. Do you think I should get rid of my hue bridge and connect directly my hue lights to my conbee ?

Here’s a better screenshot. Do you know what the orange color means ?

These are two different mesh then, and they don’t know of each other. I ditched my hue hub around 3 years ago and moved all devices to the ConBee. Never looked back. Best thing is that the hue remotes and sensors now push their state to Home Assistant instead of polling it from the Hue bridge.

As far as I remwmber the orange devices are mains powered.

Thanks @Burningstone, I’ll try that and see how it goes from then. I’ll keep you posted!.

I’ve paired my living room hue lights to Deconz and removed them from my hue bridge. So here’s the new setup :

Unfortunately, the problem remains exactly the same :cry:

So if I get this right, you link your wall switches to the xiaomi hub and link that hub to Home Assistant ?

Yes this is correct. HA handles virtually all the automations, there are still a couple I haven’t transitioned across to HA from the Xiaomi app

Interesting.

I’m wondering if it’s possible to listen to the zigbee events directly within Deconz. What do you think @Burningstone?

I’d wait for at least 24 hours to give the mesh time to rebuild and if that doesn’t solve the issue, I’d try to repair the devices.

1 Like