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 index: 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
from pprint import pprint

cloud = WorxCloud("your@email", "password", "worx")

# Initialize connection
auth = cloud.authenticate()

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()

# Print all vars and attributes of the cloud object
pprint(vars(cloud))

or like this:

from pyworxcloud import WorxCloud
from pprint import pprint

if __name__ == '__main__':
    with WorxCloud("your@email","password","worx", 0, False) as cloud:
        pprint(vars(cloud))


Project details


Release history Release notifications | RSS feed

This version

2.0.7

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.7.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

pyworxcloud-2.0.7-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyworxcloud-2.0.7.tar.gz
  • Upload date:
  • Size: 24.5 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.7.tar.gz
Algorithm Hash digest
SHA256 c77d5f5a7ab052d79ffd526f890b223eabad83852e3e7bc67ffe55f2aaa8f5dd
MD5 929812a1c70f6a4e7f24f9649c1534e6
BLAKE2b-256 76ac58ec11ff183e5527fd401b71e58f324152829002b3dabf343e76d1cadd96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyworxcloud-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 25.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 827aed3992f19add10daa017ad740839d9b78b2058cb81616f5c2225b5404541
MD5 a308ddf09a1e1fefd38b0223c37b0c4a
BLAKE2b-256 b0f8fc8291bad9765a0d4cef1d6ef72b9948d85834e78e300020863a6556f280

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