Sleeper85
Sunday handyman
- Joined
- Nov 28, 2022
- Messages
- 503
ESPHome component to monitor a Jikong Battery Management System (JK-BMS) and communicate with inverters supporting CAN bus protocol compatible with Pylontech, GoodWe, Seplos, SMA or Victron.
It's with pleasure that I announce the new version of the JK-BMS-CAN open-source project with the new Cut-Off Charging Logic.
Thanks to @shvm for creating the Cut-Off Charging Logic equations.
Thanks to @MrPablo for programming the Auto Charge/Discharge Current Control and Auto Charge Voltage Control functions to avoid OVP/UVP alarms.
Thanks to @arzaman for testing with Atom S3.
I hope you like it![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
DEV BRANCH - MULTI-BMS
You will find in the dev branch a multi-bms version working with a single ESP32.
The multi-BMS version in the dev branch works for both JK-BMS models.
Please note, this is a multi-BMS solution with a single ESP32.
With the new JK-PB series only one RS485 connection is required with max 16 BMS. (15 BMS in mode2)
With the old JK-B series all BMS are connected to the ESP32.
An ESP32 supports max 3 UARTs and 3 BLE connections, it can be a mix of the two. I haven't yet been able to carry out many tests on my own but it is certain that the more BMS there are to connect, the more the limits of the classic ESP32 will be reached. ESP32-S3 or Atom S3 are preferred but I think a classic ESP32 should work well with 2 or 3 BMS.
The PVbrain2 PCB with ESP32-S3 supports 11 UARTs and 4 additional UARTs can be added with an expansion card.
Please also note that the web server is a component that uses a lot of memory and can have a negative impact (crash and reboot).
The following conditions must be met for the BMS to be combined.
If one of these conditions becomes invalid, the BMS is decombined.
README
README JK-BMS-PB-CAN solution
- The project on GitHub
- Changelog
- Current version: 1.17.5
It's with pleasure that I announce the new version of the JK-BMS-CAN open-source project with the new Cut-Off Charging Logic.
Thanks to @shvm for creating the Cut-Off Charging Logic equations.
Thanks to @MrPablo for programming the Auto Charge/Discharge Current Control and Auto Charge Voltage Control functions to avoid OVP/UVP alarms.
Thanks to @arzaman for testing with Atom S3.
I hope you like it
DEV BRANCH - MULTI-BMS
You will find in the dev branch a multi-bms version working with a single ESP32.
The multi-BMS version in the dev branch works for both JK-BMS models.
Please note, this is a multi-BMS solution with a single ESP32.
With the new JK-PB series only one RS485 connection is required with max 16 BMS. (15 BMS in mode2)
With the old JK-B series all BMS are connected to the ESP32.
An ESP32 supports max 3 UARTs and 3 BLE connections, it can be a mix of the two. I haven't yet been able to carry out many tests on my own but it is certain that the more BMS there are to connect, the more the limits of the classic ESP32 will be reached. ESP32-S3 or Atom S3 are preferred but I think a classic ESP32 should work well with 2 or 3 BMS.
The PVbrain2 PCB with ESP32-S3 supports 11 UARTs and 4 additional UARTs can be added with an expansion card.
Please also note that the web server is a component that uses a lot of memory and can have a negative impact (crash and reboot).
The following conditions must be met for the BMS to be combined.
If one of these conditions becomes invalid, the BMS is decombined.
- BMS switch charging ON
- BMS switch discharging ON
- BMS no errors
- Combined switch ON
README
README JK-BMS-PB-CAN solution
Last edited: