18 lines
574 B
YAML
18 lines
574 B
YAML
###############
|
|
# REST REQUESTS
|
|
###############
|
|
|
|
## commands ##
|
|
rest_command:
|
|
## openEMS ##
|
|
set_ess_remote_mode:
|
|
url: "http://x:admin@192.168.89.144:8074/jsonrpc"
|
|
method: POST
|
|
payload: '{"method": "updateComponentConfig", "params": {"componentId": "ess0","properties":[{"name": "controlMode","value": "REMOTE"}]}}'
|
|
|
|
set_ess_internal_mode:
|
|
url: "http://x:admin@192.168.89.144:8074/jsonrpc"
|
|
method: POST
|
|
payload: '{"method": "updateComponentConfig", "params": {"componentId": "ess0","properties":[{"name": "controlMode","value": "INTERNAL"}]}}'
|
|
|