This is an old revision of the document!
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"}