IoT Sensors Connectivity
Robonomics Network allows you to communicate with any sensor you wish and get data from the sensor all around the world. This data can be transferred to different destinations.
On this page you'll find step-by-step instructions to connect an ESP board to the connectivity server provided by AiraLab.
- ESP8266/ESP32 like board with WiFi
1. Get the software
Install Ubuntu via Windows Store:
and clone the package
git clone https://github.com/airalab/sensors-connectivity
The next step is to install python and dependencies:
sudo apt update && sudo apt install python3-pip cd sensors-connectivity pip3 install -r requirements.txt
sudo apt update && sudo apt install python3-pip git git clone https://github.com/airalab/sensors-connectivity cd sensors-connectivity pip3 install -r requirements.txt
You can ignore such warnings:
The script ... is installed in '...' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
git clone https://github.com/airalab/sensors-connectivity cd sensors-connectivity nix build -f release.nix source result/setup.bash
Let's start from a ping firmware. Plug an ESP like board in. Edit firmware's configuration file
stassid: "ESSID" # put your wifi name stapsk: "PASSWORD" # wifi password host: "126.96.36.199" # leave it for now port: 31313 # leave it for now geo: "53.507520,49.252999" # put your "latitude,longitude"
Then from firmware's root folder run the script:
cd boards/esp/ESP_PING ./flash_firmware.py
The board should be ready. Go to Sensors Connectivity Dapp and look for your board at the specified GPS location. It could take up to 1 min for the board to appear on the map.