PIP-4048MS and PIP-5048MS inverters

non-EV Solar, Wind and other renewable power sources
non-EV batteries and other energy storage stuff
Forum rules
Important!
This forum is for discussion of Non-EV matters.
Nietschy
Noobie
Posts: 5
Joined: Mon, 14 Oct 2019, 02:09

Re: PIP-4048MS and PIP-5048MS inverters

Post by Nietschy » Tue, 15 Oct 2019, 13:30

Hey coulomb thank you so much for your reply!
coulomb wrote:
Tue, 15 Oct 2019, 11:16
Oh! I didn't pay proper attention to your other grid-tied inverter. I had assumed that most of your panels would be connected to the PIP-5048GK. In fact, do you have any solar panels on the PIP-5048GK at all?
As a matter of fact no, not yet, maybe never.
The 24x 320W panels on my roof are more than enough for now.
? But SUb prioritises Utility over battery. While there is utility available, the battery won't be used. I believe that you need SbU here. My understanding is that this inverter can't blend battery and utility power; it's one or the other. That's presumably why you can't get it out of line mode at night.
Oh maaan, sorry for the confusion!
I mixed it up when telling you. Of course I use SbU at night!!!
Sorry again.

No it can not blend anything.
It is battery or bypass nothing else.
The only thing that was new for me, was that it can still overload when in bypass mode... But that is no big deal.


So... I have news from my change of rising the recharge value (parameter 12) to 49 volts...
It was a bad idea and its obvious now. The PIP recharged half of the night from AC in. No big deal, but useless for my project.

Soo.. since I can not get any modified firmware, I will go the custom battery setting route and kick my BMS integration with the Pylontech that way.
Would be great if the BMS communication would still work, but I doubt it.

I will try to set your suggestions out of your FAQ (lowering the cut off voltage a lot) and see where it gets me.
I think the BMS of the battery itself will cut off on its own when needed (hopefully!).

Thanks again!

If you have any more tips to get my charging speed changed, I would be happy to hear them.
I run an Ubuntu Server on an old laptop, so I can run anyting from shell, python to binarys of some sort. I can also compile c if needed.
So I guess the easiest route would be a binary for every change I need. So I can start "20A AC charing.bin" or "40A AC charging.bin" whatever needed.
What I try to say here is: I just need ANY linux way to change this setting with my USB (hidraw0 device) on my inverter...
I just do not want to ditch the homeassistant way of reading the data (feeding with MQTT...), becauuse I started to like it a lot.

User avatar
coulomb
Site Admin
Posts: 3719
Joined: Thu, 22 Jan 2009, 20:32
Real Name: Mike Van Emmerik
Location: Brisbane
Contact:

Re: PIP-4048MS and PIP-5048MS inverters

Post by coulomb » Wed, 16 Oct 2019, 08:37

Nietschy wrote:
Mon, 14 Oct 2019, 14:46
I start to think that there is some error in the program with commands that are longer than 8 chars...
Well, that's actually testable. Unlike the MS models (with firmware up to version 73.00 at least), the PE command can take a variable number of parameters. So you could send the 9 character PExxxxxxx command (literally with lower case Xs), which should have the effect of turning on the backlight 7 times :) This should be ACK'd, but have no other effect if your backlight is turned on already. Use the PDxxxxxxx command to convince yourself that these 9 character commands are actually being processed (by disabling the backlight), and of course a PEx command to turn it back on if desired.

[ Edit: Remember that it takes a minute or so for the backlight to actually turn off after no button presses. ]

I note that the protocol documents are somewhat confusing with respect to the PE and PD commands. For example, they seem to imply that you use upper case letters, and that PE and PD can somehow be mixed in one commamd; neither is true.

[ Edit: 8 character → 9 character ]
Nissan Leaf 2012 with new battery May 2019.
5650 W solar, 2xPIP-4048MS inverters, 16 kWh battery.
1.4 kW solar with 1.2 kW Latronics inverter and FIT.
160 W solar, 2.5 kWh 24 V battery for lights.
Patching PIP-4048/5048 inverter-chargers.

