Install¶
Android app¶
Needs: Android 9 or newer. Zebra TC5x (TC52, TC57, TC58) or any modern phone.
- On the phone, open the
Releases page and download the newest
swarm-amr-x.y.z.apk(tags start withv, for examplev0.7.1). - Open the downloaded file. Android asks to allow installs from this source. Allow it, then tap Install.
- Open Swarm AMR. The welcome screens ask for Location (Android needs it to read Wi-Fi; GPS is not used) and check Wi-Fi scan throttling.
- Turn off Wi-Fi scan throttling (important, otherwise Android allows only 4 scans every 2
minutes):
- Settings > About phone (Samsung: > Software information). Tap Build number 7 times to turn on Developer options.
- Settings > System > Developer options (Samsung: Settings > Developer options). Turn Wi-Fi scan throttling off.
- Keep Location turned on in quick settings.
Updates
New versions install over the old one and keep your data. The APK is signed with the same key every time.
Install with adb (developers, many devices)
For a fleet of Zebra devices, push the APK with your MDM (for example Zebra StageNow or SOTI MobiControl).Mac app (SwarmLocate)¶
Needs: macOS 13 (Ventura) or newer, Apple silicon or Intel.
Open Terminal and paste:
brew tap rmaheedharan/swarm-amr https://github.com/rmaheedharan/swarm-amr
brew install --cask swarmlocate
This installs SwarmLocate in Applications and clears the download flag, so macOS opens it without the "Open Anyway" step.
- Update:
brew upgrade --cask swarmlocate - Remove:
brew uninstall --cask swarmlocate - No Homebrew yet? See brew.sh.
- From the Releases page, download
SwarmLocate-mac-x.y.z.zip(tags start withmac-v). - Double-click the zip and drag SwarmLocate into Applications.
- Open it the first time. The app has no paid Apple signature, so macOS asks once:
- macOS 15 or newer: double-click, press Done, then System Settings > Privacy & Security > Open Anyway, enter your password, press Open.
- macOS 13 or 14: right-click the app, choose Open, press Open.
- If neither works:
When the app starts, press Allow for Location. macOS shows Wi-Fi access point addresses only to apps with Location permission. Your GPS position is not used.
Next: Mac app guide.
Server (backend)¶
Only needed for the traffic demo, for sharing places through a server, and for collecting accuracy results centrally. Positioning and the accuracy test work without it.
Needs: a laptop or small PC on the same Wi-Fi network as the phones, with Docker Desktop (Windows, Mac) or Docker Engine (Linux).
git clone https://github.com/rmaheedharan/swarm-amr.git
cd swarm-amr/backend
docker compose up --build
(No git? Use the green Code > Download ZIP button on GitHub and unzip it.)
| Check | Expected |
|---|---|
Open http://localhost:8000 on the laptop |
Dashboard with a few ghost workers walking |
Open http://<laptop IP>:8000 on the phone browser |
Same dashboard (if not, see Troubleshooting) |
Allow ports 1883 (MQTT) and 8000 (HTTP) through the laptop firewall. Then in the app, Settings > Traffic server:
| Setting | Value |
|---|---|
| Server address | http://<laptop IP>:8000 |
| Message broker (MQTT) | tcp://<laptop IP>:1883 |
| This phone's name | short and unique, for example tc57-ravi |
Warning
The demo broker has no password. Use it only on a private network.