Skip to content
< all work

Product engineering · Personal project · 2026

ZenboBridge: controlling an ASUS Zenbo robot from a Mac

An Android app on an original ASUS Zenbo that exposes speech, faces, head movement, the camera and listening as a key-protected HTTP API, plus a Mac greeter app that uses it.

roboticsandroidapi-design

The robot can be scripted from a Mac over Wi-Fi, updates itself over the network, and runs a full greeting flow (photo, name, confirmation) driven from a desktop app.

Role
Sole engineer
Stack
Java · Android 6 · ASUS Zenbo SDK · NanoHTTPD · Python · Bash

The original Zenbo runs Android 6.0.1 and has no remote interface of its own. I wrote a small app for the robot that serves an HTTP API on port 8080. It speaks, switches between 27 built-in faces, turns the head, takes photos, listens for a spoken answer, and shows an editable confirmation box on its screen.

Every route except a health check needs a secret key in a request header. The robot generates the key on first run and shows it on its own screen. It never says it aloud, since anyone in the room would hear it, and the server compares it in constant time. A zb script on the Mac wraps curl and reads the key from a file only my user can read, so the key travels in a header and never in a URL.

Android 6 cannot install an app silently without root. The bridge updates itself anyway: an accessibility helper taps Install, Next, OK and Done in the system installer, only for 120 seconds after the bridge starts an install, and never taps Cancel, Open or Settings.

On top of the API sits a greeter app for the Mac, written with the Python standard library only. It turns the head to face height, waits until a face holds steady, counts down, takes the photo, asks for the person's name and has them confirm it on the robot's screen. A silent stress script checks the screen lock, on-screen messages and confirmation timeouts without anyone standing in front of the robot.