There was an error while loading. Please reload this page.
The Websocket message command setData is used to run javascript for the current model.
setData
Request
{ "command":"setData", "action": "some_data = 1425; some_other_data = 3.14;" }
Response
If the request was successful "success" will be "true".
An example of a setData response.
{ "success":true, "command":"setData" }