pyMATE is a python library that can be used to emulate an Outback MATE unit, and talk to any supported Outback Power Inc. device such as an MX charge controller, an FX inverter, a FlexNET DC monitor, or a hub with multiple devices attached to it.
You will need a simple adapter circuit and a TTL serial port.
For more details, see jared.geek.nz/pymate