Hello,
I have a use case where I need to trigger a device(not from my C2C integration but in SmartThings ecosystem) from my SchemaApp when I receive a trigger to my SchemaApp from my cloud devices.
For example, When a person enters a room, my cloud SchemaApp will get event from the occupancy sensor and I need to turn on the HVAC or open the blinds.
Is there a way to do this?
Currently, I have SchemaApp up and running using a webhook and I can see my cloud devices in SmartThings App.
Would I need to do this using SmartThings API? If yes, is there an easy way to retrieve the SmartThings token? I was reading SmartThings API Help for tokens. Is this the only way to get tokens?