Read inverter registers from a SunSpec-compliant device using Modbus TCP

domain: sunspec.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Confirm the inverter's Modbus TCP address (default port 502) and unit ID (commonly 1 or 126 depending on vendor); ensure network connectivity and that the device has Modbus TCP enabled.
  2. Connect a Modbus TCP client (e.g., pymodbus in Python) and read the SunSpec start register sequence: read holding registers at base address 40000 (or 0 in zero-indexed libraries) and verify the first two registers contain the SunSpec identifier value 0x53756e53 ('SunS').
  3. Walk the model chain starting at register 40002: read the model ID (first register of each block) and length (second register), then advance by length+2 to find the next model until you reach model ID 0xFFFF (end marker).
  4. For common inverter data, locate Model 101 (single-phase) or Model 103 (three-phase) for AC measurements; read registers for AC power (watts), AC current, voltage, frequency, and energy lifetime; apply the scale factor (SF) registers that accompany each value group.
  5. For DC input data, read the appropriate registers in the same model block; use the SunSpec Model 101/103 register map from sunspec.org to identify register offsets and data types.

Known gotchas

Related routes

Read solar inverter telemetry over SunSpec Modbus models
sunspec.org · 6 steps · unrated
Read a SunSpec Modbus register map from a solar inverter
sunspec.org · 5 steps · unrated
Scan SunSpec Modbus devices for the SunS marker across all base registers
sunspec.org · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans