How can I select object w/o user input?

I don’t believe this is possible. The main reason is for security. The SmartApps are sandboxed in such a way that they only have access to the devices that the user authorizes. There’s no way to discover and automatically use devices without the user interacting with the SmartApp installation screen.