setdevicestatus
/JSON?request=setdevicestatus&ref=##&value=VALUE&string=STRING&source=SOURCE
Sets the status of a device, either the value, the display string, or both. The "source" parameter is used for logging to display the source of the call.
If successful it returns:
{ "Response":"ok" }
If there is an error, the "Response" will contain an error string.