Your computer or server must have an active internet connection to download dependencies and receive Helium network data.
This application requires Docker to run in a containerized environment. It is recommended to use a Debian-based OS (such as Ubuntu), but it can also work on Windows or macOS.
See the documentation on how to install at : https://docs.docker.com/engine/install/
Or if you want a fast and automatic script which self download the proper version on your OS, see : get-docker
Once installed, test Docker by running :
docker --version
docker run --rm hello-world
To receive LoRa data, you must register your device with the Helium network.
Applications
on the left side menuAdd application
and fill the name you wantDevice Profiles
and click Add
.
360
1
0
Add Device
.
"0000000000000000"
as the Join EUICreate
AT+ID=DevEui,"put your EUI here"
AT+KEY=APPKEY,"put your AppKey here"
AT+DR=EU868 \\ OR 915 for USA
AT+JOIN
+JOIN: Network joined successfully
Now that you have registered your device on the Helium Network, you will need to create an HTTP integration in order to retrieve data with the LoRa-Helium-map application.
Applications
→ your app → Integrations
.Add Integration
, then choose HTTP
.JSON
/helium-data
https://yourlaboratory.loca.lt/helium-data
Content-Type
application/json
Create Integration
Download the latest version here and unzip the package.
To launch the application you must know your end-device’s latitude and longitude in degrees, and you url subdomain (in the example above : yourlaboratory)
If you are on Linux, you can then launch the application by simply typing :
./run.sh
You will be asked to provide the latitude, longitude and subdomain.
It will then automatically download terrain files around your end-device’s place and begin to retrieve data from the Helium Network.
It is recommended to leave the application running all day and night long on a running server in order to get the maximum of data.
Results can be found in the output/
folder in your current directory.
The application writes every 5 minutes a map in output/map.html
using the Splat! tool.
It also runs twice a day (every 12 hours) an IGRA calculation using radiosonde balloons observations. It is important to note that new data from this dataset is not necessary available everyday, so you might wait a few days before new data are available and processed by the application.
Be aware that all the dataset retrieved from you Helium end-node is stored in output/data/helium_gateway_data.csv
and that no other version of this file does exist elsewhere. You might want to do regular saves of this file on another disk for backup (old data cannot be retrieved anymore).
Finally, you can see the resulted map on your dedicated website ! It is available at the address with the subdomain you chose : http://subdomain.loca.lt/map
, for example : http://yourlaboratory.loca.lt/map
Logs are available with the command : docker logs -f lora-map
You can stop the application with the command : docker compose down
A container named watchtower
is used to pull updates of this application from the cloud. If an update is available, the application will be restarted without destroying any file and dataset.
If the tunnel is unavailable, don’t panic, it will be relaunched automatically by the application. It is probably due to localtunnel’s servers, it might take some time.
If the problem still persists, be sure that your connection to internet is authorized.