Skip to content

Tools using the websocket protocol to communicate with nodes

Notifications You must be signed in to change notification settings

iot-lab/iot-lab-websocket

Repository files navigation

IoT-LAB websocket tools

CI

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+.

Installation

Install using pip:

pip install . --pre

How to use

  • 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