As you already use Tasker, you might want to take a look at SmartThings Rest API using Tasker - SmartApps & Automations - SmartThings Community.
@Paul_Oliver has given you the essence of making a call to the SmartThings API and @Jake_Mohl has run with it.