Skip to content
CLI tools

sunspecctl

Detect, list, read and poll SunSpec inverters, meters and batteries, and serve a simulated device from a JSON file or a capture of a real one.

Protocols

The README on GitHub has the full feature list, examples and changelog.

go-modbus

Modbus client and server: TCP, RTU, ASCII, TLS and UDP, typed register codecs, pooling and retries.

go get github.com/otfabric/go-modbus

go-sunspec

SunSpec over Modbus, both sides: discovers and decodes 112 built-in models into typed, scaled values, and serves simulated or real SunSpec devices.

go get github.com/otfabric/go-sunspec

modbus-simulator

Deterministic, stateful Modbus TCP and TLS device simulator driven by JSON fixtures, with fault injection, request traces and CI assertions.

modbusctl

Identify, fingerprint, scan, poll, decode and write Modbus devices. Record to MCAP and replay as a simulator.

go-serial

Cross-platform serial ports for RS-232 and RS-485, with a Modbus RTU preset.

go get github.com/otfabric/go-serial

modbus-interop

Modbus TCP reference stacks: libmodbus, PyModbus, digitalpetri, NModbus and tokio-modbus.

SunSpec Explorer

Connect to a SunSpec inverter, meter or battery and see every model it exposes fully decoded. Read once or poll, record and export, without ever writing to the device.