Thanks for everyone who’s contributed to this. Just tried the @catalinbordan fork and was quickly able to get data into Home Assistant right as the sun was setting. Saw PV data streaming in and it was great.
Now that the sun is down, I wanted to see the load data. Turned on my inverter via the switch (usually is off to only run the mppt side of things), and doesn’t seem to show load info. It says 0, but I’m definitely charging my computer from it right now. Any idea why load data might not be working? It’s a PIP1012LV-MS and using the USB cable from it into the pi.
*Note, I didn’t look at my inverter serial number and thus didn’t change it in mqtt.json, but I assume that doesn’t effect anything other than a label…
sudo docker exec -it voltronic-mqtt bash -c ‘/opt/inverter-cli/bin/inverter_poller -d -1’
pi@betty:/opt/ha-inverter-mqtt-agent $ sudo docker exec -it voltronic-mqtt bash -c '/opt/inverter-cli/bin/inverter_poller -d -1'
Wed Jun 29 03:50:41 2022 INVERTER: Debug set
Wed Jun 29 03:50:41 2022 DEBUG: Current CRC: 49 C1
Wed Jun 29 03:50:41 2022 DEBUG: Send buffer hex bytes: ( 51 4d 4f 44 49 c1 0d )
Wed Jun 29 03:50:41 2022 DEBUG: 7 bytes written, 7 bytes sent, 0 bytes remaining
Wed Jun 29 03:50:41 2022 DEBUG: 8 bytes read, 8 total bytes: 28 42 e7 c9 0d 00 00 00
Wed Jun 29 03:50:41 2022 DEBUG: Found reply <cr> at byte: 5
Wed Jun 29 03:50:41 2022 DEBUG: QMOD: 8 bytes read: (B
Wed Jun 29 03:50:41 2022 DEBUG: QMOD query finished
Wed Jun 29 03:50:41 2022 DEBUG: Current CRC: B7 A9
Wed Jun 29 03:50:41 2022 DEBUG: Send buffer hex bytes: ( 51 50 49 47 53 b7 a9 0d )
Wed Jun 29 03:50:41 2022 DEBUG: 8 bytes written, 8 bytes sent, 0 bytes remaining
Wed Jun 29 03:50:41 2022 DEBUG: 8 bytes read, 8 total bytes: 28 30 30 30 2e 30 20 30
Wed Jun 29 03:50:41 2022 DEBUG: 8 bytes read, 16 total bytes: 30 2e 30 20 31 31 39 2e
Wed Jun 29 03:50:41 2022 DEBUG: 8 bytes read, 24 total bytes: 30 20 36 30 2e 30 20 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 32 total bytes: 30 30 30 20 30 30 30 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 40 total bytes: 20 30 30 30 20 32 30 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 48 total bytes: 20 31 33 2e 30 39 20 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 56 total bytes: 30 30 20 30 34 39 20 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 64 total bytes: 34 39 36 20 30 30 30 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 72 total bytes: 20 30 30 30 2e 30 20 31
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 80 total bytes: 33 2e 32 30 20 30 30 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 88 total bytes: 30 31 20 31 30 30 31 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 96 total bytes: 30 30 30 20 38 33 20 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 104 total bytes: 35 20 30 30 30 30 30 20
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 112 total bytes: 30 30 30 77 9c 0d 00 00
Wed Jun 29 03:50:42 2022 DEBUG: Found reply <cr> at byte: 110
Wed Jun 29 03:50:42 2022 DEBUG: QPIGS: 112 bytes read: (000.0 00.0 119.0 60.0 0000 0000 000 200 13.09 000 049 0496 0000 000.0 13.20 00001 10010000 83 05 00000 000
Wed Jun 29 03:50:42 2022 DEBUG: QPIGS query finished
Wed Jun 29 03:50:42 2022 DEBUG: Current CRC: F8 54
Wed Jun 29 03:50:42 2022 DEBUG: Send buffer hex bytes: ( 51 50 49 52 49 f8 54 0d )
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes written, 8 bytes sent, 0 bytes remaining
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 8 total bytes: 28 31 32 30 2e 30 20 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 16 total bytes: 38 2e 33 20 31 32 30 2e
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 24 total bytes: 30 20 36 30 2e 30 20 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 32 total bytes: 38 2e 33 20 31 30 30 30
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 40 total bytes: 20 31 30 30 30 20 31 32
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 48 total bytes: 2e 30 20 31 32 2e 38 20
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 56 total bytes: 31 31 2e 39 20 31 34 2e
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 64 total bytes: 36 20 31 34 2e 36 20 32
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 72 total bytes: 20 32 30 20 30 36 30 20
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 80 total bytes: 30 20 32 20 32 20 2d 20
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 88 total bytes: 30 31 20 31 20 30 20 31
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 96 total bytes: 33 2e 33 20 30 20 30 41
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes read, 104 total bytes: 82 0d 00 00 00 00 00 00
Wed Jun 29 03:50:42 2022 DEBUG: Found reply <cr> at byte: 98
Wed Jun 29 03:50:42 2022 DEBUG: QPIRI: 104 bytes read: (120.0 08.3 120.0 60.0 08.3 1000 1000 12.0 12.8 11.9 14.6 14.6 2 20 060 0 2 2 - 01 1 0 13.3 0 0
Wed Jun 29 03:50:42 2022 DEBUG: QPIRI query finished
Wed Jun 29 03:50:42 2022 DEBUG: Current CRC: B4 DA
Wed Jun 29 03:50:42 2022 DEBUG: Send buffer hex bytes: ( 51 50 49 57 53 b4 da 0d )
Wed Jun 29 03:50:42 2022 DEBUG: 8 bytes written, 8 bytes sent, 0 bytes remaining
Wed Jun 29 03:50:43 2022 DEBUG: 8 bytes read, 8 total bytes: 28 30 30 30 30 30 31 30
Wed Jun 29 03:50:43 2022 DEBUG: 8 bytes read, 16 total bytes: 30 30 30 30 30 30 30 30
Wed Jun 29 03:50:43 2022 DEBUG: 8 bytes read, 24 total bytes: 30 30 30 30 30 30 30 30
Wed Jun 29 03:50:43 2022 DEBUG: 8 bytes read, 32 total bytes: 30 30 30 30 30 30 30 30
Wed Jun 29 03:50:43 2022 DEBUG: 8 bytes read, 40 total bytes: 30 fe 82 0d 00 00 00 00
Wed Jun 29 03:50:43 2022 DEBUG: Found reply <cr> at byte: 36
Wed Jun 29 03:50:43 2022 DEBUG: QPIWS: 40 bytes read: (00000100000000000000000000000000
Wed Jun 29 03:50:43 2022 DEBUG: QPIWS query finished
Wed Jun 29 03:50:43 2022 DEBUG: Start loop
INVERTER: ampfactor from config is 1.00
INVERTER: wattfactor from config is 1.00
{
"Inverter_mode":4,
"AC_grid_voltage":0.0,
"AC_grid_frequency":0.0,
"AC_out_voltage":119.0,
"AC_out_frequency":60.0,
"PV_in_voltage":0.0,
"PV_in_current":0.0,
"PV_in_watts":0.0,
"SCC_voltage":13.2000,
"Load_pct":0,
"Load_watt":0,
"Load_va":0,
"Bus_voltage":200,
"Heatsink_temperature":496,
"Battery_capacity":49,
"Battery_voltage":13.09,
"Battery_charge_current":0,
"Battery_discharge_current":1,
"Load_status_on":1,
"SCC_charge_on":0,
"AC_charge_on":0,
"Battery_voltage_offset_for_fans_on":83,
"Eeprom_version":5,
"PV_charging_power":0,
"Charging_to_floating_mode":0,
"Switch_On":0,
"Dustproof_installed":0,
"Battery_recharge_voltage":12.8,
"Battery_under_voltage":11.9,
"Battery_bulk_voltage":14.6,
"Battery_float_voltage":14.6,
"Max_grid_charge_current":20,
"Max_charge_current":60,
"Out_source_priority":2,
"Charger_source_priority":2,
"Battery_redischarge_voltage":13.3,
"Warnings":"00000100000000000000000000000000"
}
Wed Jun 29 03:50:43 2022 INVERTER: All queries complete, exiting loop.