New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aiorobonect

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiorobonect

Module to communicate to the Robonect API

  • 1.3.1
  • PyPI
  • Socket score

Maintainers
1

aiorobonect

Asynchronous library to communicate with the Robonect API

maintainer buyme_coffee discord

MIT License

GitHub issues Average time to resolve an issue Percentage of issues still open PRs Welcome

Python

github release github release date github last-commit github contributors github commit activity

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc