I have Aqara's P2 door sensor paired via Matter over Thread. The sensor has a button that can be used to reset it by holding it for 5 seconds. The button also seems to be exposed as an entity, called button.aqara_door_and_window_sensor_p2_identify. Pressing the button (without holding) does not seem to change the entity's state. Is this entity referring to something else? Has anyone been able to use the button on the door sensor in HA?
#Aqara P2 door sensor button
1 messages · Page 1 of 1 (latest)
The button is not exposed (by Aqara) to Matter.
identify buttons are the other way around; you can press it to let the device signal something (e.g. a sound or blink a light) to identify it.
That makes sense. Thank you.
Slightly different question ... My Aqara P2 D&W sensor has a switch entity in HA. Does anyone know what that is for?
Interesting. Mine does not.
Are you sure about that ?
What firmware version is on it ?
Sounds like a firmware issue then
Found something odd .... I have one HA instance for testing (I used this to initially pair my Aqara P2 D&W many months ago), and another HA instance for my production system (which is sharing the same Aqara D&W sensor but only started sharing a few months ago). The testing instance shows the switch entity. The production instance does not. Firmware is 1.0.0.0. Also, just comparing the clusters found on the Matter Server Web-UI, both HA instances seem to have the same set of clusters. I do recall when I first paired the sensor, the switch entity was not there. It was sometime later that it started showing up.
One other thing, when I actually turn the switch ON, I get the error unsupportedCluster (0xc3).
Maybe your testing instance runs a test version of matter integration ?
What you could do is remove the device and re-add it
Just using the regular/released Matter Integration. I did however reload the Matter Integration and afterwards the switch entity became unknown, so I went ahead and deleted that entity, so all is good 🙂