Skip to main content

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

  1. Go to the PhoneFarm dashboard → DevicesAdd DeviceCloud Relay
  2. Click Generate Code to get a 6-char code
  3. Plug your Android phone into this PC via USB and enable USB Debugging
  4. 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phonefarm_connect-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phonefarm_connect-0.1.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

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

Hashes for phonefarm_connect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b38f290d96ac1de967ee4227464e8c889295a3120079725dbb497250cf9ab801
MD5 baa8135eb7b70cb06b3579c41ed2d6cb
BLAKE2b-256 659b4930a96f4ceca92b477bf92f2723c6b2a16fea519a5aaabf25185aab5643

See more details on using hashes here.

File details

Details for the file phonefarm_connect-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for phonefarm_connect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39107187f63e8be9227adb24550d5eaa1fcf8f1a89ced4066e2573da737fe938
MD5 a119ccce528997885b87ed6bf8feeb97
BLAKE2b-256 850e85322f7e12d9ef16bc55462d0e4486cfa84df24030340b9f1100afebe944

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page