-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help me! The program does not work... #16
Comments
Sorry - I don't understand. What is your question exactly? |
I do not receive data from the inverter |
Ah... so this is probably some hardware/configuration problem... |
You might need to adjust the values for qpiri, qpiwis, qmod in inverter.conf. You can run each command under
I have in inverter.conf qpiri=102. Likewise for the other commands. Each inverter returns replies with different lengths, these need to be configured. |
Thank you, @dilyanpalauzov :) @zavoyko70 does it resolve your issue? |
I am getting the same errors as above on a LVX6048WP I ran the strace command but I am not sure what I should be looking at in the output TIA |
The amount of These are just hints. I am not going to write here encyclopaedia on I/O under Linux. |
Thank you for your help! I will dig into this further |
not sure if anyone can help with this error, I am thinking that maybe the hardware I am using is not up to snuff, I am getting all ^0 returns when running cat on whatever device I choose, /ttyUSB0 or /hidraw0 and the below output when using the strace command above
TIA |
The device must appear under /dev the devdirectory, |
Hi Manio.
MPP Solar / Infinisolar MPI 10k hybrid inverter
pi@raspberrypi:~/skymax-demo/build $ sudo ./inverter_poller -1 -d
Thu Jun 2 11:13:12 2022 INVERTER: Debug set
Thu Jun 2 11:13:12 2022 INVERTER: Current CRC: 49 C1
Thu Jun 2 11:13:12 2022 INVERTER: QMOD reply size (5 bytes)
configuration options for the actual inverter polling process...es. Buffer: ^0
The device to read from...
Use: /dev/ttyS0 if you have a serial device,
/dev/ttyUSB0 if a USB<>Serial,
/dev/hidraw0 if you're connecting via the USB port on the inverter.
device=/dev/hidraw0
How many times per hour is the program going to run...
This is used to calculate the PV & Load Watt Hours between runs...
If unsure, leave as default - it will run every minute...
(120 = every 30 seconds)...
run_interval=120
This allows you to modify the amperage in case the inverter is giving an incorrect
reading compared to measurement tools. Normally this will remain '1'
amperage_factor=1.0
This allos you to modify the wattage in case the inverter is giving an incorrect
reading compared to measurement tools. Normally this will remain '1'
watt_factor=1.01
Thu Jun 2 11:13:12 2022 INVERTER: Current CRC: B7 A9
Thu Jun 2 11:13:15 2022 INVERTER: QPIGS read timeout
Thu Jun 2 11:13:15 2022 INVERTER: QPIGS reply too short (8 bytes)
Thu Jun 2 11:13:15 2022 INVERTER: Current CRC: F8 54
Thu Jun 2 11:13:18 2022 INVERTER: QPIRI read timeout
Thu Jun 2 11:13:18 2022 INVERTER: QPIRI reply too short (8 bytes)
Thu Jun 2 11:13:18 2022 INVERTER: Current CRC: B4 DA
Thu Jun 2 11:13:21 2022 INVERTER: QPIWS read timeout
Thu Jun 2 11:13:21 2022 INVERTER: QPIWS reply too short (8 bytes)
Thu Jun 2 11:13:26 2022 INVERTER: Current CRC: 49 C1
Thu Jun 2 11:13:26 2022 INVERTER: QMOD reply size (5 bytes)
▒hu Jun 2 11:13:26 2022 INVERTER: QMOD: incorrect start/stop bytes. Buffer: ^0
Thu Jun 2 11:13:26 2022 INVERTER: Current CRC: B7 A9
Thanks
The text was updated successfully, but these errors were encountered: