This application provides a redirection mecanism between the TCP server running on an IoT-LAB node to websockets clients.
The websocket clients can be started from a web page thus this application allows interacting with the serial port of an IoT-LAB node from a browser.
The application supports Python 3.6+.
Install using pip:
pip install . --pre
-
Start the websocket server from the command line:
iotlab-websocket-service --use-local-api --token token
-
Start the websocket client:
iotlab-websocket-client --insecure --api-protocol http --node localhost.local --exp-id 123