This library natively reads data provided by a growatt inverter. Parsing is based on the documentation "Growatt Inverter Modbus RTU Protocol_II" (V1.05 2018-04-19).
npm install growatt-modbus

shell
yarn add growatt-modbus
`
Usage
`js
import GrowattClient from 'growatt-modbus';(async () => {
const growattClient = new GrowattClient({
baudRate: 9600,
device: '/dev/ttyAMA0',
modbusId: 1
});
await growattClient.init();
const data = await growattClient.getData();
})();
``
The parsed data is far from everything the inverter provides but enough for my needs right now. Feel free to open a PR to support information.