You want to follow these instructions.
You’re looking in the logs (under My Hub, Event List) for something labelled “Catchall” followed by a string of numbers and letters.
catchall: 0104 0000 01 01 0100 00 B014 00 04 115F 0A 01 01FFF4...
The key bit here is
B014, that is the group of 4 characters after the
Create a new Device from the My Devices page with that value as the Network ID, and the correct Device Type Handler, and hopefully it’ll work.
I’ve got a 50% success rate at the moment with my motion sensors.
@JcMarin, is it not https://github.com/a4refillpad/Xiaomi/blob/master/devicetypes/a4refillpad/xiaomi-zigbee-button.src/xiaomi-zigbee-button.groovy <-- this?
EDIT: Ah, no, you’re right. That code is for the round button, not the newer wall button. I’m very interested in getting those working too.