Lifepo4 batteries are pretty good for charging without loss, so 99% is usually ok, you can just play with it to get the battery SOC accurate, but drift does happen and i haven't found a real accurate way to keep it in sync, it's a best effort.
The shunt drift should be loss, I.e. soc reports lower than actual.
You need to tweak your shunt to reset to 100% on the following
Battery voltage over xx.x
Current under xx
For time of say 15/20 mins.
Along with the current divider you should be able to pretty much get this working well...
Currently it wouldn't work, CAN Bus has like a master slave relationship, and your 2nd inverter would respond same time as first - every packet gets a response from the inverter.
Code isn't reporting any amount of cells, but it is in the spec to be able to inform the inverter, I suspect that your inverter is defaulting to a lowest value it would accept.
I don't know the settings for your inverter but try disabling pylontech and force charge, and with pylontech and tell...
The pylontech protocol switch changes the behaviour of the code. With it enabled it uses the modbus flags to tell the inverter to force charge.
Without the pylontech protocol enabled, it doesn't send some flags and uses an alternative way of force charging, which is the sending a false SOC to...
@ChrisG @ScrotusGobbleBottom
Glad you have worked things out, am sorry that I've not been around, I had some illness and life that took over for quite a while.
As well as the web GUI the code also runs on Core and Core2 M5Stacks...
Wiring diagram, but note the CS pin is GPIO2 in the code, change in the config.h the line
#define CAN_CS_PIN 2 // CAN CS PIN
if you want to use GPIO5 instead.
The pylontech protocol full enabled doesn't seem to work on my inverter anymore since it had a firmware update from Solis, turn the protocol off in the code, and use user-defined on the inverter works fine.
The CAN adapter is a SPI device, you wire it as per the SPI instructions for your board. The only pin that the programmer can control is the CS (Chip Select) which i used GPIO2.
Your CS pin must be GPIO2 unless you change the line
#define CAN_CS_PIN 2 // CAN CS PIN
in config.h
The serial info should show if the CAN is detected, then will start showing if it's sending CAN messages and if it's successful or not. Make sure to be running it in full...
was going to be either 3 x 3.5kwh or 2 4.8kwh pylontech's, single can't cope with the continuous 100A demand.
Have actually canned this project, got to complicated where customer (who's a friend) wanted also a design with solar edge, his dad questioned what i put on a quote (i used a website to...
Am currently about to install a rhi solis 6kw for someone, the customer already has 3.68kw on a solar edge system and fit so can't be touched but the design I've done is to put the Solis in and it should use the surplus from solar edge plus the extra solar that's being added to the system.
A...
I take it the disappointment is because I didn't give you the answer you wanted to hear?
Multiple BMS's and Battery packs isn't actually that difficult to do, just don't mix battery types use only one in all the battery packs, I have multiple BMS's and Battery packs for almost a year without...
not for battery data (as far as am aware) can't see an option for it.
Seplos has rs485 and CAN comms, so possibly CAN to Solis and then monitor over the 485?