{"id":49281886,"url":"https://github.com/davidsmfreire/shinemonitor-api","last_synced_at":"2026-04-25T19:01:57.771Z","repository":{"id":242235084,"uuid":"809019948","full_name":"davidsmfreire/shinemonitor-api","owner":"davidsmfreire","description":"Shinemonitor rest-API client for multiple languages + HACS Home Assistant integration, to fetch inverter data such as for Growatt, SRNE, Voltronic Axpert, Synapse Max, Hopewind inverters","archived":false,"fork":false,"pushed_at":"2026-04-25T15:58:45.000Z","size":333,"stargazers_count":14,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-25T16:18:11.966Z","etag":null,"topics":["api","api-client","api-gateway","axpert","growatt","hacs","home-assistant","hopewind","rest-api","shinemonitor","shinemonitor-api","snre","voltronic","voltronic-axpert-inverters"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidsmfreire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-01T13:05:57.000Z","updated_at":"2026-04-25T15:58:48.000Z","dependencies_parsed_at":"2024-06-01T16:17:02.010Z","dependency_job_id":"f7f97fbf-22d4-4ee4-a849-1bf5aa49e3dc","html_url":"https://github.com/davidsmfreire/shinemonitor-api","commit_stats":null,"previous_names":["davidsmfreire/watchpower-api","davidsmfreire/shinemonitor-api"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/davidsmfreire/shinemonitor-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsmfreire%2Fshinemonitor-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsmfreire%2Fshinemonitor-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsmfreire%2Fshinemonitor-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsmfreire%2Fshinemonitor-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidsmfreire","download_url":"https://codeload.github.com/davidsmfreire/shinemonitor-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidsmfreire%2Fshinemonitor-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32273223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: 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":["api","api-client","api-gateway","axpert","growatt","hacs","home-assistant","hopewind","rest-api","shinemonitor","shinemonitor-api","snre","voltronic","voltronic-axpert-inverters"],"created_at":"2026-04-25T19:01:53.779Z","updated_at":"2026-04-25T19:01:57.762Z","avatar_url":"https://github.com/davidsmfreire.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shinemonitor-api\n\nMulti-language clients for the ShineMonitor inverter cloud API\n(`api.shinemonitor.com`) — used by WatchPower, SolarPower, and other\nvendor apps for Voltronic-derived inverters.\n\n## Layout\n\n| Path                 | What                                                                |\n| -------------------- | ------------------------------------------------------------------- |\n| `spec/`              | Endpoint catalog + schemas — source of truth for every client       |\n| `python/`            | Python client (`shinemonitor-api` on PyPI)                          |\n| `rust/`              | Rust client (`shinemonitor-api` on crates.io)                       |\n| `go/`                | Go client (`github.com/davidsmfreire/shinemonitor-api/go`, via tag) |\n| `mock-server/`       | Cross-language mock used by every client test suite                 |\n| `scripts/codegen.py` | Reads `spec/endpoints.yaml`, emits client + mock action files       |\n| `custom_components/` | Home Assistant integration (HACS-installable)                       |\n\nPython and Rust release in lockstep from a single `vX.Y.Z` git tag. Go\nuses a separate `go/vX.Y.Z` tag (Go module proxy requires the path\nprefix); both tags ship from the same commit.\n\n## Quick start\n\n- Python: see [`python/README.md`](python/README.md) —\n  `pip install shinemonitor-api`\n- Rust: see [`rust/`](rust/) — `cargo add shinemonitor-api`\n- Go: see [`go/README.md`](go/README.md) —\n  `go get github.com/davidsmfreire/shinemonitor-api/go`\n- Home Assistant: add this repo as a HACS custom repository (type:\n  _Integration_) and install **ShineMonitor**. See\n  [`info.md`](info.md).\n\n## Releasing\n\n1. `bash scripts/bump.sh X.Y.Z` — bumps `python/pyproject.toml` and\n   `rust/Cargo.toml`, commits, and tags `vX.Y.Z`.\n2. `git tag go/vX.Y.Z` on the same commit.\n3. `git push origin main --tags`.\n\nCI publishes the Python tag to PyPI and the Rust tag to crates.io, then\ncuts a GitHub release with the combined changelog. The Go module proxy\npicks up `go/vX.Y.Z` automatically — no publish step.\n\n## Adding endpoints\n\nEdit `spec/endpoints.yaml` and run `python scripts/codegen.py`. That\nregenerates the URL builders, methods, and mock handlers for every\nclient. Auth flows (`auth`, `authSource`) stay handwritten because they\nsign differently. See [`spec/README.md`](spec/README.md).\n\n## Renamed from `watchpower-api`\n\nThis project was renamed because the API serves multiple apps, not\nonly WatchPower. Old PyPI/crates.io packages remain published as\n`watchpower-api` up to `0.3.0` (Python) and `0.0.5` (Rust); new\nreleases ship as `shinemonitor-api`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidsmfreire%2Fshinemonitor-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidsmfreire%2Fshinemonitor-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidsmfreire%2Fshinemonitor-api/lists"}