Hello developer community,
this is one of a few Ideas I like the AC to consider.
We have no good pattern for pairing devices. And pairing actually differs a lot (OAuth, Pin, Button-press, scanning a barcode). And also no good ways to present other Thing management actions like “Reset remote device”, “Reboot remote” or “Create new user token” etc.
I propose to add Thing actions. Those are listed via the REST endpoint and also available via the OSGI console. UIs would present them in the Thing screen:
An action can either just trigger something (that is reported via the Thing status) or be a web-link to a binding hosted html endpoint. The latter one is necessary for showing oauth dialogs. One binding that requires this functionality is the Amazon Echo/Alexa binding, which atm hosts such a mechanism non-standardized and would benefit.