Ross ROSS = Recommend OSS · open-source software intelligence for agents

ARC-MX/sgcc_electricity_new

HomeAssistant 国家电网电费查询 observed · 2026-08-28

github.com/ARC-MX/sgcc_electricity_new · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

89/100

  • Activity 97
  • Release rhythm 95
  • Longevity 60
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 7
  • age_days: 847
  • days_rel: 36
  • days_push: 20
  • n_releases_24m: 20

Full methodology

Adoption not part of the score

1855 stars · 312 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

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.

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

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

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

Facets

plugin · maturity active

web-scraping monitoring data-science ocr iot energy self-hosted python self-hosted home-assistant state-grid electricity-usage energy-monitoring captcha-recognition china sensor-integration sqlite home-automation automation docker

1 source

Member repositories

RepositoryRoleHealth v2
ARC-MX/sgcc_electricity_newmain89

For agents

markdown · JSON · MCP: product_card(name="ARC-MX/sgcc_electricity_new")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem