Repository navigation
First release — 2026-12-03 (v0.1.0)
Bench hardware only, never a person.
TwiistOff's first release under its own app id, com.infusionset.twiistoff. TwiistOff is a bench app and REST
bridge for the twiist insulin pump, with documentation written for driver authors.
What it does:
- Scans, connects and bonds with the label PIN, and arms the encrypted session with your pump's key. A bonded phone
reconnects straight to the pump, with no scan and no button press. - Shows a live pump model with a "can deliver / is delivering" check, and greys out the commands the pump would refuse
in its current state, with the reason. - Delivers on a bench: basal, bolus with STOP, temp basal, fill and prime. Each therapy command is sent once and its
reply matched; nothing is resent blindly. A bolus under the pump's smallest (0.05 U) is refused before it is sent. - Recovers after a pump restart: re-arms once, proves commands get through with a read-only check, and walks the common
states (cassette change, alarms, a rebooted pump) in step-by-step wizards. - Shows every alarm, alert and notice with its twiist code and title, and says in plain words why a command failed.
An activity line under the navigation shows the command running and the last result. - Configures, edits, verifies, exports and imports the pump's 20 settings; reads the pump's own log.
- Exposes everything over a loopback REST bridge in debug builds, for scripts and agents.
Docs: the documentation site covers using the app, the protocol for
driver authors (What a Driver Needs), and the state of the real looping drivers for AndroidAPS, Loop and Trio. None of
the drivers is ready to loop.
Known issues:
- "Configure pump" and "rewrite all" report one failure on a delivering pump, because the pump refuses the
delivery-limits write while basal runs. The other settings are written and verify still answers01. To change the
delivery limits: stop basal, write the delivery-limits setting, verify, resume basal. - After a settings import, the Settings page marks every setting as unwritten even when verify answers
01.
Download: TwiistOff-0.1.0.apk below (debug build, with the REST bridge). See
build and install for the signing-key caveat.
Tests: all 347 unit tests pass.