The sample I shared contains a dummy OAuth server which you can use to handle the OAuth interactions but you can make the call you need from the ST Schema Connector’s code.
There’s another option only if it’s for personal use and it’s a SmartApp Connector, but there are no samples of the device integration, only for automation > Simple SmartApp Tutorial (SmartApp SDK)