{"id":45413764,"url":"https://github.com/eman/alpha-hwr","last_synced_at":"2026-02-22T00:43:36.809Z","repository":{"id":335922889,"uuid":"1147400605","full_name":"eman/alpha-hwr","owner":"eman","description":"Python library for the Grundfos ALPHA HWR","archived":false,"fork":false,"pushed_at":"2026-02-20T16:36:57.000Z","size":1748,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-20T21:06:30.147Z","etag":null,"topics":["alpha-hwr","circulation-pump","grundfos","iot","pump"],"latest_commit_sha":null,"homepage":"https://eman.github.io/alpha-hwr/","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":"CONTRIBUTING.md","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-02-01T17:29:59.000Z","updated_at":"2026-02-14T21:33:57.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/eman/alpha-hwr","commit_stats":null,"previous_names":["eman/alpha-hwr"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/eman/alpha-hwr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Falpha-hwr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Falpha-hwr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Falpha-hwr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Falpha-hwr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eman","download_url":"https://codeload.github.com/eman/alpha-hwr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eman%2Falpha-hwr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29701211,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T23:35:04.139Z","status":"ssl_error","status_checked_at":"2026-02-21T23:35:03.832Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["alpha-hwr","circulation-pump","grundfos","iot","pump"],"created_at":"2026-02-22T00:43:36.162Z","updated_at":"2026-02-22T00:43:36.804Z","avatar_url":"https://github.com/eman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grundfos ALPHA HWR Python Library\n\n[![PyPI](https://img.shields.io/pypi/v/alpha-hwr)](https://pypi.org/project/alpha-hwr/)\n[![Python](https://img.shields.io/pypi/pyversions/alpha-hwr)](https://pypi.org/project/alpha-hwr/)\n[![Tests](https://github.com/eman/alpha-hwr/actions/workflows/tests.yml/badge.svg)](https://github.com/eman/alpha-hwr/actions/workflows/tests.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://eman.github.io/alpha-hwr/)\n[![License](https://img.shields.io/pypi/l/alpha-hwr)](https://github.com/eman/alpha-hwr/blob/main/LICENSE)\n\nModern Python library and CLI for controlling Grundfos ALPHA HWR pumps via Bluetooth Low Energy.\n\n## Features\n\n- Automatic discovery and pairing with ALPHA HWR pumps\n- Stream telemetry data (flow, pressure, power, temperature)\n- Set pump modes and setpoints with automatic validation\n- Create and manage time-based operation schedules\n- Save and restore complete pump configurations\n- Full type hints and validation with Pydantic\n- Built on async Python for efficient BLE communication\n- Command-line interface for quick operations\n\n## Installation\n\n```bash\npip install alpha-hwr\n```\n\n**Requirements:** Python 3.13+ with Bluetooth Low Energy support\n\n## Quick Start\n\n### Command Line\n\n```bash\n# Discover nearby pumps\nalpha-hwr device scan\n\n# Monitor telemetry in real-time\nalpha-hwr monitor telemetry AA:BB:CC:DD:EE:FF\n\n# Check pump status\nalpha-hwr control status AA:BB:CC:DD:EE:FF\n\n# Set constant pressure mode (1.5 meters)\nalpha-hwr control set-pressure 1.5 AA:BB:CC:DD:EE:FF\n```\n\n### Python Library\n\n```python\nimport asyncio\nfrom alpha_hwr import AlphaHWRClient\n\nasync def main():\n    # Connect to pump (auto-discovery or specific address)\n    async with AlphaHWRClient(\"AA:BB:CC:DD:EE:FF\") as client:\n        # Read telemetry\n        telemetry = await client.telemetry.read_once()\n        print(f\"Flow: {telemetry.flow_m3h} m³/h\")\n        print(f\"Head: {telemetry.head_m} m\")\n        print(f\"Power: {telemetry.power_w} W\")\n        \n        # Set constant pressure mode\n        await client.control.set_constant_pressure(1.5)  # 1.5 meters\n        \n        # Read device info\n        info = await client.device_info.read_info()\n        print(f\"Serial: {info.serial_number}\")\n        print(f\"Software: {info.software_version}\")\n\nasyncio.run(main())\n```\n\n## Supported Control Modes\n\nThe ALPHA HWR supports 5 primary modes optimized for domestic hot water recirculation:\n\n| Mode | Setpoint Range | Notes |\n|------|---------------|-------|\n| **Temperature Control** | 20-60°C | Dual setpoints (min/max), AUTOADAPT flow adjustment, optional Flow Limit |\n| **Cycle Time Control** | 1-60 min | Configurable ON/OFF durations |\n| **Constant Curve** | 1000-4500 RPM | Fixed speed with optional Flow Limit |\n| **Constant Pressure** | 0.5-6.0 m | Fixed head pressure |\n| **Constant Flow** | 0.1-3.0 m³/h | Fixed flow rate |\n\nProportional Pressure (0.5-6.0 m) is also fully supported.\n\n## Documentation\n\n**Complete documentation:** [https://eman.github.io/alpha-hwr/](https://eman.github.io/alpha-hwr/)\n\n- [Installation Guide](https://eman.github.io/alpha-hwr/getting_started/installation/)\n- [Quick Start Tutorial](https://eman.github.io/alpha-hwr/getting_started/quick_start/)\n- [CLI Reference](https://eman.github.io/alpha-hwr/guides/cli_guide/)\n- [Python API Reference](https://eman.github.io/alpha-hwr/api/client/)\n- [Control Modes Guide](https://eman.github.io/alpha-hwr/guides/control_modes/)\n- [Protocol Documentation](https://eman.github.io/alpha-hwr/protocol/ble_architecture/)\n\n## Examples\n\n### Monitor Telemetry Stream\n\n```python\nasync with AlphaHWRClient(address) as client:\n    # Stream telemetry updates\n    async for telemetry in client.telemetry.monitor():\n        print(f\"Flow: {telemetry.flow_m3h:.2f} m³/h, \"\n              f\"Head: {telemetry.head_m:.2f} m, \"\n              f\"Power: {telemetry.power_w:.1f} W\")\n```\n\n### Manage Schedules\n\n```python\nfrom alpha_hwr.models import ScheduleEntry\n\nasync with AlphaHWRClient(address) as client:\n    # Create a schedule entry for Monday 6:00 AM - 8:30 AM\n    entry = ScheduleEntry(\n        day=\"Monday\",\n        begin_hour=6,\n        begin_minute=0,\n        end_hour=8,\n        end_minute=30,\n        layer=0\n    )\n    \n    # Write schedule and enable it\n    await client.schedule.write_entries([entry], layer=0)\n    await client.schedule.enable()\n```\n\n### Backup \u0026 Restore Configuration\n\n```python\nasync with AlphaHWRClient(address) as client:\n    # Backup current configuration\n    await client.config.backup(\"pump_backup.json\")\n    \n    # Restore from backup\n    await client.config.restore(\"pump_backup.json\")\n```\n\n## Project Status\n\nActively maintained and tested on real ALPHA HWR hardware.\n\n## Contributing\n\nContributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\nMIT License - See [LICENSE](LICENSE) for details.\n\n## Links\n\n- **PyPI:** https://pypi.org/project/alpha-hwr/\n- **Documentation:** https://eman.github.io/alpha-hwr/\n- **Source Code:** https://github.com/eman/alpha-hwr\n- **Issue Tracker:** https://github.com/eman/alpha-hwr/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feman%2Falpha-hwr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feman%2Falpha-hwr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feman%2Falpha-hwr/lists"}