DocsUse

Device web app

The pages in the device's built-in web app, how to pair a browser with the BOOT button, and how to hand the connection prompt to an AI.

Open it#

Once the device is on Wi-Fi, open its address in a browser on the same LAN:

http://192.168.1.50
http://stick-xxxxxx.local/

The address is shown on the device's home screen. If you can't find it, see Wi-Fi setup and networking.

  • The device web app is only served by the kernel. There is no web app while the device runs rescue firmware.
  • The address is http://, not https://.
  • It works on phones and computers; pages adapt to the screen width.

Pairing#

Pairing request from a browser, showing a 4-digit number
Pairing request from a browser
Pairing request from Claude Code
Pairing request from an agent
Paired toast
After allowing

An unpaired browser can only view status. Editing macros, calling endpoints, and changing settings all require pairing first.

  1. Click Pair in the top-right corner. The page shows a 4-digit number.
  2. The device screen shows a pairing request: the requester's name, the same 4-digit number, and a 30-second countdown.
  3. Check that the numbers match, then click BOOT to allow. Double-click to deny.
  4. The top-right corner of the page changes to Paired, and the device screen shows Paired.

Notes:

  • Pairing requires a person to press the button next to the device. If you can touch the device, you can pair with it.
  • Only one pairing request can be waiting at a time. If the page says A pairing request is already waiting on the device, try again later.
  • The device has a single pairing key, shared by browsers, agents, and the command line.
  • The key is stored in this browser. Unpair this browser in Settings only deletes the key stored in this browser; the device and other computers are unaffected.
  • While the device is sending output or is armed, pressing BOOT is an emergency stop, not an allow.

Pages#

Click English / 中文 on the right of the top bar to switch languages: once paired, the web app and the device screen switch together; before pairing, only the web app does. The browser remembers your choice; until you choose, the web app follows the device screen's language.

Page Contents
Home Device card: address, firmware version, Wi-Fi, microSD card. Current macro and run state. The prompt for connecting an agent. Shortcuts
Macros Macros in two groups, device and microSD card; create, edit, set as current, test run, copy, move, import, export, delete
API Docs for every HTTP endpoint, searchable, with live requests and responses
Settings Saved Wi-Fi networks, macro player start on boot, this browser's pairing, time and time zone, device and firmware info, find device, restart
Help How to use the device, BOOT gesture table, safety notes, changing networks, what to do when something goes wrong

Home#

Device web app home: device address and Wi-Fi, current macro, agent prompt
Home
  • The device card shows the device address, the host name stick-xxxxxx.local, uptime, firmware version, and build number.
  • Current macro is the macro that runs when you click BOOT. When the macro player isn't running, it is marked BOOT inactive, with Start and Start on boot buttons.

Macros#

Macro list: device and microSD card groups, current macro marked BOOT
Macros

For editing and running macros, see Macros.

API#

API page: endpoint list and the response from /v1/info
API: live requests
  • Lists every endpoint by group: device, Wi-Fi, pairing, HID keyboard and mouse, apps and macros, storage files, microSD card, screen, updates and boot, debugging and drills.
  • Select an endpoint, fill in parameters and the request body, and send it live. Signing happens in the browser.
  • Endpoints that press keys, restart, take the device offline, or modify data require checking I understand before sending.

For the protocol, see HTTP API.

Settings#

Settings page: Wi-Fi, macro player, pairing, time zone, device and firmware
Settings
Item What you can do
Wi-Fi View saved networks, forget one, add a network and switch to it
Macro player Toggle start on boot. When on, as soon as the device powers up, clicking BOOT runs the current macro
Pairing View or remove this browser's pairing
Time and time zone View the device time; set the device time zone to match this computer
Device and firmware Version and state of each firmware slot, web app version, memory; Find device flashes the device's light; Restart

Firmware cannot be updated from the device web app; see Updates and recovery.

Hand the device to an AI#

The Connect an agent card on the home page contains a prompt with the device address and the location of llms.en.txt (llms.txt when the web app is in Chinese).

  1. Click Copy.
  2. Send the text to an MCP-capable AI agent, such as Claude Code.
  3. The agent reads http://<device address>/llms.en.txt on the device, installs the tools as described there, and requests pairing.
  4. When the pairing request appears on the device screen, check it and click BOOT.

For installation details and available tools, see Connect an AI agent.

TipIf copying fails, the page asks you to select and copy the text manually. This is because browsers restrict the clipboard API on http:// pages.

Test run countdown#

When you test-run a macro from the web app, the page counts down 3 seconds before pressing keys. Keystrokes go to whatever window is in the foreground, including the browser itself: use those 3 seconds to switch to the window you want to control.

When something goes wrong#

Symptom What to do
The web app won't open Check whether the IP on the device screen has changed. If the screen shows no IP, the device is offline; hold BOOT for 5 seconds to set up Wi-Fi again
The page shows Web app not installed (「网页工具未安装」) There are no web app files in storage. Reinstall with Clean install on the website, which erases the data on the device; developers can run stick www push
The top-right corner shows Offline The browser can't reach the device. Check that the computer and device are still on the same network
The message Pairing key mismatch. Pair again. The device's key has changed. Pair again

View the source of this page on GitHub