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.5

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

Uploaded Source

Built Distribution

pyworxcloud-2.0.5-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyworxcloud-2.0.5.tar.gz
  • Upload date:
  • Size: 23.7 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.5.tar.gz
Algorithm Hash digest
SHA256 517e3a93d1643b4f40707d08e5d87b951af46238243605f77b5d9d27369d5b60
MD5 86ef8fd61bec51cde837b2eb861e6e0e
BLAKE2b-256 c6e75a3206b7fdc6d271085e88df7ffaf425bd9c67189f23e78d901fbcdf56bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyworxcloud-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 24.1 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5764f9a9bbae0702fcb429df1ab43bd417304ef9973f474f655b06c0b65af270
MD5 35201fffaf9169af85693dc2e8a2e7c5
BLAKE2b-256 639ee126a876569eecd063b11d2ce8abfc95194b828ff0494c4aa96818c7d232

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