go-modbus
Modbus client and server for the functions of the specification: TCP, RTU, ASCII, TLS and UDP, typed register codecs, pooling, retries and a PDU tap for recording.
go get github.com/otfabric/go-modbusSunSpec reference stacks in containers behind one contract: the SunSpec Alliance's pysunspec2 and cB-Sigma's sunspec and sunspec-sim, as devices and clients, with fixtures from the common models to the IEEE 1547 DER curves.
The README on GitHub has the full feature list, examples and changelog.
Modbus client and server for the functions of the specification: TCP, RTU, ASCII, TLS and UDP, typed register codecs, pooling, retries and a PDU tap for recording.
go get github.com/otfabric/go-modbusSunSpec 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-sunspecIdentify, fingerprint, scan, poll, decode and write Modbus devices over TCP, serial and TLS. Record them to MBCAP capture files and replay those as a simulated device.
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.
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.