{"id":49732930,"url":"https://github.com/eman/quilt-hp-python","last_synced_at":"2026-05-09T07:01:23.464Z","repository":{"id":356571740,"uuid":"1231545905","full_name":"eman/quilt-hp-python","owner":"eman","description":"Python Client Library for Quilt Heat Pumps","archived":false,"fork":false,"pushed_at":"2026-05-08T18:22:55.000Z","size":442,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-08T18:36:20.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://eman.github.io/quilt-hp-python/","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/eman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-07T04:05:10.000Z","updated_at":"2026-05-08T18:23:34.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eman/quilt-hp-python","commit_stats":null,"previous_names":["eman/quilt-hp-python"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/eman/quilt-hp-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Fquilt-hp-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Fquilt-hp-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Fquilt-hp-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Fquilt-hp-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eman","download_url":"https://codeload.github.com/eman/quilt-hp-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Fquilt-hp-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32810381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-05-09T07:00:38.311Z","updated_at":"2026-05-09T07:01:23.454Z","avatar_url":"https://github.com/eman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quilt-hp-python\n\nAsync Python client library for [Quilt](https://www.quilt.com/) mini-split HVAC systems.\n\nCommunicates with the Quilt cloud API via gRPC to control spaces (rooms), indoor units,\ncomfort presets, schedules, and stream real-time updates.\n\n## Installation\n\n```bash\npip install quilt-hp-python\n```\n\nWith the optional CLI:\n\n```bash\npip install \"quilt-hp-python[cli]\"\n```\n\n## Quick Start\n\n```python\nimport asyncio\nfrom quilt_hp import QuiltClient\n\nasync def main():\n    async with QuiltClient(\"user@example.com\") as client:\n        await client.login(otp_callback=lambda email: input(f\"OTP for {email}: \"))\n\n        # List spaces\n        for space in await client.list_spaces():\n            print(f\"{space.name}: {space.state.ambient_temperature_c}°C\")\n\n        # Set a room to COOL at 22°C\n        from quilt_hp.models.enums import HVACMode\n        spaces = await client.list_spaces()\n        await client.set_space(spaces[0].id, mode=HVACMode.COOL, cool_setpoint_c=22.0)\n\n        # Stream real-time updates\n        spaces = await client.list_spaces()\n        topics = [f\"hds/space/{s.id}\" for s in spaces]\n        async with client.stream(topics) as stream:\n            stream.on_space_update(lambda s: print(f\"{s.name}: {s.state.ambient_temperature_c}°C\"))\n            await asyncio.sleep(60)\n\nasyncio.run(main())\n```\n\n## CLI\n\n```bash\n# Authenticate (caches tokens for subsequent commands)\nquilt login --email user@example.com\n\n# Full system inventory + telemetry (summary)\nquilt info\n\n# Full system snapshot as JSON for automation\nquilt info --output json\n\n# All device/entity IDs (includes update entities)\nquilt devices\n\n# Current sensor values + setpoints\nquilt values\n\n# Machine-readable values for scripting\nquilt values --output json\n\n# Energy usage\nquilt energy --period week\n\n# Set a room to cooling mode\nquilt set \"Living Room\" --mode cool --cool 22\n```\n\n## Development\n\n```bash\ngit clone https://github.com/eman/quilt-hp-python.git\ncd quilt-hp-python\npython -m venv .venv\nsource .venv/bin/activate\npip install -e \".[dev,cli]\"\n\n# Run checks\nruff check src/ tests/\nruff format --check src/ tests/\nmypy src/quilt_hp/\npytest\npython -m build\ntwine check dist/*\n\n# Recompile protobuf stubs (requires grpcio-tools)\n# Proto sources are vendored in ./proto/cleaned for standalone use.\n# Optional but recommended: install protobuf includes (e.g. `brew install protobuf`)\n./scripts/regen_protos.sh\n\n# Build project docs (MkDocs Material)\npip install -e \".[docs]\"\npython scripts/check_docs_nav.py\nmkdocs build --strict\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feman%2Fquilt-hp-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feman%2Fquilt-hp-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feman%2Fquilt-hp-python/lists"}