Replies: 8 comments 97 replies
-
I would be happy to support CAN too. I've to check my BMS is CAN bus enabled or not and I've to order some CAN bus module first because the BMS speaks native CAN, right? I assume you have to replace the ModbusDevice implementation with the CAN bus equivalent (in ESPHome). |
Beta Was this translation helpful? Give feedback.
-
Some ideas what needs to be done:
|
Beta Was this translation helpful? Give feedback.
-
I've read your mapping document. Looks good to me. The |
Beta Was this translation helpful? Give feedback.
-
So having the same issues with the ESP32 crashing constantly I had the with esp8266. Running your example code https://github.com/syssi/esphome-jk-bms/blob/main/esp32-example.yaml Any idea? |
Beta Was this translation helpful? Give feedback.
-
Tried with the stack increased still crashes Rebooting... rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) ELF file SHA256: 0000000000000000 Backtrace: 0x4010c181:0x3ffafe40 0x4011195e:0x3ffb0150 0x4011199a:0x3ffb01e0 0x400dec6d:0x3ffb0220 0x400deca1:0x3ffb0250 0x400decd5:0x3ffb02a0 0x400dee95:0x3ffb02c0 0x400e5b35:0x3ffb02e0 0x400e5b62:0x3ffb0310 0x400d6262:0x3ffb0370 0x400dfb79:0x3ffb0390 0x400dfc9d:0x3ffb03c0 0x400e6a7e:0x3ffb0400 0x400f034a:0x3ffb1fb0 0x40089b92:0x3ffb1fd0 |
Beta Was this translation helpful? Give feedback.
-
Maybe it was was more stable, but as you said has become fatter and now doesn't seem so stable, try with jk-bms it disconnects in a few minutes. |
Beta Was this translation helpful? Give feedback.
-
my JK-BMS keeps disconnecting not in a few minutes but in a few days. this has been happening since control Bluethooth connection implementation even without adding the switch idk if is a bad esp32 or a bug after the switch implementation |
Beta Was this translation helpful? Give feedback.
-
Hi, So I have my ESP32 talking to the JKBMS via rs485 and to the goodwe inverter using can bus. I have a couple of anomalies that seem to be related to the data from the jkbms not being correct: The issue is that if the BMS turns off charging due to cell overvoltage this is not reflect in any of the charging switches below, so I can't notify the inverter and it gets upset. Is there any way to fix this? Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm wanting to use this BMS with a Goodwe inverter that supports the SMA CAN protocol.
The SMA CAN protocol is used by many eg Pylontech, LG and Goodwe.
It would open up this BMS to be much more useful for home energy storage applications, if it could communicate with the inverter.
The official CAN bus support from JK I believe is only enabled if you order the CAN model, despite the port being present.
Even then their implementation is unknown in origin or what it's based on, it uses 250Kbps, SMA is 500Kbps.
Repeated attempts to ask JK to support the widely adopted SMA CAN protocol are unsuccessful, with them requesting that you make a big order and they might look at it. Not very helpful for individuals, I note that Seplos has support for SMA protocol.
In any case it seems we are on our own.
JK standard (still don't know what it's based on anyone know?)
https://github.com/Uksa007/esphome-jk-bms-can/blob/main/docs/BMS-CAN%20Communication%20protocol.pdf
I have created a fork and started work on implementing changes to support CAN
https://github.com/Uksa007/esphome-jk-bms-can
I have been looking and it seems esphome has the necessary CAN components.
I have started matching the SMA protocol required values to values already present from the RS485 data read.
https://github.com/Uksa007/esphome-jk-bms-can/blob/main/docs/SMA%20CAN%20Protocol%20Mapping.pdf
Any advice or words of wisdom much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions