Start a project

All work

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
Uwatu’s livestock dashboard, showing a herd map, animal status and device telemetry.

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.

From ear tag to farmer's phone
  1. Ear tagsTelemetry over MQTT, or the digital-twin simulator
  2. Go gatewayIngest, two-minute cache, rate-limited parallel calls
  3. Network signalsNine CAMARA APIs: location, SIM swap and more
  4. TimescaleDBEvery reading, in a time-series hypertable
  5. IntelligenceRules, then a statistical baseline, then an isolation forest, then a narrator
  6. 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.

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.

Want this rigour
on your system?

Tell us what you need. A sentence is enough to start.

Start a project info@riua.africa