It would be great if one could also start the "discovery" mode currently implemented in bin/findbutton programmatically. It think this should be pretty easy to implement, because most of the register function is the same like in findbutton, except for the address filtering.