Connect smart button to my app

Hello, I want to connect a smart button to control some functions in my app.
I try with a bluetooth button but I have some problem with HID, so I looking for other solutions.
May you suggest a solution?
It is possible to use ZIGBEE smart button?

Provide some information about a ZIGBEE smart button, how it works, connectivity, sending commands, receiving output etc.