Skip to content

v1.0.0 — Hinen Solar Advanced

Choose a tag to compare

@jnctech jnctech released this 22 Jul 03:33

Monitoring and control for Hinen solar inverters, PV, and battery storage — via Home Assistant's own Application Credentials + OAuth2 framework, with no third-party Python dependency. Live-verified against a real inverter (76 entities).

Highlights

  • Auth rewrite onto HA Application Credentials + OAuth2; region auto-detected from the callback; reauthentication flow. No vendor Python dependency.
  • 67 sensors — PV strings, external/AC-coupled PV (e.g. a Solis on the PV meter), grid, battery, temperatures, the full energy-flow matrix, daily & lifetime energy, solar yield, and battery health (SOH, cell voltages/temps).
  • 7 controls — Work Mode select + SOC-limit and charge/discharge-power setpoints, with verified writes (set → refresh → read-back; raises if the inverter rejects the change, so automations enforcing charging rules fail loudly instead of silently drifting).
  • Quality — real test suite (hass + aioclient_mock, no MagicMock), ~90% coverage; CI runs ruff, pytest, hassfest, HACS validation. Minimum HA 2024.12.0. Can run alongside the official hinen_power integration.

See CHANGELOG.md for full detail.

🤖 Generated with Claude Code