{"id":14985268,"url":"https://github.com/firstof9/python-openevse-http","last_synced_at":"2026-05-30T05:00:41.807Z","repository":{"id":36979247,"uuid":"394732202","full_name":"firstof9/python-openevse-http","owner":"firstof9","description":"Python Library for OpenEVSE HTTP API","archived":false,"fork":false,"pushed_at":"2026-05-30T03:22:24.000Z","size":731,"stargazers_count":6,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-30T04:12:17.317Z","etag":null,"topics":["hacktoberfest","home-assistant","home-automation","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firstof9.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,"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":"2021-08-10T17:38:44.000Z","updated_at":"2026-05-30T03:18:56.000Z","dependencies_parsed_at":"2023-10-23T17:32:12.397Z","dependency_job_id":"a1c6aae7-2ece-4919-9041-7f9bb5f0b068","html_url":"https://github.com/firstof9/python-openevse-http","commit_stats":{"total_commits":250,"total_committers":2,"mean_commits":125.0,"dds":0.496,"last_synced_commit":"d35ab4d19b0852ae8458d6dc7bab1b69259eee92"},"previous_names":[],"tags_count":137,"template":false,"template_full_name":null,"purl":"pkg:github/firstof9/python-openevse-http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstof9%2Fpython-openevse-http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstof9%2Fpython-openevse-http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstof9%2Fpython-openevse-http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstof9%2Fpython-openevse-http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firstof9","download_url":"https://codeload.github.com/firstof9/python-openevse-http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstof9%2Fpython-openevse-http/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33680527,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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":["hacktoberfest","home-assistant","home-automation","python","python3"],"created_at":"2024-09-24T14:10:37.326Z","updated_at":"2026-05-30T05:00:41.802Z","avatar_url":"https://github.com/firstof9.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Codecov branch](https://img.shields.io/codecov/c/github/firstof9/python-openevse-http/main?style=flat-square)\n![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/firstof9/python-openevse-http?style=flat-square)\n![GitHub last commit](https://img.shields.io/github/last-commit/firstof9/python-openevse-http?style=flat-square)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/firstof9/python-openevse-http?style=flat-square)\n\n# python-openevse-http\n\nA Python library for communicating with [OpenEVSE](https://www.openevse.com/) chargers via the HTTP API on ESP8266 and ESP32-based WiFi modules.\n\n## Features\n\n- **Asynchronous**: Built on `aiohttp` for non-blocking I/O.\n- **WebSocket Support**: Real-time updates for charger status.\n- **Firmware Support**: Compatible with ESP8266 (2.x) and ESP32 (4.x+) WiFi firmware.\n- **Comprehensive API**:\n    - Query status and configuration.\n    - Manage manual overrides.\n    - Control charging claims and limits.\n    - Handle schedules.\n    - **Shaper Toggle**: Enable or disable the grid shaper feature (requires firmware 4.0.0+).\n\n## Installation\n\n```bash\npip install python_openevse_http\n```\n\n## Quick Start\n\n```python\nimport asyncio\nfrom openevsehttp import OpenEVSE\n\nasync def main():\n    # Initialize the charger\n    charger = OpenEVSE(\"192.168.1.30\")\n\n    # Update state\n    await charger.update()\n\n    print(f\"Charger State: {charger.status}\")\n    print(f\"Current Charge: {charger.charge_current}A\")\n\n    # Toggle the Shaper feature\n    if charger.shaper_active:\n        print(\"Shaper is active, disabling...\")\n    else:\n        print(\"Shaper is inactive, enabling...\")\n\n    await charger.toggle_shaper()\n\n    # Clean up\n    await charger.close()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n## API Support Matrix\n\n| Endpoint | Methods | Supported | Description |\n| :--- | :--- | :---: | :--- |\n| `/status` | GET, POST | ✅ | Real-time status, sensors, and **Vehicle SoC** pushing |\n| `/config` | GET, POST | ✅ | System and WiFi configuration |\n| `/override` | GET, POST, PATCH, DELETE | ✅ | Manual charging overrides \u0026 current limits |\n| `/claims` | GET, POST, DELETE | ✅ | Client-based charging claims |\n| `/schedule` | GET, POST | ✅ | Charging schedule management |\n| `/limit` | GET, POST, DELETE | ✅ | Charge limits (Time, Energy, SoC) |\n| `/shaper` | POST | ✅ | Grid shaper control (v4.0.0+) |\n| `/restart` | POST | ✅ | Reboot WiFi gateway or EVSE module |\n| `/divertmode` | POST | ✅ | Solar divert mode control |\n| `/r` (RAPI) | POST | ✅ | Direct RAPI command interface |\n| `/ws` | GET | ✅ | WebSocket real-time updates |\n| `/time` | GET, POST | ❌ | RTC and NTP time settings |\n| `/logs` | GET | ❌ | System and debug event logs |\n| `/emeter` | DELETE | ❌ | Energy meter reset |\n| `/wifi` | GET, POST | ❌ | Network scanning and AP configuration |\n| `/tesla` | GET | ❌ | Tesla vehicle integration |\n| `/certificates`| GET, POST, DELETE | ❌ | SSL/TLS certificate management |\n| `/schedule/plan`| GET | ❌ | Schedule planning and optimization |\n| `/update` | POST | ❌ | Firmware update interface |\n| `/rfid/add` | POST | ❌ | RFID tag management |\n\n✅ = Fully Supported \\| ⚠️ = Partial Support \\| ❌ = Not yet implemented\n\n## License\n\nThis project is licensed under the Apache-2.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstof9%2Fpython-openevse-http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirstof9%2Fpython-openevse-http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstof9%2Fpython-openevse-http/lists"}