Closed iordache-andrei closed 1 year ago
There is a QPIGS2 in PI30MAX protocol that gives some more info (for PV2)
Tried it, should mention is have a mpp-solar pip8048max with a regular usb cable
Thats weird, I personally have the same inverter and use the QPGS0, QPIGS and QPIGS2 commands for data collection. Can you run it with debug on and post the result
On Thu, 13 Oct 2022 at 08:56, iordache-andrei @.***> wrote:
[image: Screenshot_20221012_225445] https://user-images.githubusercontent.com/65174362/195435525-808c368b-3214-4759-9021-a7738a4e94da.png
Tried it, should mention is have a mpp-solar pip8048max with a regular usb cable
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/266#issuecomment-1276667004, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNUOAJW7UI6FJ3XRIFDWC4JWHANCNFSM6AAAAAARDNTYZM . You are receiving this because you commented.Message ID: @.***>
Debugged output
i think maybe its a problem with the hidraw io 'chunking' ill have a look at the code and try to implement a fix/workaround
On Thu, 13 Oct 2022 at 09:14, iordache-andrei @.***> wrote:
[image: Screenshot_20221012_231331] https://user-images.githubusercontent.com/65174362/195438726-317cf843-1373-4d9b-ad31-e0da5ea693fe.png Debugged output
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/266#issuecomment-1276683099, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNQXE7SNVJQAXSPN42TWC4LZZANCNFSM6AAAAAARDNTYZM . You are receiving this because you commented.Message ID: @.***>
QPIGS2h
@eliafino Hi and sorry for the very late response. I've tried the command and update the package to the latest version. If I run QPISG2h as suggested I get NAK, I tried QPIGS2h, but i get response too short. On both commands debug reports "No command_defn found for ... "
QPIGS2h
You mean QPIGS2 without h
@Saentist I've mentioned in the original post that QPIGS2 doesn't particularly work for me. I suspect that running the connection between inverter and raspberryPi with a usb micro-b to usb cable isn't ideal as opposed to the (as far as I read from the docs) RS-232 connection.
I can (and currently do so) avoid this by calculating the Charging power generated of the second string of panels by simply getting the voltage and current from QPGS0. However this has two(edit: three) drawbacks:
The extra issue with this type of connection, if indeed it is the case for the command, is that a good RS-232 to USB cable can be hard to acquire because vendors sometimes do not list specialized details like the required +-6V (although they are sold as rs-232 to usb cables, the cheap 5V ones do not cover all devices using DB9 ports), or they are special imports which can inquire import tax higher than the cost of the cable itself.
@iordache-andrei See this solution https://github.com/jblance/mpp-solar/discussions/284#discussioncomment-4494084
Hi, I have a similar setup to @iordache-andrei consisting of an MPP Solar 8048MAX and an attached Raspberry Pi 3. Connecting to the 8048MAX with WatchPower (even though USB-IP-Passthrough via usbipd) works, but the QPIGS2 command yields NAK. Other commands work flawlessly. I have attached the debug output of QPIGS (successful) and QPIGS2 (unsuccessful / NAK). Please let me know if I can support you, e.g. by trying something out. If you want, I can give you shell access to the connected Raspberry Pi.
Output of: root@pipraspi:~# /root/venv/mppsolar/bin/mpp-solar -p /dev/hidraw0 -P PI30MAX -c QPIGS2 -D >/tmp/qpigs2.txt 2>&1 root@pipraspi:~# /root/venv/mppsolar/bin/mpp-solar -p /dev/hidraw0 -P PI30MAX -c QPIGS -D >/tmp/qpigs.txt 2>&1
this should work in current release
Hello,
I have a setup that pulls from 2 sets of 5 panels each, but I can't get a reading from the second set on command QPIGS. On protocol 16 however I do get the readings, but not the other related info,
Is this intentional? Or am I missing something?
Thank you in advance.