Monday on the farm — Jumatatu ya kupanga: Plan your week and check your numbers. Learn more ↗
Back to blog
· 6 min read

USSD and Feature-Phone Farm Advisory — Reaching Farmers Who Don't Use Smartphones

Half of Kenyan adults still use feature phones daily. Here is how USSD shortcodes and SMS shortcodes deliver farm IoT alerts and queries without an app, inte...

Share:

USSD and Feature-Phone Farm Advisory — Reaching Farmers Who Don't Use Smartphones

A surprising number of farm decisions in Kenya are made by people who have never installed an app. The grandparent who runs the dairy. The aunt who manages the chicken house. The wife who handles the day-to-day records while the husband works in town. Many of them use Kabambe-class feature phones, not smartphones.

This post covers how to reach those users through USSD shortcodes and SMS — the interfaces that work on every phone in Kenya, no internet, no app, no setup.

What USSD actually is

USSD ("Unstructured Supplementary Service Data") is the channel behind familiar shortcodes like *144# for M-Pesa. The user dials a code, navigates a text-based menu, and interacts entirely through their phone's basic interface.

Properties that matter:

  • Works on every GSM phone, even very old ones
  • No internet required
  • No app to install
  • Sessions are short — typically 90 seconds or less
  • No memory of the session after it ends (each interaction is fresh)
  • Costs the operator about KES 0.50–1.50 per session for the user For Kenyan farm use, USSD is the universal interface for users without smartphones.

Useful USSD patterns for farm IoT

Pattern 1 — Daily summary

Farmer dials *XXX*1#. A 3-line summary appears:

Mavuno: lita 73 leo
Mauzo: shilingi 3,650
Ng'ombe 7: Joto la juu
1. Maelezo  2. Ondoka

(Yield: 73 litres today / Sales: 3,650 shillings / Cow 7: High temperature / 1. Details 2. Exit)

The farmer selects 1 for more detail or hangs up. Total interaction: 15 seconds.

Pattern 2 — Price check

Farmer dials *XXX*2#. The menu asks which product they want prices for:

Bei za leo sokoni:
1. Maziwa
2. Mayai
3. Mboga
4. Nyama
5. Ondoka

Selecting "1. Maziwa" returns today's milk farm-gate prices for their area.

Pattern 3 — Log a quick action

Farmer dials *XXX*3#. Options to log:

Andika kazi ya leo:
1. Kupeleka maziwa
2. Kupanda ngano
3. Daktari amefika
4. Hasara
5. Ondoka

Selecting an option logs the activity with a timestamp. No typing, just a menu pick. The activity appears in the farm record at shira.farm when the smartphone user checks later.

Pattern 4 — Acknowledge an alert

When an alert is sent by SMS, the farmer can reply or dial a USSD code to acknowledge:

Tahadhari: Maji yamekauka
1. Nimepokea
2. Naenda kurekebisha
3. Endelea kufuatilia

(Alert: Water tank empty / 1. Received / 2. Going to fix / 3. Keep monitoring)

This closes the loop. The system knows the alert was seen. If no acknowledgement comes within 30 minutes, escalate to another phone number.

How to set this up — Africa's Talking is the standard

USSD operation in Kenya goes through a gateway. The standard is Africa's Talking:

  • Apply for a USSD code. A 6-digit shortcode (*384*XXX#) is the typical format. Application takes 2–4 weeks. Cost: KES 60,000–120,000 setup, then KES 5,000–10,000/month for service.
  • Or use a shared code. Some operators offer shared codes where you get a sub-menu under their root. Cheaper to start with.
  • Configure your webhook. When the code is dialled, Africa's Talking POSTs to your URL. Your server responds with the menu text.
  • Handle sessions. Each menu interaction is a fresh POST. You build the menu tree by responding with the right text and codes.
  • Test extensively. USSD interactions are very latency-sensitive — slow responses time out. The setup is more work than a smartphone app would be, but the reward is reach: every member of the household has access to the system, not just whoever has the smartphone.

SMS shortcodes — even simpler

For users who do not navigate menus well, plain SMS shortcodes can work alongside USSD:

User SMSResponse
BEI MAZIWA"Bei ya maziwa leo: KES 52/lita farmgate, KES 65/lita rejareja"
HEWA"Hewa leo: Joto 22-29°C, mvua kidogo asubuhi"
MAVUNO"Mavuno wiki hii: lita 425 (KES 24,650). Wiki iliyopita: lita 451"
JIONI"Mavuno la jioni leo: lita 31, ng'ombe wote walikuwa wamekamuliwa"

The user texts a keyword. The system replies in seconds.

Africa's Talking SMS costs around KES 0.50–1 per outbound message. Inbound to a shortcode is paid by the user (KES 1–3 typically).

Two-way SMS workflows

For collecting data, two-way SMS works well. The herdsman ends the milking session and texts:

KAMUA NG7 12.5L

(Cow #7 yielded 12.5 litres)

The system records the value. The smartphone user sees the data in the dashboard at shira.farm. The herdsman gets a confirmation:

Imepokelewa. Ng'ombe 7 = lita 12.5. Asante.

This is faster than any app for users comfortable with SMS — and accessible to far more people than a smartphone app.

Limits to know

USSD session limit

Most carriers in Kenya limit USSD sessions to about 90 seconds. If the menu navigation takes longer, the session times out. Keep flows short: 2–3 levels deep maximum.

SMS length

A single SMS is 160 characters in Swahili (less with special characters). Longer messages are split into multiple SMS, charged separately. Keep replies concise.

Network signal

USSD and SMS work on 2G — which is more widely available than 4G in rural Kenya. Useful when data does not reach. But where there is no signal at all, neither USSD nor SMS will work.

User experience

USSD menus look ugly on modern smartphones. They are designed for feature phones. Some smartphone users find them unfamiliar even though they are simple. Train accordingly.

Cost summary

ItemCost
USSD shortcode setup (Africa's Talking)KES 60,000–120,000 (one-off)
USSD shortcode rentalKES 5,000–10,000/month
Cost per USSD sessionKES 0.50–1.50 (paid by user)
SMS shortcodeKES 2,000–10,000/month
Outbound SMSKES 0.50–1.00

For a single farm operation, the USSD setup cost is high. The case is much stronger when:

  • A SACCO or cooperative funds the shortcode for all members
  • An agricultural service provider offers USSD as part of a subscription
  • A vet practice deploys USSD to its client base Sharing the shortcode across many farms makes the economics work.

A specific implementation for a 30-farmer SACCO

A dairy SACCO with 30 farmers funds a USSD shortcode for the group. Each farmer dials *384*5577#:

  • Sees their own farm summary (yield, cash, alerts)
  • Can log activities
  • Can request prices and weather
  • Can call the duty officer with one menu pick Cost: KES 100,000 setup, KES 8,000/month divided across 30 farmers = KES 270/farmer/month. For most dairy SACCOs in Kenya, this is well within the value of better data access.

What to do next

If your farm is run partly by people who do not use smartphones, USSD and SMS are not a downgrade — they are the right interface for those users. Implementing alongside the smartphone dashboard means every household member has access to the same data, in the format they prefer.

If you are part of a SACCO or producer group, propose this as a shared service — the per-farmer cost drops dramatically when split. The dashboard at shira.farm supports multi-channel delivery so the same farm record is available via smartphone, USSD, SMS, and voice as appropriate.

See it in action

Tap this exact setup on our interactive visual guide — photorealistic farm scenes with clickable explainers showing what every device does, what it costs, and which Shira tier unlocks it.

Open the IoT Showcase