Eg4 6500ex and mpp Solar lv6548 #284
Replies: 15 comments 25 replies
-
I have the EG4 6500EX and was just doing some query tests with some software I wrote (C# on Linux). Of all the "get" commands I could find, here are the results (not parsed yet). Not all work, and event though it says PI30, some of the PI30MAX commands work.
|
Beta Was this translation helpful? Give feedback.
-
Ahhhh ... OK... Makes sense. A few of them I found by using a USB sniffer with Watchpower on Windows. Like QDOP ... Cant find any reference to that anywhere. |
Beta Was this translation helpful? Give feedback.
-
Yeah documentation and consistency are not a strong point for these inverters
Pi30max protocol reports as pi30 but has a different set of command
responses compared to pi30. It would have been nice if they'd actually
changed the protocol id when they changed the protocols...
If you find new commands and figure out the response it would be great to
know so it can be included for anyone else that may want to use it
…On Sat, 24 Dec 2022, 6:25 pm Roy Salisbury, ***@***.***> wrote:
Ahhhh ... OK... Makes sense. A few of them I found by using a USB sniffer
with Watchpower on Windows. Like QDOP ... Cant find any reference to that
anywhere.
—
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNUSSWB5NCBSFCBUWMLWO2CMZANCNFSM6AAAAAATGIOSHY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thats is one of the reasons I posted my output for the inverter here. I figured they may differer from others and you could perhaps use the QMN and QGMN to help in parsing the right structures. Roy |
Beta Was this translation helpful? Give feedback.
-
I'm also finding some intresting "gotchas" with reading/writing the data. It seems (on Debian Linux using hidraw and C#) that its very particular in how the data packets are sent. Since the underlying protocol in hidraw is actually to a HID device, things have to be sent in the correct size packet chunks (9 in this case). If not, then an incomplete packet will cause a read/write deadlock. But if you have a packet of say 12 bytes to send, you can send the first 9, flush the buffers, then send the next 3 and flush the buffer again. It likes that. |
Beta Was this translation helpful? Give feedback.
-
Yeah it's possible though a bit hard to collect all thebl data
I should write a getId command that runs a bunch of the possible
identifying commands and builds an ID that could be used for selecting
which protocol to use.... hmm gotta think about that one
…On Sat, 24 Dec 2022, 6:38 pm Roy Salisbury, ***@***.***> wrote:
Thats is one of the reasons I posted my output for the inverter here. I
figured they may differer from others and you could perhaps use the QMN and
QGMN to help in parsing the right structures.
Roy
—
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNVXN5VFYSRXMGIXJ53WO2D53ANCNFSM6AAAAAATGIOSHY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Yeah that's a bit that is causing a problem at the moment. The hidraw code
is wrong or buggy at the moment
…On Sat, 24 Dec 2022, 6:44 pm Roy Salisbury, ***@***.***> wrote:
I'm also finding some intresting "gotchas" with reading/writing the data.
It seems (on Debian Linux using hidraw and C#) that its very particular in
how the data packets are sent.
Since the underlying protocol in hidraw is actually to a HID device,
things have to be sent in the correct size packet chunks (9 in this case).
If not, then an incomplete packet will cause a read/write deadlock. But if
you have a packet of say 12 bytes to send, you can send the first 9, flush
the buffers, then send the next 3 and flush the buffer again. It likes that.
—
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNSPVD5EDTSNDFU4JBTWO2EUDANCNFSM6AAAAAATGIOSHY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I started out on windows using direct USB HID access. That was a nightmare. But now that I understand the hidraw stuff a bit more, I may take another crack at it. I've written my code to have the communications easily abstracted out (USB, serial, file, ect). Actually with the BMS stuff was this easy :) (relatively speaking of course). |
Beta Was this translation helpful? Give feedback.
-
Yeah that's what I tried to do too. I still ended up needing to refactor
multiple times...
…On Sat, 24 Dec 2022, 6:54 pm Roy Salisbury, ***@***.***> wrote:
I started out on windows using direct USB HID access. That was a
nightmare. But now that I understand the hidraw stuff a bit more, I may
take another crack at it. I've written my code to have the communications
easily abstracted out (USB, serial, file, ect).
Actually with the BMS stuff was this easy :) (relatively speaking of
course).
—
Reply to this email directly, view it on GitHub
<#284 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNTAKYRRTNSJDMWCL5DWO2FXXANCNFSM6AAAAAATGIOSHY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Just realized that my date on my inverter is wrong ... LOL... And watchpower wont let me set it without error. Guess that will be my first setting command to send.
|
Beta Was this translation helpful? Give feedback.
-
If enabled debugging on WatchPower you can see all command used to get/set in log folder |
Beta Was this translation helpful? Give feedback.
-
John, I noted that QPIGS in PI30REVO produces daily_power_generated but not with PI30MAX protocol on my LV6500 inverters. Is there an easy way to add this daily_power_generated info for PI30MAX? Thanks |
Beta Was this translation helpful? Give feedback.
-
Yes PI30REVO works on my inverters however I loose other info such as PV1 and 2 separation. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Few notes that may help others dealing with Eg4 6500ex and mpp Solar lv6548 inverters:
Best of luck.
Beta Was this translation helpful? Give feedback.
All reactions