ZeroTrace HID
Autostart
Run a script automatically when the device boots
Designate one script as the autostart and the firmware runs it at boot — the script saved as /__autoStart__ on the device filesystem executes on every power-on and reset.
Configure
Autostart is provisioned over BLE from the mobile app:
- Open the device's Files.
- Set the script you want as the autostart script.
- Power-cycle to verify. The status LED runs cyan → green while the autostart script executes.
To clear it, set a different script or unset the current one.
Boot timing
On boot the firmware waits up to ~8 s for OS detection (plus a short settle) before the autostart script runs, so _@detectedOS is usually populated by the time your script branches on it.
Autostart requires a working HID transport with the keyboard mounted. If USB HID is not brought up — for example when disable_hid_startup is set — the autostart script is skipped. It can be brought up later with enableHID.