Adjusted the QPIRI buffer size to 102 and now it seems to be functioning correctly.
warwick@linux-server:/opt/ha-inverter-mqtt-agent$ sudo docker exec -it voltronic-mqtt bash -c '/opt/inverter-cli/bin/inverter_poller -d -1'
[sudo] password for warwick:
Tue May 5 16:10:40 2020 INVERTER: Debug set
Tue May 5 16:10:40 2020 INVERTER: Current CRC: 49 C1
Tue May 5 16:10:40 2020 INVERTER: QMOD reply size (5 bytes)
Tue May 5 16:10:40 2020 INVERTER: QMOD: 5 bytes read: (L
Tue May 5 16:10:40 2020 INVERTER: QMOD query finished
Tue May 5 16:10:41 2020 INVERTER: Current CRC: B7 A9
Tue May 5 16:10:44 2020 INVERTER: QPIGS read timeout
Tue May 5 16:10:44 2020 INVERTER: QPIGS reply too short (8 bytes)
Tue May 5 16:10:44 2020 INVERTER: Current CRC: F8 54
Tue May 5 16:10:44 2020 INVERTER: QPIRI reply size (102 bytes)
Tue May 5 16:10:44 2020 INVERTER: QPIRI: 102 bytes read: (230.0 21.7 230.0 50.0 21.7 5000 4000 48.0 51.0 48.2 56.4 54.0 2 10 120 1 2 1 9 01 0 0 54.0 1 1 000
Tue May 5 16:10:44 2020 INVERTER: QPIRI query finished
Tue May 5 16:10:44 2020 INVERTER: Current CRC: B4 DA
Tue May 5 16:10:44 2020 INVERTER: QPIWS reply size (36 bytes)
Tue May 5 16:10:44 2020 INVERTER: QPIWS: 36 bytes read: (00000000000000000000000000000000
Tue May 5 16:10:44 2020 INVERTER: QPIWS query finished
Tue May 5 16:10:49 2020 INVERTER: Current CRC: B7 A9
Tue May 5 16:10:50 2020 INVERTER: QPIGS reply size (110 bytes)
Tue May 5 16:10:50 2020 INVERTER: QPIGS: 110 bytes read: (240.2 50.1 240.2 50.1 0624 0610 015 425 52.70 000 078 0052 0000 056.9 52.79 00001 00010110 00 00 00000 010
Tue May 5 16:10:50 2020 INVERTER: QPIGS query finished
INVERTER: ampfactor from config is 1.00
INVERTER: wattfactor from config is 1.01
{
"Inverter_mode":3,
"AC_grid_voltage":240.2,
"AC_grid_frequency":50.1,
"AC_out_voltage":240.2,
"AC_out_frequency":50.1,
"PV_in_voltage":56.9,
"PV_in_current":0.0,
"PV_in_watts":0.0,
"PV_in_watthour":0.0000,
"SCC_voltage":52.7900,
"Load_pct":15,
"Load_watt":610,
"Load_watthour":20.3333,
"Load_va":624,
"Bus_voltage":425,
"Heatsink_temperature":52,
"Battery_capacity":78,
"Battery_voltage":52.70,
"Battery_charge_current":0,
"Battery_discharge_current":1,
"Load_status_on":1,
"SCC_charge_on":1,
"AC_charge_on":0,
"Battery_recharge_voltage":51.0,
"Battery_under_voltage":48.2,
"Battery_bulk_voltage":56.4,
"Battery_float_voltage":54.0,
"Max_grid_charge_current":10,
"Max_charge_current":120,
"Out_source_priority":2,
"Charger_source_priority":1,
"Battery_redischarge_voltage":0.0,
"Warnings":"00000000000000000000000000000000"
}
Tue May 5 16:10:50 2020 INVERTER: All queries complete, exiting loop.
Is this the correct thing to have done?
@ned-kelly and @Lee1
I just thought I would confirm that I have a Mecer SOL-I-AX-5M with Firmware 73.00e.