hortinstein / node-dash-button

A small module to emit events when an Amazon Dash Button is pressed
949 stars 94 forks source link

Add discovery mode to api #39

Open michbeck100 opened 7 years ago

michbeck100 commented 7 years ago

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.