Class ExecuteSystemCommandRequest


public class ExecuteSystemCommandRequest extends JsonrpcRequest
Represents a JSON-RPC Request to execute a system command on OpenEMS Edge.
 {
   "jsonrpc": "2.0",
   "id": "UUID",
   "method": "executeSystemCommand",
   "params": {
        "command": string,
        "runInBackground"?: boolean = false, // run the command in background (true) or in foreground (false)
        "timeoutSeconds"?: number = 5, // interrupt the command after ... seconds
        "username"?: string,
        "password"?: string,
   }
 }