When I installed the system originally, I built a serial port-attached digital voltmeter to track the charge status of the batteries. My system also has a Morningstar SureSine-300 Inverter for AC loads. I have an off-grid solar power system with two Morningstar SunSaver MPPTs connected seperately to a Kyocera KD205GX-LP 205 watt photovoltaic (PV) panel and a Grape Solar GS-S-250-Fab5 250 watt PV panel. Modbus library for Linux and OSX – libmodbus ( ) - Linux - sudo apt install libmodbus-dev pkg-config Software development environment: Linux – sudo install build-essential (sudo apt install build-essential), Mac OS X – install X Code Serial port (either built-in or via USB-Serial adaptor) Morningstar Meterbus to Serial Converter (MSC) Morningstar SunSaver MPPT with Switch 4 ON (MODBUS Protocol) The programming principles in the code examples should also work with the SunSaver Duo, the TriStar PWM, the TriStar MPPT, the ProStar PWM, the ProStar MPPT, and the Relay Driver. I have tested the software below with two SunSaver MPPTs and a SureSine-300 using their MODBUS connections, a MeterHub, and a Meterbus to Serial Converter (MSC). It is relatively easy to write software to read data from a Morningstar product that supports the MODBUS protocol.
Linux (and Mac OS X) Software to Read Data from Morningstar Products that Support the MODBUS Protocol