A Tap on My Wrist Moves the Robot Arm

Three repos in a chain: Openband reads a Huawei Band 6 without Huawei Health, so101-remote moves an SO-101 arm gently, and so101-band joins them — one tap, one pose.

The Huawei Band 6 on my wrist has exactly one button. In Huawei's world it is "Find phone": press it and your phone rings somewhere in the house. On my desk it steps a robot arm through a sequence of poses.

One tap on the band, one pose on the arm. Watch on YouTube →

Three repositories got it there, and each one is useful without the others: Openband reads the band, so101-remote moves the arm, and so101-band joins the two. I wrote them with Claude Code; the band, the arm and the decisions are mine.

The band, without Huawei

Huawei Health wants an account, sends the band's data to Huawei's servers and decides what you may export. The band itself speaks a protocol over Bluetooth LE that other people have already worked out — Gadgetbridge's Huawei support is the reference. Openband speaks it straight from my computer:

uv run openband scan            # find the band
uv run openband pair            # hand it a key of our own
uv run openband status          # battery, firmware, today's steps
uv run openband sync --days 7 --format csv

The pairing key is created on my machine and stays in ~/.config/openband/bands.json. History lands in a JSON or CSV file I own.

That has a cost worth saying out loud: the band holds one key at a time, so after openband pair Huawei Health has lost the band and has to pair again — which most likely replaces Openband's key. openband pair --again takes it back. Nothing is ever deleted from the band; Openband only reads.

It is the Huawei sibling of Freeband, which does this for Xiaomi bands, and the approach is borrowed from there: work the protocol out, check it against known values, keep the key local, delete nothing.

What has been checked on a real Band 6 is modest, and I would rather say so: pairing, reconnecting with the stored key, battery, firmware, today's totals and setting the clock. Per-minute history and sleep pass against Gadgetbridge's vectors and a simulated band, and still wait for a band that was actually worn.

A band is an input device

The part I did not expect to use most is openband listen. It stays connected and turns taps on the band into lines on a terminal:

{"ts": 1794152946, "button": "find", "code": 0, "volume": null}

A tap on your wrist is a button you cannot lose, and it goes both ways: openband notify writes a line to the band's screen. Two Claude Code hooks later, my wrist buzzes when Claude needs an answer and when it finishes. The hook talks to the running listener over a local socket, so it works from Warp or an IDE shell, where macOS would refuse Bluetooth outright.

The arm, gently

so101-remote is the other half: a Waveshare ESP32-S3 with a 1.69" touch screen, a small Python bridge, and a calibrated SO-101 follower. Live shows all six joint angles while you move the limp arm by hand, Move jogs one joint 2° at a time, Show plays wave, dance, yes and no, and STOP is on every screen.

The screen was the fun part; the bridge is the one that matters. Joint limits come from the motors' own Min/Max_Position_Limit — written there by LeRobot's calibration — with ~2.6° kept clear of each end stop. Torque comes on at the position the arm is already in, so nothing jumps. Speed is capped in software and a held arrow cannot pile up a long move. A joint that lags its goal by ~22° for 0.8 s counts as blocked, and the arm holds. No heartbeat from the screen for a second: the arm holds. Nothing is ever written to EEPROM, so the calibration stays exactly as LeRobot left it.

The join

so101-band is a small repository because both halves already worked. It subclasses so101-remote's bridge and hands it the band as the remote, in the place the ESP32 screen used to sit:

Dry run is the default. Without --live a simulated follower prints what would have gone to the motors, and --stdin replaces the band with the keyboard, so the whole thing can be tried with no hardware at all. Ctrl+C folds the arm into its rest pose at the slowest speed and lets go.

Poses are configuration, not code: a TOML file with poses, routines, the sequence, what each button does, extra joint limits and a top speed. so101-band record NAME saves where the arm is standing right now as a pose, and only reads to do it.

It has moved a real arm from a tap on the band — that is the clip above. Every path is also covered by tests against a simulated arm and a simulated band. The poses that ship are measured on my arm, though, so record your own before the first --live run, with the workspace clear and a hand nearby.

The phone, too

Openband has an iPhone app as well, built on Freeband's screens and scores over a Swift port of the same protocol. Five tabs: Today is the day's verdict, Move records a workout — run, ride, swim, walk and seven more — follows the route on the phone's GPS, since the Band 6 has none, and turns the finished one into a card you can post. Sleep is the night, Coach reads a meal photo, Band is the device.

Workouts reach Apple Health as real HKWorkouts with their route attached, so they count towards the rings. What the band measured goes out too, attributed to the band rather than the phone and carrying a sync identifier per record, so syncing again replaces instead of duplicating. Steps come back the other way to fill the minutes the band has nothing for, and that read is anchored: Health is asked what changed since the last pass instead of for a fixed 90 days.

Coach is the only part of Openband that talks to a server, and the server is not mine. You paste your own Anthropic or OpenAI key, it stays in the phone's keychain, and a photo goes straight from the phone to the provider on your account. Calories come back as a range rather than a figure, and nothing from Coach is written to Apple Health.

And there is a Robot tab, which is so101-remote's touch screen living on the phone: so101-band run --phone serves it over the local network — Bonjour _so101band._tcp and a six-digit code — and the phone sends exactly what the ESP32 used to send, with the arm's telemetry coming back. The app itself still runs mostly in the simulator, where a Health store is empty; the anchored read is the one thing I cannot check without a real phone.

What is not there yet

TruSleep stages, workouts recorded on the band itself, alarms and band settings all live behind the file-transfer service, and none of them is built. Full HiChain pairing (SPEKE) is not built either — Openband stops with a clear message if a band asks for it, rather than pretending.

On the arm side, a pose sequence is the smallest thing a wrist can usefully do. What I actually want is the same button driving a trained policy instead of fixed poses: the arm that learned tic-tac-toe from 45 demonstrations is on the same table.

All three are MIT: openband, so101-remote, so101-band. The protocol knowledge comes from Gadgetbridge, the app from Freeband, and the arm's calibration from LeRobot.