{"id":38387786,"url":"https://github.com/sebr/pybhyve","last_synced_at":"2026-01-17T03:45:38.338Z","repository":{"id":38420401,"uuid":"230556183","full_name":"sebr/pybhyve","owner":"sebr","description":"Python library for interacting with the Orbit BHyve API","archived":false,"fork":false,"pushed_at":"2022-06-04T08:52:05.000Z","size":28,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-04-16T09:10:53.853Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sebr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-28T04:06:44.000Z","updated_at":"2023-04-16T09:10:53.854Z","dependencies_parsed_at":"2022-08-18T08:20:23.687Z","dependency_job_id":null,"html_url":"https://github.com/sebr/pybhyve","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/sebr/pybhyve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebr%2Fpybhyve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebr%2Fpybhyve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebr%2Fpybhyve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebr%2Fpybhyve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebr","download_url":"https://codeload.github.com/sebr/pybhyve/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebr%2Fpybhyve/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28493674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T03:45:37.567Z","updated_at":"2026-01-17T03:45:38.333Z","avatar_url":"https://github.com/sebr.png","language":"Python","funding_links":["https://www.buymeacoffee.com/sebr"],"categories":[],"sub_categories":[],"readme":"# 🚰 pybhyve: An async library for Orbit BHyve irrigation systems\n\n`pybhyve` is a Python3, asyncio-driven library that interfaces with both the\nREST and Websocket APIs provided by [Orbit BHyve](https://orbitbhyve.com/).\n\n`pybhyve` is an unofficial API and is not endorsed by or supported by Orbit. The API\nis not publicly documented and this library has been reverse engineered. As such,\nthere are no guarantees that it will continue to work.\n\nIf this code has been useful to you, please consider chipping in and buying me a coffee!\n\n\u003ca href=\"https://www.buymeacoffee.com/sebr\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\"\u003e\u003c/a\u003e\n\nMany thanks to [@bachya](https://github.com/bachya/) for laying most of the groundwork with [bachya/aioambient](https://github.com/bachya/aioambient/).\n\n## Installation\n\n```python\npip install pybhyve\n```\n\n### Python Versions\n\n`pybhyve` is currently supported on:\n\n- Python 3.6\n- Python 3.7\n- Python 3.8\n\n## Usage\n\n```python\nimport asyncio\n\nfrom aiohttp import ClientSession\n\nfrom pybhyve import Client\n\nasync def async_websocket_handler(data):\n    _LOGGER.info(\"Websocket data: %s\", data)\n\nasync def main() -\u003e None:\n    \"\"\"Create the aiohttp session and run the example.\"\"\"\n    async with ClientSession() as session:\n        client = Client(\"\u003cYOUR USERNAME\u003e\", \"\u003cYOUR PASSWORD\u003e\", asyncio.get_event_loop(), session, async_websocket_handler)\n        await client.login()\n\n        # Get all devices in an account:\n        devices = await client.devices\n\n        _LOGGER.info(\"Devices: %s\", devices)\n\n\nasyncio.get_event_loop().run_until_complete(main())\n```\n\n## Contributing\n\n1. [Check for open features/bugs](https://github.com/sebr/pybhyve/issues)\n   or [initiate a discussion on one](https://github.com/sebr/pybhyve/issues/new).\n2. [Fork the repository](https://github.com/sebr/pybhyve/fork).\n3. Install the dev environment: `make init`.\n4. Enter the virtual environment: `source ./venv/bin/activate`\n5. Code your new feature or bug fix.\n6. Write a test that covers your new functionality.\n7. Run tests and ensure 100% code coverage: `make coverage`\n8. Update `README.md` with any new documentation.\n9. Add yourself to `AUTHORS.md`.\n10. Submit a pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebr%2Fpybhyve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebr%2Fpybhyve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebr%2Fpybhyve/lists"}