-
Notifications
You must be signed in to change notification settings - Fork 152
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
Can't set charge voltages on MPPSolar MPI 15K #485
Comments
Sometimes it also gives me this random result, maybe because I have the mppsolar service running at the same time? But even with it stopped I can't set the charging voltages.
Also these are some semi-related issues I found, but none helped with this exact problem: |
still looks like somethign else is running - as a set command should return that much info |
can you try another setting command - eg set date/time |
I have tried doing
I changed it back to ordinary now since the clock is already correct, if that works as trying another setting command?
Yeah it's weird that it did it. Could it be this command chunking issue that you mentioned somewhere? But then how does the solar power windows program set the voltages? Or that the inverter just expect the data in a different format? Here's a continuous log proving I stopped the service and it still rejects the set battery voltage command: Expand log
For now, I reverse engineered the MPPSolar Solar Power app which is able to set these voltages, so that I can charge the battery fully without overcharging it. But the problem is that the internet connection on the pi connected to the inverter is super flaky and even might be down sometimes, so it would be AMAZING to be able to set the voltage locally (without having to rely on an internet connection). |
i see you are trying to set it the same as it is set, can you try a slightly different settings? |
Yeah, it doesn't work with a different voltage either Expand log
Ok, interesting to know that you've gotten here without reverse engineering and only with docs. Do you have any docs for this specific inverter? In your experience, will MPPSolar reply with docs when asked for this? I assume they're quite unresponsive because the premature float bug is still not fixed, years later. Where did you get the docs that you have? Worst case I assume one would have to sniff the communication between the windows app and the inverter, but I have no experience with doing that :( |
The docs are here https://github.com/jblance/mpp-solar/tree/master/docs/protocols |
Changing voltages via /dev/hidraw wouldn't possible. |
Ahh, I see @PaulEPop, thanks for the information. I wonder how the WatchPower/SolarPower PC application does it then, because that one can set the voltages via USB… ttyUSB0 is serial, right? Would love to hear how you connect the inverter to the serial port on a raspberry pi |
ttyUSB0 is serial, correct. |
can anyone sniffer the watchpower app setting the voltages via a 'hidraw' connection (ie direct USB without USB to RS232 adapter) as it works via serial, the command must be correct - i expect it is to do with the breaking up of the send into multiple chunks to send via hidraw, but I thought the current approach had resolved the issue (obviously not) unfortunately I dont have an inverter of that uses this protocol to test against |
@jblance MPI 15K needs solarpower app, watchpower app is for offgrid devices only (axpert,etc.). @danieltroger Can you set the float charging voltage to 58,3V via SolarPower (windows)? Does it get stored correctly in memory and does it remain for some minutes? If you have BMS connected (via BMS-Box or Card) then this settings get overwritten in inverter's config. BTW: Latest protocol description for hybrid inverters I got from voltronic can be found here: |
Hi, I have the 15KW variant of https://www.mppsolar.com/v3/mpi12-15kwwpip65/
I'm mostly communicating with it with the PI17 protocol and many commands work fine. This is the device ID:
However, it doesn't respect the bulk charging voltage - it directly goes to the float charging voltage when charging. Therefore I wanted to write my own script that sets the float charging voltage to 58.4v until little current is flowing and then sets it back down to 53v. However, the mppsolar command this script would use doesn't seem to work.
I've tried a multitude of protocols but can't get it working. I'm running a raspberry pi zero 2w connected via USB - would appreciate some help.
Log:
The text was updated successfully, but these errors were encountered: