Script for controlling Hoymiles microinverters by modbus commands Inputs: Power values from the victron system (Grid in, PV in, AC out, Chargepower, system state)