-
Notifications
You must be signed in to change notification settings - Fork 10
Running An Experiment with the IoT lab
This page details how to run an experiment on the IoT-LAB platform, and store the results into this repository.
-
Make sure you have an an account on IoT-Lab (https://www.iot-lab.info/testbed/signup.php).
-
In order to run the experiment in the repository, a few things have to be configured before run the experiment.
-
Create a monitoring profile called mercator (navigate "My Resources" > "Monitoring profiles"), with Node architecture field set on M3 and the other fields as you like.
-
Configure your SSH public key to log in SSH server.
-
After that, log into the SSH server (Grenoble preferred) and clone the mercator repository:
git clone https://github.com/openwsn-berkeley/mercator.git
-
Make sure you have the correct python module installed:
pip install -r requirements.txt --user
Note: You should first ssh to the site before doing the following. We are working on a remote access.
Run iotlab-auth
first using your login name for FIT/IoT-LAB and password:
iotlab-auth -u <login>
Go into app folder and execute the script:
python mercatorRunExperiment.py grenoble firmware_name
By default the duration is 10min. You can change that by using the parameter -d
(in min):
python mercatorRunExperiment.py grenoble firmware_name -d 60
This script will start a new experiment in the grenoble testbed with the nodes listed in:
`/mercator/metas/states.json`
Once the experiment is over, transfer it to you local computer (using scp for instance), on the data
branch, under the folder datasets/raw/<the_site_name>/<the_dataset_date>.csv
Then refer to committing experiment page.
Firmware:
Software:
Experiment:
- What is an experiment ?
- Run an experiment with IoT-lab
- Update motes states and locations
- Committing and experiment
Dataset:
Web Application: