Separate historical solar research. This is separate solar-product research retained at its existing address. It is not part of the Mesh implementation or its funding model. Read current implementation options.

WA Inverter Interface Research & Universal Adapter Design

Scope: Sungrow, Fronius, GoodWe, Solis, Sigenergy (the dominant WA brands), on the typical 5 kW inverter + 6.6 kW PV home. Confidence note: findings below come from web search summaries of vendor docs and community projects. Register addresses, firmware restrictions, and WA rules must be verified against the current vendor Modbus PDF and your exact firmware before any write is attempted. I did not download or test against real firmware.


1. Key finding: you almost never need custom firmware

Every brand exposes a supported or community-proven local control path. Custom firmware on the inverter itself is the worst option (voids warranty and AS/NZS 4777.2 certification, bricking risk). The right design is a protocol-translating adapter (a "handy tool that reads and responds to the communication"), sitting beside the inverter.

Brand Local interface (no firmware changes) What you can read What you can write Gotchas
Sungrow (SH hybrid, SG-RS) Modbus TCP :502 via WiNet-S/S2 dongle, or inverter's direct LAN port. Community map: mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant PV, load, grid, battery SOC/power, temps EMS mode (self-consume / forced charge / forced discharge), battery power limits, min SOC Newer firmware increasingly blocks EMS writes via WiNet-S; direct LAN port is more reliable. Poll no faster than ~5-10 s on dongle. Unit ID varies (1 or 3).
Fronius (Primo, GEN24 Plus) Modbus TCP, SunSpec maps (enable "Allow control via Modbus", int+SF), plus Solar API v1 (HTTP JSON, read-only) Everything via SunSpec models 101/103/160/124 + meter Model 124 StorCtl_Mod, InWRte, OutWRte, MinRsvPct; WMaxLim_Ena for export limiting Revert timer (~900 s default), must re-send commands. Use the Fronius Smart Meter for dynamic export limiting instead of fighting it. Needs scale factors.
GoodWe (DNS, ET/EH) Proprietary UDP :8899 (python goodwe lib), or Modbus TCP on LAN/WiFi+LAN kit; HA mletenay/home-assistant-goodwe-inverter Full runtime data Eco charge/discharge modes, EMS power mode, DOD, export limit Newer "Kit-20" dongles use DTLS-encrypted 8899, which old libs can't talk to. Eco mode is several settings combined.
Solis (S6 hybrid) RS485 Modbus (COM port) or via data-logger; HA Pho3niX90/solis_modbus 33xxx read-only block 43xxx control block (e.g. forced charge/discharge, power setting) Dead-man: control regs revert if not refreshed (~5 min). Modbus is single-master: a second RS485 master collides with the logger stick. Local TOU/reserve settings can override.
Sigenergy (SigenStor) Modbus TCP :502 (enable in mySigen app), seud0nym/sigenergy2mqtt, TypQxQ/Sigenergy-Home-Assistant-Integration Full Must enable Remote EMS mode; then charge/discharge/limit setpoints Some control features may need installer enablement/firmware.

Universal patterns across all five: 1. Reads are easy; writes are gated (mode switch, installer setting, or firmware level). 2. Almost all control has a timeout / revert-to-safe behavior. This is a feature: a lost adapter means the inverter falls back to normal operation. 3. Single-master buses (Solis RS485) and dongle rate limits mean the adapter must be the only master or share via a gateway. 4. No authentication on Modbus TCP, so the adapter must sit on an isolated VLAN.

2. Control paths ranked by robustness

  1. Local Modbus TCP / SunSpec (preferred): deterministic, works offline, ~seconds latency.
  2. Wired RS485 gateway (Solis, older Sungrow): robust but single-master, needs hardware.
  3. Vendor cloud API: zero hardware but latency, rate limits, outage risk, ToS risk. Good for onboarding/read-only and as fallback.
  4. Custom dongle firmware (ESP32 replacement): only where the stick is an open design; fragile against firmware updates. Avoid as the primary strategy.
  5. Rewriting inverter firmware: do not pursue.

3. Universal Adapter ("SunVantage Edge") design

A small Linux/ESP32-class box (or software container) with these layers:

Inverter-specific drivers (Sungrow | Fronius/SunSpec | GoodWe | Solis | Sigenergy)
        |  normalized to one internal model
Canonical Device Model: pv_kw, load_kw, grid_kw, soc, set_charge_kw, set_discharge_kw,
                        set_export_limit_kw, mode, capabilities, last_write_ack
        |
Safety Governor  <- hard limits, rate limits, heartbeat refresh, auto-revert, write whitelist
        |
Policy Arbitration (priority order, highest first):
   1. Emergency / government signal (signed)
   2. Grid-code & export-limit compliance
   3. Customer safety reserve (SOC floor)
   4. Optimizer (gain-share arbitrage)
   5. Default self-consumption
        |
Uplinks: local API, MQTT, cloud sync; Mesh listener (emergency channel)

Design rules: - Driver auto-detect by probing (SunSpec model 1 manufacturer string, Sungrow device-type register, GoodWe UDP discovery, etc.). - Heartbeat-refresh loop to satisfy revert timers (Fronius ~15 min, Solis ~5 min) and fail-safe by letting them lapse. - Write whitelist only: never touch protection, grid-code, battery-communication registers. - Capability-gated: if writes are blocked (Sungrow WiNet-S firmware), degrade to read-only advice mode rather than failing. - Verify-after-write: read back and confirm every setpoint; alarm on mismatch. - Contention handling: sole-master or gateway arbitration for Solis RS485.

Config Best path Notes
Sungrow SH + battery Direct LAN Modbus TCP (avoid WiNet-S writes) Largest install base; prioritize this driver first
Sungrow SG-RS solar-only Read via WiNet-S; control = export limit / load diversion (smart plug, hot water relay, EV) No battery, so value is in curtailment and load shifting
Fronius Primo/GEN24 Modbus TCP SunSpec + Smart Meter Cleanest, best documented; ideal first MVP
GoodWe DNS/ET Local goodwe UDP / Modbus; check dongle for DTLS Check firmware before promising
Solis S6 RS485 gateway or logger-sharing Single-master problem; test early
Sigenergy Modbus TCP with Remote EMS Fast-growing; installer cooperation helps
Solar-only, any brand Control loads, not the inverter: hot water, pool, EV, AC via relays/smart plugs; use export-limit register where available Matches the "no battery gains" plan

Recommended MVP order: Fronius (cleanest spec) -> Sungrow SH (volume) -> Sigenergy/GoodWe -> Solis.

5. Highest-yield custom strategies (within the standard-config envelope)

For a 5 kW inverter / 6.6 kW array: 1. Export-limit/curtailment on negative or near-zero feed-in (WA DEBS-style products), and active management of the 1.5 kW static export cap that applies to sites without remote control capability; a connected, remotely manageable site may export more, which is itself an arbitrage lever. 2. Battery scheduling vs. price/tariff (hold for evening peak, charge from cheap solar). 3. Load diversion of surplus to hot water (largest cheap "thermal battery"), pool pump, EV. 4. Forecast-aware reserve (weather in, SOC floor out) and storm/heatwave preparation. 5. Clipping recovery: 6.6 kW DC on 5 kW AC clips at midday, so charging the battery or diverting loads at the clip point captures energy otherwise lost. 6. Self-protecting logic: honor battery warranty cycle limits so the optimizer doesn't erode the asset it manages.

6. Government / RESILIENCE-MESH management pathways

What WA rules already provide (from search; verify with Western Power/Energy Policy WA): - All AS/NZS 4777.2 inverters must support DRM0 (disconnect via signal). - Emergency Solar Management (ESM) is an existing last-resort backstop in WA since 2022. - Since 1 May 2026, new/upgraded systems joining export products (e.g. DEBS) must support remote disconnect/reconnect, with retailers nominating the technical solution (CSIP-AUS referenced). Sites without stable internet/participation are capped at 1.5 kW static export.

Therefore the mesh should plug into existing sanctioned channels, not bypass them:

Pathway Mechanism Fit
A. Standards path CSIP-AUS / IEEE 2030.5 client in the adapter, responding to utility/retailer DER signals Most legitimate, matches WA 2026 direction
B. DRM path Adapter exposes/drives DRM0 dry-contact or inverter's DRED input for last-resort disconnect Hardware-level, works even with no network
C. Mesh broadcast path Signed emergency message (RM-TIP profile, Ed25519) over LoRaWAN/cellular/BLE -> Safety Governor priority 1 -> setpoint caps/export curtail Resilient when internet is down; for non-potable water valves + power
D. Opt-in customer program Customer consents to emergency participation in exchange for incentives Avoids coercion/legal exposure

Mesh policy semantics (consistent with the RESILIENCE-MESH safety framework): - Signed, geo-scoped, time-limited (TTL) commands; adapter auto-reverts on expiry or lost heartbeat. - Curtail/cap only (export limit, battery-for-grid, non-essential loads); never isolate potable water, medical, or life-support circuits. - All emergency actions audit-logged and visible to the customer. - Adapter treats emergency state as priority 1 in arbitration but still passes through the Safety Governor.

7. Risks & open questions

8. Suggested next steps

  1. Download the primary docs: Fronius "GEN24 & Tauro Modbus Register - SunSpec Maps", Sungrow communication protocol PDFs, GoodWe ET/DNS protocol, Solis hybrid Modbus spec, Sigenergy Modbus protocol.
  2. Build a driver SDK + simulator (fake inverters) so the optimizer and safety governor can be tested without hardware.
  3. Implement Fronius SunSpec driver first; test on a real or simulated unit.
  4. Add the mesh/CSIP-AUS listener behind the Safety Governor.
  5. Wire the drivers into the existing Streamlit app as a "Connect real inverter (read-only)" mode.