====== Linbus multicontroller commands ====== The interaction with server is done trough web sockets To connect use this URL: ws://127.0.0.1:4444/linbus ===== Current height ===== On connection server starts to send current height for each motor {"name":"test1", "value":68} {"name":"test2", "value":82} ===== Movement commands ===== Send next commands to perform actions * Move up {"name":"test1", "command":"up"} * Move down {"name":"test1", "command":"down"} * Stop {"name":"test1", "command":"stop"} ===== Position commands ===== To connect use this URL: ws://127.0.0.1:4444/position Send desired position(in cm) in this format: {"name":"test1", "position":100} ===== Settings commands === To connect use this URL: ws://127.0.0.1:4444/settings Get settings: {"name":"test1", "action":"get"} Set settings: {"name":"test1", "action":"set", "min":0, "max":40, "displayName":"Motor1"} ===== Memory commands ===== To connect use this URL: ws://127.0.0.1:4444/memory Get stored positions: {"name":"test1", "action":"get"} Set stored positions: {"name":"test1", "action":"set", "positions":[100]}