GitCloud Mesh: the server on a city LoRa radio network
A backup channel to the server without internet or a phone: a custom LoRa base and a handheld tracker on a fork of the open MeshCore, on the same network as the city's public repeaters.
Diagrams drawn from the firmware repository and base documentation; no keys, addresses or node identifiers.
Task
When the internet goes down or the server falls silent, alerts via phone do not arrive. An independent channel was needed that works away from home and needs no radio infrastructure of its own.
Solution
A base on ESP32-S3 with an SX1262 radio talks to the server over Wi-Fi and Bluetooth (an HMAC heartbeat every 10 s) and is a node of the public MeshCore network. A handheld nRF52840 tracker shows server status and messages, Cyrillic included, and takes commands with a PIN entered by joystick; the server runs only allow-listed commands and only from the owner's keys. Both devices build from one MeshCore fork in the repository, the radio protocol stays unchanged, and the shared rules (keys, frames, queue) live in the GitCloud core.
Result
- Indoor test: 2 packets from the city network in 8 minutes, after 4 and 10 hops
- Messages up to 150 bytes with acknowledgement and retry
- One firmware copy for two devices, MeshCore updates applied as a tag diff
My role
Hardware and protocol choice, base and tracker firmware, fork maintenance, server watchdog service and tests.