aiorobonect
Asynchronous library to communicate with the Robonect API
API Example
"""Test for aiorobonect."""
from aiorobonect import RobonectClient
import asyncio
import httpx
import logging
logging.basicConfig(level=logging.INFO)
_LOGGER = logging.getLogger("aiorobonect")
_LOGGER.setLevel(logging.DEBUG)
async def main():
host = "10.0.0.99" ## The Robonect mower IP
username = "USERNAME" ## Your Robonect username
password = "xxxxxxxx" ## Your Robonect password
tracking = [ ## Commands to query
"battery",
"clock",
"door",
"error",
"ext",
"gps",
"health",
"hour",
"motor",
"portal",
"push",
"remote",
"report",
"status",
"timer",
"version",
"weather",
"wlan",
"wire"
]
client = RobonectClient(host, username, password)
try:
status = await client.async_cmd("status")
print(f"Status: {status}")
tracking = await client.async_cmds(tracking)
print(f"Tracking: {tracking}")
except Exception as exception:
if isinstance(exception, httpx.HTTPStatusError):
print(exception)
await client.client_close()
asyncio.run(main())
Metadata
Release files for aiorobonect 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiorobonect-1.3.1.tar.gz | 5.8 kB | Without provenance | Details for aiorobonect-1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiorobonect-1.3.1-py3-none-any.whl | Python 3 | none | any | Details for aiorobonect-1.3.1-py3-none-any.whl |
Total release size: 12.0 kB
Release files / aiorobonect-1.3.1.tar.gz
| Download URL | aiorobonect-1.3.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d896479089d05b98167edc754961c93b00e43d0d79410257802fcd1e6dc6a12c
|
|
BLAKE2b-256 checksum How to use checksums |
3afcd4bbf1a8ae7e6192940356b6839c11a48bacffb3096c2e3b9303379568d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|
Release files / aiorobonect-1.3.1-py3-none-any.whl
| Download URL | aiorobonect-1.3.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
360061dc7d0724f99d457c6b04553134e28178a6f5d64644cf3b5e118f12357a
|
|
BLAKE2b-256 checksum How to use checksums |
1f485aebf394e88990a810a58d50c73989304354d1249dd98555b2f0ed2b1708
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|
Security for aiorobonect 1.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.