Nietschy
Noobie
Posts: 5
Joined: Mon, 14 Oct 2019, 02:09

Re: PIP-4048MS and PIP-5048MS inverters

Post by Nietschy » Wed, 16 Oct 2019, 13:00

coulomb wrote:
Wed, 16 Oct 2019, 08:37
Well, that's actually testable. [...] This should be ACK'd, but have no other effect if your backlight is turned on already.
thanks!

did that. the result speaks for itself:

Code: Select all

root@orgor:~# docker exec -it voltronic-mqtt /opt/inverter-cli/bin/inverter_poller -d -1 -r PExxxxxxx
Wed Oct 16 04:58:30 2019 INVERTER: Debug set
Wed Oct 16 04:58:30 2019 INVERTER: Current CRC: 3A 80
Wed Oct 16 04:58:30 2019 INVERTER: cmd: PExxxxxxx n: 9
Wed Oct 16 04:58:30 2019 INVERTER: buf2: PExxxxxxx
Wed Oct 16 04:58:35 2019 INVERTER: PExxxxxxx read timeout
Wed Oct 16 04:58:35 2019 INVERTER: PExxxxxxx reply too short (0 bytes)
Reply:  
root@orgor:~# docker exec -it voltronic-mqtt /opt/inverter-cli/bin/inverter_poller -d -1 -r PExxxxxxx
Wed Oct 16 04:58:37 2019 INVERTER: Debug set
Wed Oct 16 04:58:37 2019 INVERTER: Current CRC: 3A 80
Wed Oct 16 04:58:37 2019 INVERTER: cmd: PExxxxxxx n: 9
Wed Oct 16 04:58:37 2019 INVERTER: buf2: PExxxxxxx
Wed Oct 16 04:58:42 2019 INVERTER: PExxxxxxx read timeout
Wed Oct 16 04:58:42 2019 INVERTER: PExxxxxxx reply too short (0 bytes)
Reply:  
root@orgor:~# docker exec -it voltronic-mqtt /opt/inverter-cli/bin/inverter_poller -d -1 -r PExxxxxx
Wed Oct 16 04:58:45 2019 INVERTER: Debug set

Wed Oct 16 04:58:45 2019 INVERTER: Current CRC: F0 2A
Wed Oct 16 04:58:45 2019 INVERTER: cmd: PExxxxxx n: 8
Wed Oct 16 04:58:45 2019 INVERTER: buf2: PExxxxxx
Wed Oct 16 04:58:45 2019 INVERTER: PExxxxxx reply size (7 bytes)
Wed Oct 16 04:58:45 2019 INVERTER: PExxxxxx: 7 bytes read: (ACK
Wed Oct 16 04:58:45 2019 INVERTER: PExxxxxx query finished
Reply:  ACK
I have just seen that the 8 chars do some timeouts, too.
So it gets worse the longer the command is.
Strange...
I guess I will have to try to fix it with the creator of this software. I looked into it, but do only get half of it. :(

Prajna
Noobie
Posts: 6
Joined: Wed, 02 Oct 2019, 03:35
Real Name: Prajna Pranab

Re: PIP-4048MS and PIP-5048MS inverters

Post by Prajna » Yesterday, 11:54

Nietschy wrote:
Wed, 16 Oct 2019, 13:00
I have just seen that the 8 chars do some timeouts, too.
So it gets worse the longer the command is.
Strange...
I guess I will have to try to fix it with the creator of this software. I looked into it, but do only get half of it. :(
Hmm... are you using usb to talk to the inverter? It seems that usb (hid device) needs things in packets of 8 characters, which may explain the problem. I've been talking rs232 rather than usb so don't have experience with it. If you'd like to look at my code, in case it helps at all even though it's work in progress, its at https://github.com/prajna-pranab/converse

Post Reply