I already made webscripts in an app to return information about my devices to a web application. Now I need to send a command to a device from a similar weebscript or maybe another REST API call. My custom command is already made.
How can we send a command from a webscript? I tried from another code sample: "commands.send(devID,'commandeName');" but I get " Function expected. " error.
Otherwise, is there a REST or other http call I can make from my web application to (trigger a) send command?