Websocket CLI Tools
Websocket CLI Tools provides a set of commands for interacting remotely and easily with IoT-Lab nodes using the Websosket protocol.
Websocket CLI Tools can be used in conjunction with the IoT-Lab CLI Tools commands like iotlab-auth and iotlab-experiment.
Installation:
You need python pip. To install ws-cli-tools, use pip (or pip3 for Python 3):
$ pip install iotlabwscli --user
Example:
Start an experiment, wait for it to be ready and connect to the serial port:
$ iotlab-experiment submit -d 120 -l saclay,m3,1,tutorial_m3.elf
{
"id": 65535
}
$ iotlab-experiment wait
Waiting that experiment 65535 gets in state Running
"Running"
$ iotlab-ws
Using custom api_url: https://www.iot-lab.info/rest/
Connected to m3-1.saclay
h
m3-1.saclay:
m3-1.saclay:
m3-1.saclay: IoT-LAB Simple Demo program
m3-1.saclay: Type command
m3-1.saclay: h: print this help
m3-1.saclay: t: temperature measure
m3-1.saclay: l: luminosity measure
m3-1.saclay: p: pressure measure
m3-1.saclay: u: print node uid
m3-1.saclay: d: read current date using control_node
m3-1.saclay: s: send a radio packet
m3-1.saclay: b: send a big radio packet
m3-1.saclay: e: toggle leds blinking
m3-1.saclay:
e
m3-1.saclay: cmd >
m3-1.saclay: leds > off
m3-1.saclay:
l
m3-1.saclay: cmd > Luminosity measure: 2.4414062 lux
m3-1.saclay:
^CExiting
0
Metadata
Release files for iotlabwscli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iotlabwscli-0.2.0.tar.gz | 8.2 kB | Without provenance | Details for iotlabwscli-0.2.0.tar.gz |
Release files / iotlabwscli-0.2.0.tar.gz
| Download URL | iotlabwscli-0.2.0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c126c3ca7e6e0a041859e3dd6eaf5d7b4fea37dca5e816e5dbb3aecf38943382
|
|
BLAKE2b-256 checksum How to use checksums |
9db87e6e2dac4f998a2199f1379376fcb5a70ab305408cae9388b5261006fdf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for iotlabwscli 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.