Go to the Sidebar → Developer Tools → Events. In the box “Listen to events”, enter smartthings.button and press “start listening”. Now when you press a button on the remote, you should see an event there. You can then use this information to create an automation. Take a look here for a solution: