02 · Agriculture · Telecoms · IoT
Uwatu
Protects smallholder farmers' livestock using the mobile network, and sends alerts to any phone.
- Built with
- Go, Python, MQTT, TimescaleDB, WebSockets
- Integrations
- Nokia Network as Code (CAMARA APIs), Africa's Talking, Firebase
- Domain
- Agritech, IoT, telecoms
- Status
- Working prototype, four public repositories

The problem
Farmers lose animals to theft and disease, and both are easy to miss until it's too late. In rural areas the connection is patchy, budgets are tight, and plenty of farmers don't have smartphones.
What was built
A Go gateway collects readings from ear tags over MQTT, adds what the mobile network knows about each tag's SIM, stores everything in TimescaleDB and passes it to a Python service that works out what's wrong. Alerts go out by SMS, WhatsApp, USSD or push, and a dashboard shows the herd live.
- Ear tagsTelemetry over MQTT, or the digital-twin simulator
- Go gatewayIngest, two-minute cache, rate-limited parallel calls
- Network signalsNine CAMARA APIs: location, SIM swap and more
- TimescaleDBEvery reading, in a time-series hypertable
- IntelligenceRules, then a statistical baseline, then an isolation forest, then a narrator
- AlertsSMS, WhatsApp, USSD, push. Live dashboard over WebSockets
Decisions that mattered
- The phone network does some of the work. If someone swaps the SIM in a tag, that's a theft signal no motion sensor could give you. Animals leaving their area or stampeding at night are caught by simple rules before any model runs.
- API calls cost money. The network charges per request, so lookups are cached for two minutes, spread out, and capped at 100 a minute.
- Alarms don't wait for the AI. The scoring call gets 500 ms and falls back safely if it's slow. AI-written alerts stay under 160 characters, with plain backup text if the model is down.
- Cheap checks first. A simple running average (Welford's algorithm, across 48 times of day) tells normal morning grazing apart from unusual pacing, before a heavier model looks for anything subtler.
- Tested on a simulated herd. A simulator written in Go produces realistic tag data, squeezes 72 hours into minutes, and plays out disease and theft scenarios so the system can be checked against known answers.
Gateway ↗ Intelligence ↗ Simulator ↗ Dashboard ↗
For your projectIf your system needs to talk to telcos, send SMS or USSD, or keep working on a weak signal, this is the kind of work we do.