Connect your local Android device to the PhoneFarm Cloud platform
Project description
phonefarm-connect
Connect your local Android device to the PhoneFarm Cloud platform.
Install
pip install phonefarm-connect
# Optional: better JPEG compression (recommended)
pip install "phonefarm-connect[quality]"
Usage
- Go to the PhoneFarm dashboard → Devices → Add Device → Cloud Relay
- Click Generate Code to get a 6-char code
- Plug your Android phone into this PC via USB and enable USB Debugging
- Run:
phonefarm-connect --server ws://yourserver:8890 --code ABCD12
The device will appear in your dashboard automatically.
Options
--server WebSocket URL of your PhoneFarm server (default: ws://localhost:8890)
--code 6-char connection code from the dashboard [required]
--serial ADB device serial (auto-detects if only one device connected)
--fps Screen stream FPS, 1-30 (default: 8)
--quality JPEG quality 10-95 (default: 35)
--scale Screen scale factor 0.1-1.0 (default: 0.4)
Requirements
- Python 3.8+
- Android Platform Tools (
adbin PATH) - USB Debugging enabled on the phone
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phonefarm_connect-0.1.0.tar.gz.
File metadata
- Download URL: phonefarm_connect-0.1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b38f290d96ac1de967ee4227464e8c889295a3120079725dbb497250cf9ab801
|
|
| MD5 |
baa8135eb7b70cb06b3579c41ed2d6cb
|
|
| BLAKE2b-256 |
659b4930a96f4ceca92b477bf92f2723c6b2a16fea519a5aaabf25185aab5643
|
File details
Details for the file phonefarm_connect-0.1.0-py3-none-any.whl.
File metadata
- Download URL: phonefarm_connect-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39107187f63e8be9227adb24550d5eaa1fcf8f1a89ced4066e2573da737fe938
|
|
| MD5 |
a119ccce528997885b87ed6bf8feeb97
|
|
| BLAKE2b-256 |
850e85322f7e12d9ef16bc55462d0e4486cfa84df24030340b9f1100afebe944
|