Skip to main content

Landroid cloud API library

Project description

Buy Me A Coffee

pyWorxCloud

This is a PyPI module for communicating with Worx Cloud mowers, primarily developed for use with Home Assistant, but I try to keep it as wide usable as possible.

The module are compatible with cloud enabled devices from these vendors:

  • Worx Landroid
  • LandXcape
  • Kress

This is using and undocumented API, so do not expect everything to work.
The module will be enhanced with more functionality as the API gets mapped out - any help will be much appreciated.

Available calls

Call Description Parameters
initialize Initialize the API connection and authenticate the user credentials
connect Connect to a device dev_id: int, verify_ssl: bool
set_callback If set, the module will call this function when data is received from the API callback
enumerate Returns the number of devices associated with the account
send Send custom data to the API data: str (JSON string!)
update Retrieve current status from API
start Start mowing routine
pause Pause mowing
home Stop (and go home)
zonetraining Start zonetraining
lock Toggle device lock
restart Reboot baseboard OS
raindelay Set new rain delay rain_delay: str or int
toggle_schedule Toggle schedule on or off
toggle_partymode Toggle party mode if supported by device
ots Start OTS boundary: bool, runtime: str or int
setzone Set next zone to mow zone: str or int

Connection example

from pyworxcloud import WorxCloud
cloud = WorxCloud("your@email", "Password")

# Initialize connection
auth = cloud.initialize()

if not auth:
    # If invalid credentials are used, or something happend during
    # authorize, then exit
    exit(0)

# Connect to device with index 0 (devices are enumerated 0, 1, 2 ...) and do
# not verify SSL (False)
cloud.connect(0, False)

# Read latest states received from the device
cloud.update()

Project details


Release history Release notifications | RSS feed

This version

2.0.1

Download files

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

Source Distribution

pyworxcloud-2.0.1.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

pyworxcloud-2.0.1-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file pyworxcloud-2.0.1.tar.gz.

File metadata

  • Download URL: pyworxcloud-2.0.1.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for pyworxcloud-2.0.1.tar.gz
Algorithm Hash digest
SHA256 31c4bb2300aaeb2f802688b9db418d01f1864c76ddf4fa1ee163d32e8cd39eb0
MD5 d2352076771c3f6c7ed458adf6387c2a
BLAKE2b-256 5d5f84ddf21e42464498d5b9e3c67731045201a8bfe425d3866f6539f539e4df

See more details on using hashes here.

File details

Details for the file pyworxcloud-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyworxcloud-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 23.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for pyworxcloud-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7aa22def8e595717aa0ac8515753d83bc87fb6009b5a74404759ccfee3f1fdc4
MD5 b47a85e970e21331094072d32d2c41b0
BLAKE2b-256 68a9a8cf5e6135fd2966ff84ab95b7c9dd9c1e292237a1c3a3ff5feae83a528f

See more details on using hashes here.

Supported by

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