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.
The project on GitHub
Changelog
Current version: 1.17.5
It's with pleasure that I announce the new...
Out of curiosity I dismantled a TOMZN MCCB breaker of 200A.
There is nothing written on the box indicating polarity to respect.
Upon closer inspection of the extinguishing cages I discovered that they were each magnetized in a different direction which indicates that this breaker is...
It's with pleasure that I announce the new version 1.17.3 of the JK-BMS-CAN open-source project with the new Cut-Off Charging Logic.
You will find more information on this new dedicated topic.
Hi,
It was interesting to read your comments. I own an EAsun SMX II 5.6kW 230V (48V) which is also an AIO produced by SRNE model HF4850S80-H. Same manual, same dimensions, weight, characteristic, protocol, location of connections. The only thing that differs is that the SRNE is announced for...
I adapted the YAML from version 1.13.3 of uksa007 by adding new functions.
I can explain how it works in detail later.
The repository on github : https://github.com/Sleeper85/esphome-jk-bms-can
The necessary components come exclusively from the syssi github ...
V1.15.5 on GitHub
I decided to deactivate the API reboot every 15 minutes if there is no connection with HA, I think we should prevent the ESP32 from rebooting which could happen during a Bulk charge. I also adapted the default discharge current to 120A therefore 6000W.
In addition, as I...
@upnorthandpersonal
Even if it is not absolutely necessary, some inverters like Deye have an operating principle based on the SoC of the battery.
In this case, using the CAN bus to send information to the inverter is useful.
This was actually the main reason why I wanted to have my JK-BMS...
Small Christmas gift.
The new version 1.15.1 is available on GitHub.
# V1.15.1 Sleeper85 : New CANBUS script with CANBUS Status in HA, stop sending CAN messages if the inverter is not responding (fix WDT reboot issues).
Stop sending CAN messages if no response (major improvement), code will...
These are functions that help prevent OVP from triggering with an unbalanced battery or with runner cells.
If your battery is well balanced and of good quality then it is not necessary to activate these functions...
I haven't had many problems with OTA, my ESP32s are in DHCP, my DHCP server assigns them a fixed IP address.
I flash the firmware by specifying the IP of the ESP32:
esphome run file.yaml --device 192.168.x.y
Here is the latest end of year news.
The alarm system has been improved.
And then I started analyzing CAN IDs initially used by SMA and Victron but probably by others today.
It is not an easy task to find this information often protected by NDAs.
So here is an overview of what will be...
This is what is being considered today.
In addition I will integrate it into PVbrain2.
The goal is to work as a team with code that is modular and can be adapted to several solutions.
Glad to hear that the Wire version works well with a JK-BMS SW version > 11.28 👌 ( @paulsteigel )
What framework do you use for Atom S3 Lite, ESP-IDF or Arduino?
What can name and protocol version did you choose?
What battery mode on the XP6000?
I am asking you these questions to add you to...
This project is based on that of syssi who also certainly spent a lot of time programming the part concerning the communication with JK-BMS but I think that syssi will not receive any $ earned by uksa007.
A project based on another open-source project must cite its sources.
uksa007 added the...
@shvm
I have a lot of things to prepare over the next few weeks before I leave.
Then, at the beginning of March, if you haven't done it yet, I can help you set up what you are proposing but I won't be able to test it.
@eumobong
I have already added an "Alarms Logic" section in version...
Fortunately, the new firmware version v14.13 of the new JK BMS inverter is really good and provides everything we need.
Buying uksa007 boards is no longer of interest.
For example :
Buying 2x new JK PB2A16S20P (without screen) costs $280 including delivery :)
Buying 2x old JK B2A20S20P...
Unfortunately it seems that this is the end of the open source project. You can still find version 1.13.3 at the address below but the latest version 1.23 requires payment, either by becoming a beta tester or by purchasing a board.
https://github.com/Uksa007/esphome-jk-bms-can/tree/deprecated
Here is the upgrade procedure found in iPower 2.1.2.0 help manual.
It's more detailed than what was sent to you.
Attached iPower 2.1.2.0 manual and software.
iPower Windows 2.1.2.0
Before following the upgrade procedure point 8) I advise you to :
1) disconnect your wifi datalogger
2) do a...
V1.15.4 added to GitHub
I think this was the last big change to this YAML.
I hope this will be able to support a larger number of inverters which I unfortunately was not able to test.
If you encounter any bugs please let me know.
I adapted the README regarding the documentation for API, Web...
I agree with you, cheap and does the job very well, I had no problems with mine after 6 months of use including 4 months to power my house at 100%.
That said, I replaced my EAsun SMX II 5.6kVA today...
I present to you my new toy :love: still Chinese but a level above (also sold under the name...
V1.16.2 on GitHub
The Wire and Bluetooth version is now available, so there are now two different YAML.
Instead of doing even more YAML, I added a config folder with the specific configuration for different boards like Atom, etc.
The README has been updated to explain all of this in detail...
Here is a summary (my memo) of the important voltage parameters.
Parameters for 48V EAsun SMX II 5.6kW, this corresponds to your parameter numbers ?
To set the same value for parameter 04 and 14, you must set parameter 14 greater than the desired value for 04.
Next, set parameter 04 and then...
I take this opportunity to confirm the proper functioning of the new TJA1051T chip which is backward compatible with the old TJA1050 chip.
https://www.nxp.com/products/interfaces/can-transceivers/can-with-flexible-data-rate/high-speed-can-transceiver:TJA1051
This shouldn't be a problem, I work with 2.4Ghz and 5Ghz WiFi with the same SSID without problems.
The ESP32 works in 2.4Ghz, they will never try to connect to 5Ghz, this network is not even visible to them.