{"adoption": {"forks": 312, "observed_at": "2026-08-28T04:05:44.826252+00:00", "stars": 1855}, "canonical_url": "https://ross.abutalabs.com/products/sgcc_electricity_new", "card": {"archived": false, "artifact_type": "plugin", "description": "HomeAssistant 国家电网电费查询", "domain": ["iot", "energy", "self-hosted"], "enriched": true, "function": ["web-scraping", "monitoring", "data-science", "ocr"], "health_score": 98, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["ARC-MX/sgcc_electricity_new"], "name": "ARC-MX/sgcc_electricity_new", "platform": ["python", "self-hosted"], "pushed_at": "2026-08-13T08:21:49+00:00", "repo": "ARC-MX/sgcc_electricity_new", "stars": 1855, "tags": ["home-assistant", "state-grid", "electricity-usage", "energy-monitoring", "captcha-recognition", "china", "sensor-integration", "sqlite", "home-automation", "automation", "docker"], "topics": [], "urls": [], "use_cases": ["track my home electricity usage in home assistant", "query my state grid electricity bill balance automatically", "monitor daily kwh consumption from the national grid", "store historical daily electricity usage in a database", "get notified when my prepaid electricity balance is low", "import sgcc electricity data as home assistant sensors"], "what_it_is": "A Home Assistant integration (deployed via Docker) that scrapes China State Grid (SGCC) accounts to fetch electricity billing and usage data, exposing it as HA sensor entities. It uses an offline neural network to solve login captchas and can optionally store daily usage history in a SQLite database.", "when_to_avoid": ["your utility is not China State Grid (e.g., southern grid or non-Chinese providers)", "you need real-time second-by-second consumption rather than daily/billing-cycle data", "you cannot run Docker or a Home Assistant instance", "you exceed SGCC's daily login limits and need high-frequency polling"], "when_to_choose": ["you are a Home Assistant user in China with a State Grid (国家电网) account", "you want automated, scheduled fetching of electricity balance and usage without manual logins", "you want local/offline captcha recognition instead of a paid online API", "you want historical daily usage stored in SQLite for graphing"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/sgcc_electricity_new", "repo": "ARC-MX/sgcc_electricity_new", "role": "main", "score": 89}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:44.826252+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:16:42.900343+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a485c628a06c2d4553d12654bd6920aeb7aa85d1fc0a9494f17b81a0a1a2e056", "fetched_at": "2026-08-28T04:05:44.826252+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ARC-MX/sgcc_electricity_new"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 60, "rhythm": 95}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 847, "days_push": 20, "days_rel": 36, "gap_med": 7, "n_releases_24m": 20}, "score": 89, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}