This document explains how to deploy a Helium DIY hostpot with balena on the family of RAK concentrators 2245 and 2287 on Raspberry Pi 3 or 4 (using balenaOS 64 bits).
- Raspberry Pi 3 or 4
- SD card for the Raspberry Pi
or
- A balenaCloud account (sign up here)
- balenaEtcher
Once all of this is ready, you are able to deploy the Helium DIY Hotspot following instructions below.
At balena with all the community developers we are working to provide a simple way to deploy independently of the concentrator or the LoRaWAN region.
On this document you will find some of the projects available with balena to quickly work with your DIY Helium Hotspot.
DISCLAIMER: It's important to introduce your LoRaWAN region on the dockerfile template files for the lora packet forwarder. So, it's strongly recommended to clone the following repositories if you need to change the region.
Feel free to introduce your versions here.
This is a repository that works on RAK 2245. It is configured for the EU region.
This is a repository that works on RAK 2287 (based on sx1302). It is configured for the US region.
This is a repository that works on RAK 2245 repository. It contains a webserver that enables you to access the swarmkey easily. It is configured for the US region.
This is a repository for RAK2287 with the wifi-connect project. That means that it's easy to define another WiFi credentials on the hotspot with your mobile phone, in case you move the hotspot. It is configured for the US region.
This is a repository that mixes Pastagringo and just4give website idea on RAK 2287 configured for the US region.
This is a repository for RAK2245 configured for the US region.
Once your will click the Deploy with balena
button, follow instructions. First click Create a balena Application, then add a Device and flash an SD card with that OS image dowloaded from balenaCloud. Enjoy the magic 🌟Over-The-Air🌟!
Once the Raspberry Pi will boot up with the flashed SD card the DIY Helium Hotspot containers will be deployed into the device and it will start running. You will be able to check all the logs from the balenaCloud logs.
If you need to configure the miner, get into the miner container and interact via SSH on the balenaCloud dashboard.
We are currently working on a Hotspot version with these containers:
- wifi-connect
- Helium LoRa packet forwarder
- watcher
THe WiFi-Connect container will help Hotpsot owners that change the WiFi SSID or move the hotpsot to change easily the WiFi credentials.
The Helium LoRa packet forwarder is the Helium standard packet forwarder.
The watcher should deploy and auto-update the miner
container. To do it we need several features:
- the watcher should create a
Docker container
download the miner container and run it. - Create a
crontab
that everyday would check for a newer miner version, and it case that there would be a newer miner version, update it (removing the previous container and running the new one with the latest version). - On the other hand the watcher should be able to visualize all the logs from the miner logs.
- Finally it's important that the watcher enable the users to download/upload easily the
swarm_key
from the miner.