@ned-kelly thank you very much for this.
I do have a strange issue and would like to know if there is anyway to debug.
Ive changed the config to run the serial command every 10s.
This seems to work fine and respond in good time.
However, the system never runs for a full 24 hour period. after a number of hours, typically around 16 to 20, the serial communication stops, and i have to unplug the usb cable to fix.
GETTING THESE errors and cant setup mqtt HELP!
Wed Feb 3 10:37:13 2021 INVERTER: Current CRC: B7 A9
Wed Feb 3 10:37:16 2021 INVERTER: QPIGS read timeout
Wed Feb 3 10:37:16 2021 INVERTER: QPIGS reply too short (16 bytes)
Wed Feb 3 10:37:16 2021 INVERTER: Current CRC: F8 54
Wed Feb 3 10:37:19 2021 INVERTER: QPIRI read timeout
Wed Feb 3 10:37:19 2021 INVERTER: QPIRI reply too short (8 bytes)
Wed Feb 3 10:37:19 2021 INVERTER: Current CRC: B4 DA
Wed Feb 3 10:37:22 2021 INVERTER: QPIWS read timeout
Wed Feb 3 10:37:22 2021 INVERTER: QPIWS reply too short (8 bytes)
Wed Feb 3 10:37:27 2021 INVERTER: Current CRC: 49 C1
Wed Feb 3 10:37:27 2021 INVERTER: QMOD reply size (5 bytes)
▒ed Feb 3 10:37:27 2021 INVERTER: QMOD: incorrect start/stop bytes. Buffer: ^0
Wed Feb 3 10:37:27 2021 INVERTER: Current CRC: B7 A9
Wed Feb 3 10:37:30 2021 INVERTER: QPIGS read timeout
Wed Feb 3 10:37:30 2021 INVERTER: QPIGS reply too short (16 bytes)
Wed Feb 3 10:37:30 2021 INVERTER: Current CRC: F8 54
Wed Feb 3 10:37:33 2021 INVERTER: QPIRI read timeout
Wed Feb 3 10:37:33 2021 INVERTER: QPIRI reply too short (8 bytes)
Wed Feb 3 10:37:33 2021 INVERTER: Current CRC: B4 DA
Wed Feb 3 10:37:36 2021 INVERTER: QPIWS read timeout
Wed Feb 3 10:37:36 2021 INVERTER: QPIWS reply too short (24 bytes)
Wed Feb 3 10:37:41 2021 INVERTER: Current CRC: 49 C1
Wed Feb 3 10:37:41 2021 INVERTER: QMOD reply size (5 bytes)
▒ed Feb 3 10:37:41 2021 INVERTER: QMOD: incorrect start/stop bytes. Buffer: ^0
Wed Feb 3 10:37:41 2021 INVERTER: Current CRC: B7 A9
Wed Feb 3 10:37:44 2021 INVERTER: QPIGS read timeout
Wed Feb 3 10:37:44 2021 INVERTER: QPIGS reply too short (16 bytes)
Wed Feb 3 10:37:44 2021 INVERTER: Current CRC: F8 54
Wed Feb 3 10:37:47 2021 INVERTER: QPIRI read timeout
Wed Feb 3 10:37:47 2021 INVERTER: QPIRI reply too short (8 bytes)
Wed Feb 3 10:37:47 2021 INVERTER: Current CRC: B4 DA
Is there a way to start TWO docker containers with different config? ie one for hidraw0 and other for usb2serial? on one raspberry pi3b+
Hi Jackie
How do you publish back from HA to ICC with MQTT. I want to set the AC Charge current in ICC/PIP but cant get the setting to ICC.
BTW im successfully getting all my required data from ICC to HA via MQTT
Dankie man.
Hi twmuller
I basically have 2 MQTT servers running.
I have the one running on my RPI3 which does the solar monitoring of my inverters. I use this one via Node-Red to forward/publish all relevant MQTT messages to Home Assistant RPi MQTT Server
On my Home Assistant RPi there is my normal MQTT server running as well. I’ve also got Node-Red on this server. So I use Node-Red on my HA server to capture MQTT messages from within HA and just publish it to my ICC Solar RPI MQTT server.
I tried to have these 2 MQTT servers linked, but in the end I just decided to use Node-Red as my middle man! I use HA to change my ICC solar to Grid or Battery, so I’ve just setup some automations that run and send the necessary MQTT values through. And because the ICC solar system is subscibed to this topic, it picks it up and actions it.
Hope this helps
Hi Guys
Does anyone have this running on unraid docker? I am struggling to find the installation location to configure it.
HI
Got it working. Manie told me to read the “Check for update” info, and i found the topics to post to. It works great
Thanks
Hi there micomp,
Did you ever find these values out ? ive just bought a Kodac 5kw which i believe is the vmiii ?
let me know thanks
Gareth
Hi still no luck
Hi all…
I see many users have problem(me too) to get Pv Panel input data from Inverter to Ha,because no have that sensor listed on Mqqt and on th Inverter Poller file.
Example:QPIGS: 110 bytes read: (231.7 49.9 230.1 49.9 0345 0284 006 394 53.50 025 063 0056 0025 255.0 00.00 00000 00010010 00 00 01839 010.
-“01839” is Pv Panel in watt…where must add the sensor to get its data shown on the inverter Poller??
Now Inverter Poller ends with “Battery_redischarge_voltage”
Example:
“Max_grid_charge_current”:10,
“Max_charge_current”:60,
“Out_source_priority”:2,
“Charger_source_priority”:3,
“Battery_redischarge_voltage”:-0.0,
I try to modify Main.cpp file adding this.
int batt_fan_voltage;
int eeprom_version;
float pv_panel_power_watts;
and this:
printf(" “Battery_fan_voltage”:%.1f,\n", batt_fan_voltage);
printf(" “Eeprom_version”:%.1f,\n", eeprom_version);
printf(" “PV_panel_power_watts”:%.1f,\n", pv_panel_power_watts)
printf("}\n");
but can not see the data in the Inverter Poller !!???
Please help
Thank you very much
Hey Guys, have you managed to find a solution I’m still looking ?
In the past 2 days Manio kindly and patiently made corrections to my wrongly modified Main.cpp file and send me back to test.
I had to debug and recompyle in my raspberryPi4 and tested the new file Inverter-cli…Now it shows new value:
Mon Feb 22 09:34:11 2021 INVERTER: QPIGS: 110 bytes read: (230.4 49.9 229.8 50.0 0367 0268 007 403 52.70 021 055 0056 0021 260.4 00.00 00000 00010010 00 00 01543 010
“Out_source_priority”:2,
“Charger_source_priority”:3,
“Battery_redischarge_voltage”:-0.4,
“Warnings”:“00000000000000000000000000000000”
“Test1”:“0”
“Test2”:“0”
“Test3”:“1543” this is Inverter Pv In watt
“Test4”:“10”
You can go here follow instruction and try to get the new data from your inverter.
Still not integrated …can not see data in Ha…working are in progress…
Everybody interested can help and contribute to solution…
and post solution too…
I have a rebranded Axpert 24V 2kw model with USB port, this post helped me a lot somehow, after trying these values there were a lot less problems, and so it put me on the right track until I finally got what worked for me without any errors:
qpiri=97
qmod=5
qpigs=110
#qpiws=40
Hi, I have 2 Axpert King in parallel, could I use this?
If I only want to get MQTT data, Will I need to get it through Home Assistant?
Thanks in advance
Hi. I’ve read all this topic and i have no ide how to get working my inverter
Brand name “MUST” Model PV1800 MPK. This inverter is almost smae with other inverters in this thread.
3kw - 24v
both containers running but i can’t get data. I’ve tried everything. Set different values for qpiri, qpiws. Also tried to set speed to 2400.
I’m connecting it via USB. But it seems that this inverter have rs232-to-USB converter inside. Because i have only ttyUSB0 in /dev after connection.
This is an endless output
root@582aa488d6b4:/opt/inverter-cli/bin# ./inverter_poller -d -1
Sun Mar 14 19:32:48 2021 INVERTER: Debug set
Sun Mar 14 19:32:48 2021 INVERTER: Current CRC: 49 C1
Sun Mar 14 19:32:51 2021 INVERTER: QMOD read timeout
Sun Mar 14 19:32:51 2021 INVERTER: QMOD reply too short (0 bytes)
Sun Mar 14 19:32:51 2021 INVERTER: Current CRC: B7 A9
Sun Mar 14 19:32:54 2021 INVERTER: QPIGS read timeout
Sun Mar 14 19:32:54 2021 INVERTER: QPIGS reply too short (0 bytes)
Sun Mar 14 19:32:54 2021 INVERTER: Current CRC: F8 54
Sun Mar 14 19:32:57 2021 INVERTER: QPIRI read timeout
Sun Mar 14 19:32:57 2021 INVERTER: QPIRI reply too short (0 bytes)
Sun Mar 14 19:32:57 2021 INVERTER: Current CRC: B4 DA
Sun Mar 14 19:33:00 2021 INVERTER: QPIWS read timeout
Sun Mar 14 19:33:00 2021 INVERTER: QPIWS reply too short (0 bytes)
Sun Mar 14 19:33:05 2021 INVERTER: Current CRC: 49 C1
Sun Mar 14 19:33:08 2021 INVERTER: QMOD read timeout
Sun Mar 14 19:33:08 2021 INVERTER: QMOD reply too short (0 bytes)
Sun Mar 14 19:33:08 2021 INVERTER: Current CRC: B7 A9
Sun Mar 14 19:33:11 2021 INVERTER: QPIGS read timeout
Sun Mar 14 19:33:11 2021 INVERTER: QPIGS reply too short (0 bytes)
Sun Mar 14 19:33:11 2021 INVERTER: Current CRC: F8 54
Sun Mar 14 19:33:14 2021 INVERTER: QPIRI read timeout
Sun Mar 14 19:33:14 2021 INVERTER: QPIRI reply too short (0 bytes)
Sun Mar 14 19:33:14 2021 INVERTER: Current CRC: B4 DA
Sun Mar 14 19:33:17 2021 INVERTER: QPIWS read timeout
Sun Mar 14 19:33:17 2021 INVERTER: QPIWS reply too short (0 bytes)
Sun Mar 14 19:33:22 2021 INVERTER: Current CRC: 49 C1
Sun Mar 14 19:33:25 2021 INVERTER: QMOD read timeout
Sun Mar 14 19:33:25 2021 INVERTER: QMOD reply too short (0 bytes)
Sun Mar 14 19:33:25 2021 INVERTER: Current CRC: B7 A9
Sun Mar 14 19:33:28 2021 INVERTER: QPIGS read timeout
Sun Mar 14 19:33:28 2021 INVERTER: QPIGS reply too short (0 bytes)
Sun Mar 14 19:33:28 2021 INVERTER: Current CRC: F8 54
Sun Mar 14 19:33:31 2021 INVERTER: QPIRI read timeout
Sun Mar 14 19:33:31 2021 INVERTER: QPIRI reply too short (0 bytes)
Sun Mar 14 19:33:31 2021 INVERTER: Current CRC: B4 DA
Sun Mar 14 19:33:34 2021 INVERTER: QPIWS read timeout
Sun Mar 14 19:33:34 2021 INVERTER: QPIWS reply too short (0 bytes)
Sun Mar 14 19:33:39 2021 INVERTER: Current CRC: 49 C1
Sun Mar 14 19:33:42 2021 INVERTER: QMOD read timeout
Sun Mar 14 19:33:42 2021 INVERTER: QMOD reply too short (0 bytes)
Sun Mar 14 19:33:42 2021 INVERTER: Current CRC: B7 A9
Sun Mar 14 19:33:45 2021 INVERTER: QPIGS read timeout
Sun Mar 14 19:33:45 2021 INVERTER: QPIGS reply too short (0 bytes)
Sun Mar 14 19:33:45 2021 INVERTER: Current CRC: F8 54
Sun Mar 14 19:33:48 2021 INVERTER: QPIRI read timeout
Sun Mar 14 19:33:48 2021 INVERTER: QPIRI reply too short (0 bytes)
Sun Mar 14 19:33:48 2021 INVERTER: Current CRC: B4 DA
Sun Mar 14 19:33:51 2021 INVERTER: QPIWS read timeout
Sun Mar 14 19:33:51 2021 INVERTER: QPIWS reply too short (0 bytes)
also i can connect my inverter and see data through stock software.
Maybe someone have ideas to get it working?
Thanks in advance
Hi @11151, I don’t believe your inverter is an “voltronic / Axpert” OEM piece of hardware. Thus I don’t believe it will work with this code. Have a look at Aquarat’s blog. This may help you with your inverter.
https://aquarat.co.za/teardowns/reverse-engineering-a-solar-inverter-telemetry-protocol/
solpiplog on a RPi seems interesting, I need a way to read the values from my Pylontech battery to get the values (mostly SoC) in HA. Couldn’t see anywhere an example of someone doing it with solpiplog. I’m wondering if it will speak to the Pylontech BMS via a RS485 HAT on a RPi.
Hi!
May I ask for help. Voltronic-mqtt is running fine and is reading data from inverter but it is not posting anything to mqtt…did someone else had this kind of problem? mqtt config is set correctly.HA is running and working with mqtt.
Hi @ned-kelly,
first of all, your project is fantastic! Thanks!
Do you have an updated lovelace.yaml? - the yaml on Github is almost two years old and don’t match your provided Screenshots anymore.
I would really appreciate, if you would share a newer version.
Big thanks
Waldemar