Replies: 11 comments 8 replies
-
|
I assume you are connecting 2 JBD BMSes that can communicate via the CAN protocol right? |
Beta Was this translation helpful? Give feedback.
-
|
As you are using a Waveshare CAN hat you will need to connect to the JBD CAN port. |
Beta Was this translation helpful? Give feedback.
-
|
Well, you are using JBD_RS485 BMS binding so you should have the JBD connected via the RS485/CAN port to your Waveshare RS485 hat. |
Beta Was this translation helpful? Give feedback.
-
|
Ok, thanks. I see a few possible issues in your configuration. |
Beta Was this translation helpful? Give feedback.
-
|
Hmm, you're trying to run the JBD via RS485 on a CAN port. That won't work. RS485 and CAN devices use a different physical communication layer. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Ok, the configuration looks good. You connected the 485_A and 485_B pins of the JBD to the RS485_0 A and RS485_0 B connector port on the hat? Ground is not necessary. |
Beta Was this translation helpful? Give feedback.
-
|
I've been debugging this and it comes down to being a checksum error. The checksum calculation seems to work for the JBD v4 protocol but differs slightly for the response you get from your JBD. Still need to look further into this. It would help if I get a longer log (please attach the file, not paste the text here) so that I can try and check with different commands |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, will have a look at it in a couple of days 😄 |
Beta Was this translation helpful? Give feedback.
-
|
Not a worry. i wound up switching out the JBD for a JKbms as the JBD wound
up dying out of nowhere. Always had issues with it unfortunately.
Now the current error:
***@***.***:~/abms $ ./start.sh
2025-10-25 20:28:02.346 | INFO | main | til.SystemProperties:22 |
Loading config.properties from: config/config.properties
2025-10-25 20:28:02.399 | DEBUG | main | ging.LoggerProviders:152 |
Logging Provider: org.jboss.logging.Log4j2LoggerProvider
w2025-10-25 20:28:03.315 | INFO | main | ore.InverterProducer:76
| Created inverter binding: PYLON_CAN
2025-10-25 20:28:03.352 | INFO | main | verter.core.Inverter:55 |
Using plugins: []
2025-10-25 20:28:03.369 | INFO | main | core.BMSListProducer:107 |
Intialized BMS #1[JK_RS485] on port /dev/ttySC1
2025-10-25 20:28:03.383 | INFO | main | verter.BmsToInverter:283 |
Starting BMS receiver...
2025-10-25 20:28:03.388 | INFO | Thread-3 | verter.BmsToInverter:309 |
Reading BMS #1 JK_RS485 on /dev/ttySC1...
2025-10-25 20:28:03.390 | INFO | Thread-3 | toinverter.core.Port:111 |
Opening /dev/ttySC1 ...
2025-10-25 20:28:03.434 | INFO | Thread-3 | toinverter.core.Port:113 |
Opening port /dev/ttySC1 SUCCESSFUL
2025-10-25 20:28:03.435 | DEBUG | Thread-3 | s485.JSerialCommPort:180 |
Clearing RX buffers
2025-10-25 20:28:03.438 | DEBUG | Thread-3 | s485.JSerialCommPort:159 |
Send: Buffer (HEX): [0x4E, 0x57, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x06,
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x01, 0x29]
2025-10-25 20:28:03.691 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x01, 0x10, 0x16, 0x20, 0x00, 0x01, 0x02, 0x00,
0x00]
2025-10-25 20:28:03.692 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xD6, 0xF1, 0x55, 0xAA, 0xEB, 0x90, 0x02, 0x05,
0xB0]
2025-10-25 20:28:03.693 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xDA, 0x0C, 0xE0, 0x0C, 0xE1, 0x0C, 0xDE,
0x0C]
2025-10-25 20:28:03.693 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xDD, 0x0C, 0xDF, 0x0C, 0xDF, 0x0C, 0xE0, 0x0C,
0xDF]
2025-10-25 20:28:03.694 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xDE, 0x0C, 0xDE, 0x0C, 0xD0, 0x0C, 0xDB]
2025-10-25 20:28:03.695 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xD3, 0x0C, 0xE0, 0x0C, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.696 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.697 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.697 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.698 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0xFF, 0xFF, 0x00, 0x00, 0xDA, 0x0C, 0x2D,
0x00]
2025-10-25 20:28:03.699 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x02, 0x00, 0x3E, 0x00, 0x3B, 0x00, 0x3C, 0x00,
0x3C]
2025-10-25 20:28:03.700 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x3B, 0x00, 0x3B, 0x00, 0x4A, 0x00, 0x4A,
0x00]
2025-10-25 20:28:03.701 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x39, 0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A, 0x00,
0x3A]
2025-10-25 20:28:03.701 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x3A, 0x00, 0x3C, 0x00, 0x3D, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.702 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.703 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.704 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.704 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0xD7, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.705 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xA0, 0xCD, 0x00, 0x00, 0xE9, 0x95, 0x0B, 0x00,
0x06]
2025-10-25 20:28:03.707 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xC3, 0xFF, 0xFF, 0xB1, 0x00, 0xAF, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.708 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x08, 0x00, 0x69, 0xFC, 0x02, 0x52, 0x2B, 0x43,
0x04, 0x00, 0x20, 0x30, 0x05, 0x00, 0x01, 0x00, 0x00, 0x00, 0xF5]
2025-10-25 20:28:03.709 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x6E, 0x05, 0x00, 0x64, 0x00, 0x00, 0x00, 0x66,
0x67]
2025-10-25 20:28:03.710 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x09, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:03.711 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0xFF, 0x00, 0x01, 0x00, 0x00, 0x00, 0xDC, 0x03, 0x00]
2025-10-25 20:28:03.713 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x4F, 0x00, 0x93, 0xC5, 0x3F, 0x40, 0x90,
0x00, 0x00, 0x00, 0x90, 0x14, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01]
2025-10-25 20:28:03.714 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x02, 0x06, 0x00, 0x00, 0xBC, 0x09, 0x44, 0x00,
0x00, 0x00, 0x00, 0x00, 0xD7, 0x00, 0x00, 0x00, 0x00, 0x00]
2025-10-25 20:28:03.716 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xDC, 0x03, 0xFD, 0x41, 0xF1, 0x0A, 0x34, 0x05,
0x00, 0x00, 0x80, 0x51, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
2025-10-25 20:28:03.717 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
0xFE]
2025-10-25 20:28:03.703 | ERROR | Thread-3 | .JKBmsRS485Processor:196 |
Error receiving frame!
java.io.IOException: Error reading data - got wrong start flag!
at
com.airepublic.bmstoinverter.bms.jk.rs485.JKBmsRS485Processor.readFrame(JKBmsRS485Processor.java:217)
~[bms-jk-rs485-0.0.1-SNAPSHOT.jar:?]
at
com.airepublic.bmstoinverter.bms.jk.rs485.JKBmsRS485Processor.collectData(JKBmsRS485Processor.java:89)
~[bms-jk-rs485-0.0.1-SNAPSHOT.jar:?]
at com.airepublic.bmstoinverter.core.BMS.process(BMS.java:180)
~[core-api-0.0.1-SNAPSHOT.jar:?]
at
com.airepublic.bmstoinverter.BmsToInverter.lambda$start$1(BmsToInverter.java:310)
~[bms-to-inverter-main-0.0.1-SNAPSHOT.jar:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
2025-10-25 20:28:03.717 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0x7F, 0xDC, 0x0F, 0x01, 0x00, 0x80, 0x03,
0x00]
2025-10-25 20:28:03.718 | INFO | Thread-3 | verter.BmsToInverter:361 |
BMS SOC V A CellMinV CellMaxV CellDiff
2025-10-25 20:28:03.718 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x13, 0x01, 0x10, 0x16, 0x20, 0x00,
0x01]
2025-10-25 20:28:03.718 | INFO | main | verter.BmsToInverter:331 |
Starting inverter sender...
2025-10-25 20:28:03.718 | INFO | Thread-3 | verter.BmsToInverter:431 |
BMS alarms:
NONE
2025-10-25 20:28:03.718 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x04, 0x4B]
2025-10-25 20:28:03.720 | INFO | Thread-6 | verter.BmsToInverter:335 |
Sending to inverter PYLON_CAN on com0...
2025-10-25 20:28:03.721 | DEBUG | Thread-6 | verter.core.Inverter:209 |
No battery data yet received to send to inverter PYLON_CAN!
2025-10-25 20:28:04.719 | INFO | Thread-3 | verter.BmsToInverter:309 |
Reading BMS #1 JK_RS485 on /dev/ttySC1...
2025-10-25 20:28:04.719 | DEBUG | Thread-3 | s485.JSerialCommPort:180 |
Clearing RX buffers
2025-10-25 20:28:04.720 | DEBUG | Thread-3 | s485.JSerialCommPort:159 |
Send: Buffer (HEX): [0x4E, 0x57, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x06,
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x01, 0x29]
2025-10-25 20:28:04.722 | INFO | Thread-6 | verter.BmsToInverter:335 |
Sending to inverter PYLON_CAN on com0...
2025-10-25 20:28:04.722 | DEBUG | Thread-6 | verter.core.Inverter:209 |
No battery data yet received to send to inverter PYLON_CAN!
2025-10-25 20:28:05.029 | DEBUG | Thread-3 | .JKBmsRS485Processor:176 |
No bytes received: 1 times!
2025-10-25 20:28:05.029 | DEBUG | Thread-3 | .JKBmsRS485Processor:186 |
Waiting for messages to arrive....
2025-10-25 20:28:05.430 | DEBUG | Thread-3 | .JKBmsRS485Processor:176 |
No bytes received: 2 times!
2025-10-25 20:28:05.431 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x01, 0x10, 0x16, 0x20, 0x00, 0x01, 0x02, 0x00,
0x00]
2025-10-25 20:28:05.431 | DEBUG | Thread-3 | .JKBmsRS485Processor:186 |
Waiting for messages to arrive....
2025-10-25 20:28:05.432 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xD6, 0xF1, 0x55, 0xAA, 0xEB, 0x90, 0x02, 0x05,
0xA5]
2025-10-25 20:28:05.432 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xDB, 0x0C, 0xE0, 0x0C, 0xE0, 0x0C, 0xDD,
0x0C]
2025-10-25 20:28:05.433 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xDA, 0x0C, 0xDE, 0x0C, 0xDE, 0x0C, 0xDF, 0x0C,
0xDE]
2025-10-25 20:28:05.434 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xDD, 0x0C, 0xDE, 0x0C, 0xCE, 0x0C, 0xDB,
0x0C]
2025-10-25 20:28:05.435 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xD3, 0x0C, 0xDF, 0x0C, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:05.435 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:05.436 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:05.437 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:05.438 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0xFF, 0x00, 0x00, 0xD9, 0x0C, 0x2D, 0x00,
0x02]
2025-10-25 20:28:05.439 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x3E, 0x00, 0x3B, 0x00, 0x3C, 0x00, 0x3C,
0x00]
2025-10-25 20:28:05.439 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x3B, 0x00, 0x3B, 0x00, 0x4A, 0x00, 0x4A, 0x00]
2025-10-25 20:28:05.440 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x39, 0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A, 0x00]
2025-10-25 20:28:05.441 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x3A, 0x00, 0x3A, 0x00, 0x3C, 0x00, 0x3D, 0x00]
2025-10-25 20:28:05.441 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
2025-10-25 20:28:05.442 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:05.443 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:05.444 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xD7, 0x00,
0x00]
2025-10-25 20:28:05.445 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x8B, 0xCD, 0x00, 0x00, 0x81,
0x88]
2025-10-25 20:28:05.445 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0x00, 0xB5, 0xC0, 0xFF, 0xFF, 0xB1, 0x00,
0xAF]
2025-10-25 20:28:05.446 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x08, 0x00, 0x30, 0xFC, 0x02,
0x52]
2025-10-25 20:28:05.447 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x23, 0x43, 0x04, 0x00, 0x20, 0x30, 0x05, 0x00,
0x01]
2025-10-25 20:28:05.448 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0xFC, 0x6E, 0x05, 0x00, 0x64,
0x00]
2025-10-25 20:28:05.448 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x67, 0x67, 0x09, 0x00, 0x01, 0x01]
2025-10-25 20:28:05.449 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:05.450 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x01,
0x00]
2025-10-25 20:28:05.451 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0xDC, 0x03, 0x00, 0x00, 0x52, 0x00,
0x93]
2025-10-25 20:28:05.451 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xC5, 0x3F, 0x40, 0x92, 0x00, 0x00, 0x00, 0x8D,
0x14]
2025-10-25 20:28:05.452 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x02, 0x06]
2025-10-25 20:28:05.453 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0xCD, 0x09, 0x44, 0x00, 0x00, 0x00]
2025-10-25 20:28:05.454 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0xD7, 0x00, 0x00, 0x00, 0x00, 0x00,
0xDC]
2025-10-25 20:28:05.454 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x03, 0xFE, 0x41, 0xF1, 0x0A, 0x34, 0x05, 0x00,
0x00]
2025-10-25 20:28:05.455 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x80, 0x51, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:05.456 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
0xFE]
2025-10-25 20:28:05.457 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0x7F, 0xDC, 0x0F, 0x01, 0x00, 0x80, 0x03,
0x00]
2025-10-25 20:28:05.457 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0xF9, 0x01, 0x10, 0x16, 0x20, 0x00,
0x01]
2025-10-25 20:28:05.458 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x04, 0x4B]
2025-10-25 20:28:05.631 | ERROR | Thread-3 | .JKBmsRS485Processor:196 |
Error receiving frame!
java.io.IOException: Error reading data - got wrong start flag!
at
com.airepublic.bmstoinverter.bms.jk.rs485.JKBmsRS485Processor.readFrame(JKBmsRS485Processor.java:217)
~[bms-jk-rs485-0.0.1-SNAPSHOT.jar:?]
at
com.airepublic.bmstoinverter.bms.jk.rs485.JKBmsRS485Processor.collectData(JKBmsRS485Processor.java:89)
~[bms-jk-rs485-0.0.1-SNAPSHOT.jar:?]
at com.airepublic.bmstoinverter.core.BMS.process(BMS.java:180)
~[core-api-0.0.1-SNAPSHOT.jar:?]
at
com.airepublic.bmstoinverter.BmsToInverter.lambda$start$1(BmsToInverter.java:310)
~[bms-to-inverter-main-0.0.1-SNAPSHOT.jar:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
2025-10-25 20:28:05.632 | INFO | Thread-3 | verter.BmsToInverter:361 |
BMS SOC V A CellMinV CellMaxV CellDiff
2025-10-25 20:28:05.632 | INFO | Thread-3 | verter.BmsToInverter:431 |
BMS alarms:
NONE
2025-10-25 20:28:05.722 | INFO | Thread-6 | verter.BmsToInverter:335 |
Sending to inverter PYLON_CAN on com0...
2025-10-25 20:28:05.723 | DEBUG | Thread-6 | verter.core.Inverter:209 |
No battery data yet received to send to inverter PYLON_CAN!
2025-10-25 20:28:06.633 | INFO | Thread-3 | verter.BmsToInverter:309 |
Reading BMS #1 JK_RS485 on /dev/ttySC1...
2025-10-25 20:28:06.633 | DEBUG | Thread-3 | s485.JSerialCommPort:180 |
Clearing RX buffers
2025-10-25 20:28:06.634 | DEBUG | Thread-3 | s485.JSerialCommPort:159 |
Send: Buffer (HEX): [0x4E, 0x57, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x06,
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x01, 0x29]
2025-10-25 20:28:06.723 | INFO | Thread-6 | verter.BmsToInverter:335 |
Sending to inverter PYLON_CAN on com0...
2025-10-25 20:28:06.724 | DEBUG | Thread-6 | verter.core.Inverter:209 |
No battery data yet received to send to inverter PYLON_CAN!
2025-10-25 20:28:06.940 | DEBUG | Thread-3 | .JKBmsRS485Processor:176 |
No bytes received: 1 times!
2025-10-25 20:28:06.941 | DEBUG | Thread-3 | .JKBmsRS485Processor:186 |
Waiting for messages to arrive....
2025-10-25 20:28:07.171 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x01, 0x10, 0x16, 0x20, 0x00, 0x01, 0x02, 0x00,
0x00]
2025-10-25 20:28:07.172 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xD6, 0xF1, 0x55, 0xAA, 0xEB, 0x90, 0x02, 0x05,
0xA5]
2025-10-25 20:28:07.172 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xDB, 0x0C, 0xDF, 0x0C, 0xE0, 0x0C, 0xDD,
0x0C]
2025-10-25 20:28:07.173 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xDB, 0x0C, 0xDD, 0x0C, 0xDE, 0x0C, 0xDF, 0x0C,
0xDE]
2025-10-25 20:28:07.174 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xDD, 0x0C, 0xDD, 0x0C, 0xCB, 0x0C, 0xDA,
0x0C]
2025-10-25 20:28:07.175 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xD4, 0x0C, 0xDF, 0x0C, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.175 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.176 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.177 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.178 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0xFF, 0x00, 0x00, 0xD8, 0x0C, 0x2D, 0x00,
0x02]
2025-10-25 20:28:07.179 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x3E, 0x00, 0x3B, 0x00, 0x3C, 0x00, 0x3C,
0x00]
2025-10-25 20:28:07.179 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x3B, 0x00, 0x3B, 0x00, 0x4A, 0x00, 0x4A, 0x00,
0x39]
2025-10-25 20:28:07.180 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A,
0x00]
2025-10-25 20:28:07.181 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x3A, 0x00, 0x3C, 0x00, 0x3D, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.181 | ERROR | Thread-3 | .JKBmsRS485Processor:196 |
Error receiving frame!
java.io.IOException: Error reading data - got wrong start flag!
at
com.airepublic.bmstoinverter.bms.jk.rs485.JKBmsRS485Processor.readFrame(JKBmsRS485Processor.java:217)
~[bms-jk-rs485-0.0.1-SNAPSHOT.jar:?]
at
com.airepublic.bmstoinverter.bms.jk.rs485.JKBmsRS485Processor.collectData(JKBmsRS485Processor.java:89)
~[bms-jk-rs485-0.0.1-SNAPSHOT.jar:?]
at com.airepublic.bmstoinverter.core.BMS.process(BMS.java:180)
~[core-api-0.0.1-SNAPSHOT.jar:?]
at
com.airepublic.bmstoinverter.BmsToInverter.lambda$start$1(BmsToInverter.java:310)
~[bms-to-inverter-main-0.0.1-SNAPSHOT.jar:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
2025-10-25 20:28:07.182 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.182 | INFO | Thread-3 | verter.BmsToInverter:361 |
BMS SOC V A CellMinV CellMaxV CellDiff
2025-10-25 20:28:07.182 | INFO | Thread-3 | verter.BmsToInverter:431 |
BMS alarms:
NONE
2025-10-25 20:28:07.183 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.183 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.184 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0xD7, 0x00, 0x00, 0x00, 0x00, 0x00,
0x80]
2025-10-25 20:28:07.185 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xCD, 0x00, 0x00, 0x2C, 0x2A, 0x0D, 0x00, 0xF0,
0xBF]
2025-10-25 20:28:07.186 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0xFF, 0xB1, 0x00, 0xAF, 0x00, 0x00, 0x00,
0x08]
2025-10-25 20:28:07.186 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x32, 0xFC, 0x02, 0x52, 0x1C, 0x43, 0x04,
0x00]
2025-10-25 20:28:07.187 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x20, 0x30, 0x05, 0x00, 0x01, 0x00, 0x00, 0x00,
0x04]
2025-10-25 20:28:07.188 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x6F, 0x05, 0x00, 0x64, 0x00, 0x00, 0x00, 0x69,
0x67]
2025-10-25 20:28:07.189 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x09, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:07.189 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
2025-10-25 20:28:07.190 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0xFF, 0x00, 0x01, 0x00, 0x00, 0x00, 0xDC,
0x03]
2025-10-25 20:28:07.191 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x53, 0x00, 0x93, 0xC5, 0x3F, 0x40]
2025-10-25 20:28:07.192 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x94, 0x00, 0x00, 0x00, 0x8C, 0x14, 0x00, 0x00]
2025-10-25 20:28:07.192 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x01, 0x00, 0x01, 0x02, 0x06, 0x00, 0x00]
2025-10-25 20:28:07.193 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xDE, 0x09, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00,
0xD7]
2025-10-25 20:28:07.194 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0xDC, 0x03, 0x00]
2025-10-25 20:28:07.194 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x42, 0xF1, 0x0A, 0x34, 0x05, 0x00, 0x00, 0x80]
2025-10-25 20:28:07.195 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x51, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]
2025-10-25 20:28:07.196 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
0xFE]
2025-10-25 20:28:07.197 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0x7F, 0xDC, 0x0F, 0x01, 0x00, 0x80, 0x03]
2025-10-25 20:28:07.197 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x8C, 0x01, 0x10, 0x16, 0x20,
0x00]
2025-10-25 20:28:07.198 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x01, 0x04, 0x4B]
2025-10-25 20:28:07.724 | INFO | Thread-6 | verter.BmsToInverter:335 |
Sending to inverter PYLON_CAN on com0...
2025-10-25 20:28:07.725 | DEBUG | Thread-6 | verter.core.Inverter:209 |
No battery data yet received to send to inverter PYLON_CAN!
2025-10-25 20:28:08.182 | INFO | Thread-3 | verter.BmsToInverter:309 |
Reading BMS #1 JK_RS485 on /dev/ttySC1...
2025-10-25 20:28:08.183 | DEBUG | Thread-3 | s485.JSerialCommPort:180 |
Clearing RX buffers
2025-10-25 20:28:08.183 | DEBUG | Thread-3 | s485.JSerialCommPort:159 |
Send: Buffer (HEX): [0x4E, 0x57, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x06,
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x01, 0x29]
2025-10-25 20:28:08.492 | DEBUG | Thread-3 | .JKBmsRS485Processor:176 |
No bytes received: 1 times!
2025-10-25 20:28:08.493 | DEBUG | Thread-3 | .JKBmsRS485Processor:186 |
Waiting for messages to arrive....
2025-10-25 20:28:08.725 | INFO | Thread-6 | verter.BmsToInverter:335 |
Sending to inverter PYLON_CAN on com0...
2025-10-25 20:28:08.726 | DEBUG | Thread-6 | verter.core.Inverter:209 |
No battery data yet received to send to inverter PYLON_CAN!
2025-10-25 20:28:08.895 | DEBUG | Thread-3 | .JKBmsRS485Processor:176 |
No bytes received: 2 times!
2025-10-25 20:28:08.895 | DEBUG | Thread-3 | .JKBmsRS485Processor:186 |
Waiting for messages to arrive....
2025-10-25 20:28:08.911 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x01, 0x10, 0x16, 0x20, 0x00, 0x01, 0x02, 0x00,
0x00]
2025-10-25 20:28:08.912 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xD6, 0xF1, 0x55, 0xAA, 0xEB, 0x90, 0x02, 0x05,
0xB1]
2025-10-25 20:28:08.912 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xDD, 0x0C, 0xE0, 0x0C, 0xE0, 0x0C, 0xDE,
0x0C]
2025-10-25 20:28:08.913 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xDD, 0x0C, 0xDF, 0x0C, 0xDF, 0x0C, 0xE0, 0x0C,
0xDF]
2025-10-25 20:28:08.914 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x0C, 0xDD, 0x0C, 0xDE, 0x0C, 0xD0, 0x0C, 0xDD,
0x0C]
2025-10-25 20:28:08.915 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xD4, 0x0C, 0xE0, 0x0C, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.916 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.916 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.917 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.918 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0xFF, 0x00, 0x00, 0xDA, 0x0C, 0x3B, 0x00,
0x02]
2025-10-25 20:28:08.919 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x3E, 0x00, 0x3B, 0x00, 0x3C, 0x00, 0x3C,
0x00]
2025-10-25 20:28:08.919 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x3B, 0x00, 0x3B, 0x00, 0x4A, 0x00, 0x4A, 0x00,
0x39]
2025-10-25 20:28:08.920 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A, 0x00, 0x3A,
0x00]
2025-10-25 20:28:08.921 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x3A, 0x00, 0x3C, 0x00, 0x3D, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.922 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.922 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.923 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.924 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0xD7, 0x00, 0x00, 0x00, 0x00, 0x00,
0xA0]
2025-10-25 20:28:08.925 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xCD, 0x00, 0x00, 0x10, 0x61, 0x0C, 0x00, 0xCC,
0xC3]
2025-10-25 20:28:08.926 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0xFF, 0xB1, 0x00, 0xAF, 0x00, 0x00, 0x00,
0x08]
2025-10-25 20:28:08.926 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x85, 0xFB, 0x02, 0x52, 0x14, 0x43, 0x04,
0x00]
2025-10-25 20:28:08.927 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x20, 0x30, 0x05, 0x00, 0x01, 0x00, 0x00, 0x00,
0x0B]
2025-10-25 20:28:08.928 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x6F, 0x05, 0x00, 0x64, 0x00, 0x00, 0x00, 0x6B,
0x67]
2025-10-25 20:28:08.929 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x09, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.929 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.930 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0xFF, 0x00, 0x01, 0x00, 0x00, 0x00, 0xDC, 0x03,
0x00]
2025-10-25 20:28:08.931 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x4E, 0x00, 0x93, 0xC5, 0x3F, 0x40, 0x00,
0x00]
2025-10-25 20:28:08.932 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x90, 0x14, 0x00, 0x00, 0x00, 0x01,
0x00]
2025-10-25 20:28:08.933 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x01, 0x02, 0x06, 0x00, 0x00, 0xEE, 0x09, 0x44,
0x00]
2025-10-25 20:28:08.933 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0xD7, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.934 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0xDC, 0x03, 0x02, 0x42, 0xF1, 0x0A, 0x34,
0x05]
2025-10-25 20:28:08.935 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x80, 0x51, 0x01, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.936 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00]
2025-10-25 20:28:08.937 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x01, 0xFE, 0xFF, 0x7F, 0xDC, 0x0F, 0x01, 0x00,
0x80]
2025-10-25 20:28:08.937 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x03, 0x00, 0x00, 0x00, 0xA7]
2025-10-25 20:28:08.943 | DEBUG | Thread-5 | s485.JSerialCommPort:200 |
Received: Buffer (HEX): [0x01, 0x10, 0x16, 0x20, 0x00, 0x01, 0x04, 0x4B]
2025-10-25 20:28:09.095 | ERROR | Thread-3 | .JKBmsRS485Processor:196 |
Error receiving frame!
java.io.IOException: Error reading data - got wrong start flag!
at
com.airepublic.bmstoinverter.bms.jk.rs485.JKBmsRS485Processor.readFrame(JKBmsRS485Processor.java:217)
~[bms-jk-rs485-0.0.1-SNAPSHOT.jar:?]
at
com.airepublic.bmstoinverter.bms.jk.rs485.JKBmsRS485Processor.collectData(JKBmsRS485Processor.java:89)
~[bms-jk-rs485-0.0.1-SNAPSHOT.jar:?]
at com.airepublic.bmstoinverter.core.BMS.process(BMS.java:180)
~[core-api-0.0.1-SNAPSHOT.jar:?]
at
com.airepublic.bmstoinverter.BmsToInverter.lambda$start$1(BmsToInverter.java:310)
~[bms-to-inverter-main-0.0.1-SNAPSHOT.jar:?]
at java.lang.Thread.run(Thread.java:1583) [?:?]
2025-10-25 20:28:09.096 | INFO | Thread-3 | verter.BmsToInverter:361 |
BMS SOC V A CellMinV CellMaxV CellDiff
2025-10-25 20:28:09.097 | INFO | Thread-3 | verter.BmsToInverter:431 |
BMS alarms:
NONE
2025-10-25 20:28:09.726 | INFO | Thread-6 | verter.BmsToInverter:335 |
Sending to inverter PYLON_CAN on com0...
2025-10-25 20:28:09.727 | DEBUG | Thread-6 | verter.core.Inverter:209 |
No battery data yet received to send to inverter PYLON_CAN!
2025-10-25 20:28:10.097 | INFO | Thread-3 | verter.BmsToInverter:309 |
Reading BMS #1 JK_RS485 on /dev/ttySC1...
2025-10-25 20:28:10.097 | DEBUG | Thread-3 | s485.JSerialCommPort:180 |
Clearing RX buffers
2025-10-25 20:28:10.098 | DEBUG | Thread-3 | s485.JSerialCommPort:159 |
Send: Buffer (HEX): [0x4E, 0x57, 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x06,
0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x01, 0x29]
2025-10-25 20:28:10.404 | DEBUG | Thread-3 | .JKBmsRS485Processor:176 |
No bytes received: 1 times!
2025-10-25 20:28:10.405 | DEBUG | Thread-3 | .JKBmsRS485Processor:186 |
Waiting for messages to arrive....
^C2025-10-25 20:28:10.643 | WARN | Thread-1 | verter.BmsToInverter:461
| Starting shutdown.
2025-10-25 20:28:10.644 | INFO | Thread-1 | verter.BmsToInverter:466 |
Shutting down BMS and inverter threads...OK
2025-10-25 20:28:10.645 | INFO | Thread-1 | s485.JSerialCommPort:98 |
Shutting down port '/dev/ttySC1'...OK
2025-10-25 20:28:10.646 | INFO | Thread-1 | verter.BmsToInverter:500 |
Shutting down ports...OK
…On Sun, Oct 26, 2025 at 4:16 AM Torsten Oltmanns ***@***.***> wrote:
Thanks, will have a look at it in a couple of days 😄
—
Reply to this email directly, view it on GitHub
<#155 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMOTXKSZWYZRVHGHNM2SPJL3ZR7M7AVCNFSM6AAAAACHNUPMKSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINZYGM2TSOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
|
Hmm, those responses look really weird. The JK usually starts a message with 0x4E 0x57. I don't see that in any of the received data. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Looking into this so that SRNE HESP inverter can receive data from my JBD BMS.
And unfortunately I am not well versed in these kinds of things. But where/what would be the output from the rasberrypi (or waveshare?) to the SRNE HESP Inverter?
Beta Was this translation helpful? Give feedback.
All reactions