-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMA CAN Help #34
Comments
Hi @ironcowboysolar, Before we get you up and running I have a couple of questions on your setup:
Best regards, |
Thanks for the response! I purchased the BMS from Amazon. They’re Daly Smart BMS with Parallel Module and the Comm interface board. The technical documentation mentioned that they were ready for both CAN and RS485. Included is a picture of the batteries I build. I’m really hoping to be able to work this out otherwise in future builds I may switch reluctantly to Batrium. I bought a wave share can hat. |
Those boxes look great :) Did you already receive/install your Waveshare 2CH CAN hat? If you need any help I can assist you with that. You count the pins from the left side when the clip of the RJ45 plug is facing down. Then you are basically ready to run the Configurator app, choose log-level debug in the general settings and then add your BMSes with IDs 1-3 on port can0. Choose inverter as NONE for now. And then start the application. Please read also the Wiki - How to use for guidance. If you encounter any problems, just contact me :) |
Thanks for the response. Looks like I ordered the wrong CAN hat - the one I ordered is the single channel unit. I ordered the 2 channel unit which should be here tomorrow. -Edit- I finally found your detailed instructions. I have installed Java SDK on my computer and completed the configurator parameters as detailed for SMA. Created a clean install file. Most of the questions I have are mostly related to setting up the Rpi. Here's my questions:
Thanks again! |
Alright, cool. So
|
Ok, I have some good news and some not good news. The good news is that I got the CAN hat installed and was able to validate the function of can1 sending and can0 receiving. I ended up installing configurator directly on the rPi. I created a clean install file. here’s where I ran into an issue: When I execute the shell script “Start” nothing happens. If I select execute in terminal, the terminal window opens and quickly closes without any indication that it’s doing anything. so I tried to open terminal to manually execute the start file from root user. When I do that, it says “cannot access the jarfile” In response to this, I copied the jarfile path from the “lib” folder, as detailed the “start” file, then from terminal I executed the file directly “Java -jar lib/bms-to-inverterblahblah.jar” In a nutshell, it seems like the start sh file may not be working, but the .jar file it says it doesn’t have access to definitely works. thoughts? |
Did you change the permissions like described in the Wiki:
I think that will solve your issue. For easier starting and more control I changed the So please download the latest Configurator application choose your installation folder and just click Update configuration. |
@ironcowboysolar did it solve your issue? |
Oh man lots of information here to share. First thing is to get the shell script to work I had to put the _specified_file paths for all of the files detailed in the shell script. I also had to set chmod permissions to 755. To make the shell script execute automatically upon startup I had to add a bash script for the start.sh file and I had to add chmod +x to the rc.local file and all the configurator files. Now when I execute start.sh in terminal I can see all the processes running as it tries to open ports and send and receive data. Now for the complicated stuff. I have not been able to verify that the CANBUS ports on the interface boards actively transmit any data. Using the DALY app, I have been able to set the communication protocol to SMA CAN, as well as save the setting, but i'm still unable to read anything and I'm not sure if it's actually doing anything. I have a CAN reader for my laptop but the software that comes with it sucks so I'm going to get a better one. With the BMS to inverter running, when I try to give the command "ifconfig can0" it doesn't show that its receiving any information packets, nor does candump can0. Maybe you're correct about the BMS being shipped without CAN capabilities, but the amazon page where I bought it from states that it's supposed to have CAN/UART/RS485 support. I have a few options at this point. Seemingly, the worst case scenario would be that I translate from Daly RS485 to SMA CAN, but from what I can tell, my CAN hat does not support RS485. Seems like I'll need to get a two channel CAN hat that supports both protocols to be able to do this. I can also get a decent CAN reader from my laptop so that I could verify whether or not the CAN ports transmit data. Due to some of what the log file states, I am suspicious that maybe the CAN hat is improperly installed. Here is a brief copy and paste from the log file: **2024-08-07 16:53:04.588 | INFO | Thread-2 | toinverter.core.Port:113 | Opening port can0 SUCCESSFUL 2024-08-07 16:53:04.589 | ERROR | Thread-2 | ractDalyBmsProcessor:70 | Failed to initialize BMS! 2024-08-07 16:53:04.592 | ERROR | Thread-2 | stoinverter.core.BMS:149 | Error requesting data! I'm interested to hear your ideas on this. Thanks! |
You could loop both canhat channels together and send some can commands with one and recieve with the other, that way you'll see that the hat works atleast. |
I have opened two terminal windows and did a candump can0 and then cansend can1 000#11 22 33 44 55 This works like its supposed to. |
Check this out, may need to send a message first to get it to start sending data, |
|
I can recommend chatting to a Daly representative directly. They are very responsive. Here's a WhatsApp link from their Website: Or just send them an email. You'll probably have to send a picture of the BMS and S/N. |
You have configured the DALY_RS485 BMS binding but specified You could also test it via the PI serial ports pins 8 and 10: Then you need to connect your PI and Daly pins TX->RX and RX -> TX: |
Once the CAN is connected it usuallly works out of the box. To be sure you can restart the BMS (either via their PC software, or interface board or disconnecting the battery cable shortly). |
If you use the DALY_CAN BMS binding then please set the 'Inverter Manager' to NONE and not to SMA! Or you could set the SMA_CAN BMS binding, but I recommend the Daly binding for your Daly 😉 Now I hope all that information will bring you forward! Happy reading 😆 and don't hesitate to ask questions! |
Sorry, I accidentally posted the part of the log where it was tinkering with the Daly RS485. Here's the same log from when it was set to Daly_CAN "2024-08-07 16:56:40.607 | INFO | main | erter.core.util.Util:35 | Loading config.properties from: /home/pi/configurator/config/config.properties 2024-08-07 16:56:44.755 | DEBUG | Thread-2 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x40, 0x02, 0x50, 0x18, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-07 16:56:44.759 | DEBUG | Thread-2 | ocol.can.JavaCANPort:76 | CAN frame read... 2024-08-07 16:56:45.818 | DEBUG | Thread-2 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x40, 0x02, 0x90, 0x18, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-07 16:56:45.819 | DEBUG | Thread-2 | ocol.can.JavaCANPort:76 | CAN frame read... |
Did you configure your CAN hat properly and have you pulled the can0 interface up with:
sudo ip link set can0 type can bitrate 500000
sudo ifconfig can0 up
|
This was copy pasted from my rc.local file so that it executes upon startup. #!/bin/bash Initialize CAN BUSsudo ip link set can0 up type can bitrate 1000000 |
Thanks @ironcowboysolar - could you try setting the bitrate to 500000 please? I think the Daly only supports that. |
OK, so every time I try this I get further and I think I'm very close to getting this to work. I was able to get a voltage on the CAN pins on the Daly, but since I'm unsure about it, I installed the RS485 CAN Hat and decided to go with the DALY_RS485 binding. After I dialed it in some, I was able to confirm that the rPi was definitely receiving RS485 information from the BMS. Upon reboot, my rPi boots to terminal and the start.sh script is executed automatically after it boots. As it started scrolling through all the data, I could briefly see where the rPi was collecting data, such as the voltages of the various cells and the state of charge, etc. Also, when this was running, I did a candump and could see lots of CAN data. ifconfig also said that there were numerous packets being sent etc. Now my problem is that I can't seem to get the Sunny Island to recognize the CAN data. When I set up the inverter for Li_Batt_EXT_BMS, upon boot up it works for a minute and then I get a BMS timeout error. During the time that it does run, it does not receive the SOC information from the rPi. The configurator is set to SMA_CAN binding on port can0 with a baudrate of 500,000. There is a resistor on the rPi and a resistor on the other SMA. Do you have any suggestions or tips? I feel like I'm close to a breakthrough. Thanks for your detailed responses. -EDIT- So I noticed above that you said that the RX goes to the TX in between devices and vice versa. Is that the same for A and B? The Daly has a wiring harness for RS485 that has A and B labeled. Are you saying that A on the Daly should go to B on the rPi and vise verse? |
Hi @ironcowboysolar,
For the RS485 you do not have to connect A->B, B->A, just connect A->A, B->B. That would only be for serial communication using RX, TX. So assuming you're running RS485 on your Daly: can we test just the Daly binding first please? |
I have the BMS to Inv program set to execute on startup after the rPi boots into terminal instead of the desktop environment. When it starts up, it goes through the boot process, and after that I can see it quickly processing data packets on the screen and I can catch bits of the data as it rains down. I can see that from the Daly, it receives the BMS info such as cell voltage, temps, SOC and other things. Lots of RECEIVED on serial0 and SENDING on can0. Here's the log file details: 2024-08-11 19:24:17.764 | INFO | Thread-2 | n.DalyMessageHandler:164 | BMS #1: 53.0V, -7.5A, 70.9SOC 2024-08-11 19:24:17.799 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:17.800 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:17.801 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x91] 2024-08-11 19:24:17.802 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:17.803 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:17.804 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF3] 2024-08-11 19:24:17.805 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0F] 2024-08-11 19:24:17.806 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:17.807 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xEA] 2024-08-11 19:24:17.808 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-08-11 19:24:17.809 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-08-11 19:24:17.810 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xC5] 2024-08-11 19:24:17.811 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x1A] 2024-08-11 19:24:17.893 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x91, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E] 2024-08-11 19:24:17.987 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x91, 0x08, 0x0C, 0xF3, 0x0F, 0x0C, 0xEA, 0x10, 0x02, 0xC5, 0x1A] 2024-08-11 19:24:17.988 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x91, 0x08, 0x0C, 0xF3, 0x0F, 0x0C, 0xEA, 0x10, 0x02, 0xC5, 0x1A] 2024-08-11 19:24:17.988 | INFO | Thread-2 | n.DalyMessageHandler:184 | Battery 2 Min/Max/Diff: 2024-08-11 19:24:18.019 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.020 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.021 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x92] 2024-08-11 19:24:18.022 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:18.023 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x47] 2024-08-11 19:24:18.024 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-08-11 19:24:18.025 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x47] 2024-08-11 19:24:18.026 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.027 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xEA] 2024-08-11 19:24:18.028 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-08-11 19:24:18.029 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-08-11 19:24:18.030 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xC5] 2024-08-11 19:24:18.031 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x92] 2024-08-11 19:24:18.117 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x92, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F] 2024-08-11 19:24:18.211 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x92, 0x08, 0x47, 0x02, 0x47, 0x01, 0xEA, 0x10, 0x02, 0xC5, 0x92] 2024-08-11 19:24:18.211 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x92, 0x08, 0x47, 0x02, 0x47, 0x01, 0xEA, 0x10, 0x02, 0xC5, 0x92] 2024-08-11 19:24:18.212 | INFO | Thread-2 | n.DalyMessageHandler:204 | Battery 2 Temperature: 2024-08-11 19:24:18.259 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.260 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.261 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x93] 2024-08-11 19:24:18.262 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:18.263 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-08-11 19:24:18.264 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.265 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.266 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF5] 2024-08-11 19:24:18.267 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:18.268 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x03] 2024-08-11 19:24:18.269 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x3E] 2024-08-11 19:24:18.270 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xDC] 2024-08-11 19:24:18.271 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x57] 2024-08-11 19:24:18.341 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x93, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80] 2024-08-11 19:24:18.435 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x93, 0x08, 0x02, 0x01, 0x01, 0xF5, 0x00, 0x03, 0x3E, 0xDC, 0x57] 2024-08-11 19:24:18.436 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x93, 0x08, 0x02, 0x01, 0x01, 0xF5, 0x00, 0x03, 0x3E, 0xDC, 0x57] 2024-08-11 19:24:18.436 | INFO | Thread-2 | n.DalyMessageHandler:241 | Battery 2 Dis-/Charge data: 2024-08-11 19:24:18.469 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.470 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.471 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x94] 2024-08-11 19:24:18.472 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:18.473 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-08-11 19:24:18.474 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-08-11 19:24:18.475 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:18.476 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:18.477 | INFO | Thread-6 | verter.BmsToInverter:264 | Sending to inverter SMA_SI_CAN on can0... 2024-08-11 19:24:18.478 | DEBUG | Thread-6 | verter.core.Inverter:89 | Inverter received: Buffer (HEX): [null] 2024-08-11 19:24:18.478 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:18.479 | INFO | Thread-6 | InverterCANProcessor:48 | Sending SMA frame: Batt(V)=53.0, Batt(A)=-7.5, SOC=70.8 2024-08-11 19:24:18.480 | DEBUG | Thread-6 | verter.core.Inverter:94 | Inverter send: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0x60, 0x09, 0x78, 0x01] 2024-08-11 19:24:18.481 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x4B] 2024-08-11 19:24:18.481 | DEBUG | Thread-6 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0x60, 0x09, 0x78, 0x01] 2024-08-11 19:24:18.482 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xB2] 2024-08-11 19:24:18.482 | DEBUG | Thread-6 | verter.core.Inverter:94 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:18.483 | DEBUG | Thread-6 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:18.484 | DEBUG | Thread-6 | verter.core.Inverter:94 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xB4, 0x14, 0xB5, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:18.485 | DEBUG | Thread-6 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xB4, 0x14, 0xB5, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:18.486 | DEBUG | Thread-6 | verter.core.Inverter:94 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:18.487 | DEBUG | Thread-6 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:18.565 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x94, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81] 2024-08-11 19:24:18.659 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x94, 0x08, 0x10, 0x02, 0x00, 0x00, 0x00, 0x00, 0x13, 0x4B, 0xB2] 2024-08-11 19:24:18.660 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x94, 0x08, 0x10, 0x02, 0x00, 0x00, 0x00, 0x00, 0x13, 0x4B, 0xB2] 2024-08-11 19:24:18.661 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x94 to BMS 1 successfully sent and received! 2024-08-11 19:24:18.699 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.700 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.701 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-08-11 19:24:18.702 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:18.703 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.704 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.705 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF2] 2024-08-11 19:24:18.706 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] I can see that this information is being transmitted via the can0 port. |
Here's some more logs that may be useful: 2024-08-11 19:24:18.725 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xEF] 2024-08-11 19:24:18.726 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.727 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF2] 2024-08-11 19:24:18.728 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.729 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF3] 2024-08-11 19:24:18.730 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x4B] 2024-08-11 19:24:18.731 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x88] 2024-08-11 19:24:18.744 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.745 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.746 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-08-11 19:24:18.749 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08, 0x03] 2024-08-11 19:24:18.752 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C, 0xF1] 2024-08-11 19:24:18.752 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.753 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF2] 2024-08-11 19:24:18.754 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.755 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF2] 2024-08-11 19:24:18.756 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x4B] 2024-08-11 19:24:18.757 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x8A] 2024-08-11 19:24:18.769 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.770 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.771 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-08-11 19:24:18.772 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:18.773 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x04] 2024-08-11 19:24:18.774 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.775 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF3] 2024-08-11 19:24:18.776 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.777 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF2] 2024-08-11 19:24:18.778 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.779 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF2] 2024-08-11 19:24:18.780 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x4B] 2024-08-11 19:24:18.781 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x8D] 2024-08-11 19:24:18.789 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x95, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x82] 2024-08-11 19:24:18.789 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.790 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.791 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-08-11 19:24:18.792 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:18.793 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x05] 2024-08-11 19:24:18.794 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.795 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF3] 2024-08-11 19:24:18.796 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.797 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF3] 2024-08-11 19:24:18.798 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.799 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF3] 2024-08-11 19:24:18.800 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x4B] 2024-08-11 19:24:18.801 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x90] 2024-08-11 19:24:18.809 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.810 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.811 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-08-11 19:24:18.812 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:18.813 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x06] 2024-08-11 19:24:18.814 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.815 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xEA] 2024-08-11 19:24:18.816 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.817 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF3] 2024-08-11 19:24:18.818 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-08-11 19:24:18.819 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF3] 2024-08-11 19:24:18.820 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x4B] 2024-08-11 19:24:18.821 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x88] 2024-08-11 19:24:18.882 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x01, 0x0C, 0xF2, 0x0C, 0xF3, 0x0C, 0xF3, 0x4B, 0x8B] 2024-08-11 19:24:18.883 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x01, 0x0C, 0xF2, 0x0C, 0xF3, 0x0C, 0xF3, 0x4B, 0x8B] 2024-08-11 19:24:18.884 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 0, Cell No: 1. 3314mV 2024-08-11 19:24:18.887 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x02, 0x0C, 0xEF, 0x0C, 0xF2, 0x0C, 0xF3, 0x4B, 0x88] 2024-08-11 19:24:18.888 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 1, Cell No: 4. 3311mV 2024-08-11 19:24:18.892 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x03, 0x0C, 0xF1, 0x0C, 0xF2, 0x0C, 0xF2, 0x4B, 0x8A] 2024-08-11 19:24:18.892 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 2, Cell No: 7. 3313mV 2024-08-11 19:24:18.895 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x04, 0x0C, 0xF3, 0x0C, 0xF2, 0x0C, 0xF2, 0x4B, 0x8D] 2024-08-11 19:24:18.895 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 3, Cell No: 10. 3315mV 2024-08-11 19:24:18.899 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x05, 0x0C, 0xF3, 0x0C, 0xF3, 0x0C, 0xF3, 0x4B, 0x90] 2024-08-11 19:24:18.899 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x05, 0x0C, 0xF3, 0x0C, 0xF3, 0x0C, 0xF3, 0x4B, 0x90] 2024-08-11 19:24:18.900 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 4, Cell No: 13. 3315mV 2024-08-11 19:24:18.904 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x06, 0x0C, 0xEA, 0x0C, 0xF3, 0x0C, 0xF3, 0x4B, 0x88] 2024-08-11 19:24:18.905 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x06, 0x0C, 0xEA, 0x0C, 0xF3, 0x0C, 0xF3, 0x4B, 0x88] 2024-08-11 19:24:18.905 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 5, Cell No: 16. 3306mV 2024-08-11 19:24:18.908 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x95 to BMS 1 successfully sent and received! 2024-08-11 19:24:18.949 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:18.950 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.951 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x96] 2024-08-11 19:24:18.952 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:18.953 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:18.954 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x47] 2024-08-11 19:24:18.955 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x47] 2024-08-11 19:24:18.956 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:18.957 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:18.958 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:18.959 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:18.960 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x4B] 2024-08-11 19:24:18.961 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x1E] 2024-08-11 19:24:19.037 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x96, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83] 2024-08-11 19:24:19.133 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x96, 0x08, 0x01, 0x47, 0x47, 0x00, 0x00, 0x00, 0x00, 0x4B, 0x1E] 2024-08-11 19:24:19.134 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x96, 0x08, 0x01, 0x47, 0x47, 0x00, 0x00, 0x00, 0x00, 0x4B, 0x1E] 2024-08-11 19:24:19.135 | INFO | Thread-2 | n.DalyMessageHandler:327 | BMS #1, Frame No.: 1, Sensor No: 1. 31�C 2024-08-11 19:24:19.189 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:19.191 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:19.192 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x97] 2024-08-11 19:24:19.193 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08, 0x00] 2024-08-11 19:24:19.194 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.195 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.197 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.198 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.199 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.200 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.200 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.202 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x45] 2024-08-11 19:24:19.277 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x84] 2024-08-11 19:24:19.374 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45] 2024-08-11 19:24:19.375 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45] 2024-08-11 19:24:19.377 | INFO | Thread-2 | n.DalyMessageHandler:378 | BMS #1, Cell Balance State: 2024-08-11 19:24:19.409 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-08-11 19:24:19.410 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-08-11 19:24:19.411 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x98] 2024-08-11 19:24:19.412 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-08-11 19:24:19.413 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.414 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.416 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.417 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.418 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.419 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00, 0x00] 2024-08-11 19:24:19.421 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-08-11 19:24:19.422 | DEBUG | Thread-11 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x46] 2024-08-11 19:24:19.488 | INFO | Thread-6 | verter.BmsToInverter:264 | Sending to inverter SMA_SI_CAN on can0... 2024-08-11 19:24:19.491 | INFO | Thread-6 | InverterCANProcessor:48 | Sending SMA frame: Batt(V)=53.0, Batt(A)=-7.5, SOC=70.8 2024-08-11 19:24:19.495 | DEBUG | Thread-6 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0x60, 0x09, 0x78, 0x01] 2024-08-11 19:24:19.496 | DEBUG | Thread-6 | verter.core.Inverter:94 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:19.497 | DEBUG | Thread-6 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x46, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:19.499 | DEBUG | Thread-6 | verter.core.Inverter:94 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xB4, 0x14, 0xB5, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:19.500 | DEBUG | Thread-6 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0xB4, 0x14, 0xB5, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:19.501 | DEBUG | Thread-6 | verter.core.Inverter:94 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:19.502 | DEBUG | Thread-6 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-08-11 19:24:19.514 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85] 2024-08-11 19:24:19.609 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46] 2024-08-11 19:24:19.611 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46] 2024-08-11 19:24:19.611 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x98 to BMS 1 successfully sent and received! 2024-08-11 19:24:19.613 | INFO | Thread-2 | verter.BmsToInverter:360 | BMS alarms: |
This battery is about 45 minutes from me, so every trip I take costs me a fair bit of time and money. If it's possible, I'd like to go out there with a specific goal or few different things to try unless you would be able to support in realtime. Thank you! |
Hi @ironcowboysolar, For me to access your PI remotely you would need to either install a RDP application (like pi-connect, teamviewer, etc.) or create port forwarding to your PI's internal IP on the SSH port (22) on your router and send me the external IP of your router and a user login user/pwd on your PI. |
I have still been unable to realise communication between the rPi and the SMA. When you say this part "I have added support for inverter and BMS plugins and for your case I added a plugin to use preset values for batteries if the battery information has not yet been read. I also fixed a few other things concerning aggregation of some values. I also updated and fixed the Configurator app" Does this mean that I just need to re-download configurator, and extract the contents over the old files? When you mention plugins, I'm not sure exactly what you mean and how to apply them. In exactly what way did you add the support and how do I utilise it? A few weird things: The first is that the BMS-to-Inverter log file, it doesn't show the data that appears every time the app is running. It seems to log sporadic sections of data and I haven't been able to figure out what conditions need to be met for it to record into the log. For this reason I can't even show you what the latest logs of the app were because i can't copy and paste from terminal. The information is gone now. In my rc.local file, I added code to initialise the CAN driver upon startup and to set the bitrate. Here's the code: sudo ip link set can0 type can bitrate 500000 Is it possible that the BMS-to-Inverter app already has this code somehwere, which would conflict with the rc.local script happening upon start up? Maybe the app sees that can0 is already in use? Should I start the app with can0 down? From what I can tell the RS485 to the rPi is working. When the app is running in terminal, I can see that it receives all the data including voltage, cell voltages, balance status, temperature, internal resistance and crap like that. The issue seems to be transmitting the data via CAN, the can numbers that it appears to send out don't change. A candump does show lots of data and ifconfig shows packets, but it seems to be the same numbers over and over again, which is maybe a null. I went back to the Waveshare Wiki for the RS485 CAN hat and realised that i didn't have the python plugin for "can" downloaded. I did that and tested the can via python receive.py and send.py and it worked. I think this is just used for testing but maybe it had something to do with this problem. I can see that when I execute the send and receive test via python, if can0 is up when it starts it will say "busy" or network is down or something similar. Excited to hear any ideas you may have with this information and I'm really hoping to discover what I'm doing wrong. Thanks! -EDIT- I'm currently using the Daly RS485 binding, and for debug purposes, I have tried it with "none" under inverter type as well as "SMA_CAN" inverter type. |
Hi @ironcowboysolar,
|
In response to number two: I understand about the logs folder and the logs file. What I was saying is that the file "BMS-to-Inverter.log" does not always log what happens in terminal as the program runs. If I open the file now it only shows logs from earlier that day and doesn't show any of the things I was seeing before I decided to give up. |
Do you know what the pinout is for the SMA? They seem to show both CAN and SYNC. Which pins are you using? |
Only connect the CAN_H and CAN_L. Do no connect CAN_GND or anything else. So basically you only use the wires of pin 4 & 5 for the RJ45 cable that goes to your SMA. And only those wires you connect to your RPi's CAN hat CAN H and CAN L respectively. |
2024-09-08 20:15:40.708 | INFO | Thread-5 | verter.BmsToInverter:294 | Sending to inverter SMA_SI_CAN on can0... 2024-09-08 20:15:40.709 | INFO | Thread-5 | InverterCANProcessor:66 | Sending SMA frame: Batt(V)=52.4, Batt(A)=-3.0, SOC=51.1 2024-09-08 20:15:40.710 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:40.710 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:40.710 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:40.710 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:40.710 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xE2, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:40.711 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:40.711 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xE2, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:40.711 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:40.711 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:40.712 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:40.713 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:40.714 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x06] 2024-09-08 20:15:40.715 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:40.716 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x71] 2024-09-08 20:15:40.717 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:40.718 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:40.719 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:40.720 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:40.721 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:40.722 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x8E] 2024-09-08 20:15:40.801 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x01, 0x0C, 0xD7, 0x0C, 0xD5, 0x0C, 0xD7, 0x00, 0xEB] 2024-09-08 20:15:40.802 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x01, 0x0C, 0xD7, 0x0C, 0xD5, 0x0C, 0xD7, 0x00, 0xEB] 2024-09-08 20:15:40.802 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 0, Cell No: 1. 3287mV 2024-09-08 20:15:40.803 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x02, 0x0C, 0xD1, 0x0C, 0xD5, 0x0C, 0xD8, 0x00, 0xE7] 2024-09-08 20:15:40.803 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 1, Cell No: 4. 3281mV 2024-09-08 20:15:40.805 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x03, 0x0C, 0xD7, 0x0C, 0xD7, 0x0C, 0xD5, 0x00, 0xED] 2024-09-08 20:15:40.805 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 2, Cell No: 7. 3287mV 2024-09-08 20:15:40.806 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x04, 0x0C, 0xD7, 0x0C, 0xD4, 0x0C, 0xD8, 0x00, 0xEE] 2024-09-08 20:15:40.806 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 3, Cell No: 10. 3287mV 2024-09-08 20:15:40.808 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x05, 0x0C, 0xD9, 0x0C, 0xD7, 0x0C, 0xD9, 0x00, 0xF5] 2024-09-08 20:15:40.808 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x05, 0x0C, 0xD9, 0x0C, 0xD7, 0x0C, 0xD9, 0x00, 0xF5] 2024-09-08 20:15:40.808 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 4, Cell No: 13. 3289mV 2024-09-08 20:15:40.809 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x06, 0x0C, 0x71, 0x0C, 0xD7, 0x0C, 0xD9, 0x00, 0x8E] 2024-09-08 20:15:40.809 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x06, 0x0C, 0x71, 0x0C, 0xD7, 0x0C, 0xD9, 0x00, 0x8E] 2024-09-08 20:15:40.809 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 5, Cell No: 16. 3185mV 2024-09-08 20:15:40.810 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x95 to BMS 1 successfully sent and received! 2024-09-08 20:15:40.847 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:40.848 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:40.849 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x96] 2024-09-08 20:15:40.850 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:40.852 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:40.853 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x47] 2024-09-08 20:15:40.854 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x46] 2024-09-08 20:15:40.855 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:40.856 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:40.857 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:40.858 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:40.859 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:40.860 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x9A] 2024-09-08 20:15:40.940 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x96, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83] 2024-09-08 20:15:41.033 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x96, 0x08, 0x01, 0x47, 0x46, 0x0C, 0xD7, 0x0C, 0xD9, 0x00, 0x9A] 2024-09-08 20:15:41.033 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x96, 0x08, 0x01, 0x47, 0x46, 0x0C, 0xD7, 0x0C, 0xD9, 0x00, 0x9A] 2024-09-08 20:15:41.033 | INFO | Thread-2 | n.DalyMessageHandler:327 | BMS #1, Frame No.: 1, Sensor No: 1. 31�C 2024-09-08 20:15:41.072 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:41.073 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:41.074 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x97] 2024-09-08 20:15:41.075 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:41.076 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.077 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.078 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.079 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.080 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.081 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.082 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.083 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.084 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x45] 2024-09-08 20:15:41.160 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x84] 2024-09-08 20:15:41.253 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45] 2024-09-08 20:15:41.253 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45] 2024-09-08 20:15:41.253 | INFO | Thread-2 | n.DalyMessageHandler:378 | BMS #1, Cell Balance State: 2024-09-08 20:15:41.291 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:41.292 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:41.293 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x98] 2024-09-08 20:15:41.294 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:41.296 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.297 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.298 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.299 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.300 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.301 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.302 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.303 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:41.304 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x46] 2024-09-08 20:15:41.380 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85] 2024-09-08 20:15:41.473 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46] 2024-09-08 20:15:41.473 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46] 2024-09-08 20:15:41.473 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x98 to BMS 1 successfully sent and received! 2024-09-08 20:15:41.474 | INFO | Thread-2 | verter.BmsToInverter:390 | BMS alarms: 2024-09-08 20:15:41.712 | INFO | Thread-5 | InverterCANProcessor:66 | Sending SMA frame: Batt(V)=52.4, Batt(A)=-3.0, SOC=51.1 2024-09-08 20:15:41.715 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:41.715 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:41.716 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:41.716 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xE2, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:41.716 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xE2, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:41.716 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:41.717 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:42.474 | INFO | Thread-2 | verter.BmsToInverter:268 | Reading BMS #1 DALY_RS485 on ttyS0... 2024-09-08 20:15:42.514 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:42.515 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:42.516 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x90] 2024-09-08 20:15:42.517 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:42.518 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:42.519 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:42.520 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:42.521 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:42.522 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x74] 2024-09-08 20:15:42.523 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF7] 2024-09-08 20:15:42.524 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:42.525 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:42.526 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xB9] 2024-09-08 20:15:42.604 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x90, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7D] 2024-09-08 20:15:42.697 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x90, 0x08, 0x02, 0x0C, 0x00, 0x00, 0x74, 0xF7, 0x02, 0x00, 0xB9] 2024-09-08 20:15:42.697 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x90, 0x08, 0x02, 0x0C, 0x00, 0x00, 0x74, 0xF7, 0x02, 0x00, 0xB9] 2024-09-08 20:15:42.697 | INFO | Thread-2 | n.DalyMessageHandler:164 | BMS #1: 52.4V, -5.7A, 51.2SOC 2024-09-08 20:15:42.717 | INFO | Thread-5 | verter.BmsToInverter:294 | Sending to inverter SMA_SI_CAN on can0... 2024-09-08 20:15:42.718 | INFO | Thread-5 | InverterCANProcessor:66 | Sending SMA frame: Batt(V)=52.4, Batt(A)=-5.7, SOC=51.1 2024-09-08 20:15:42.718 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:42.718 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:42.719 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:42.719 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xC7, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:42.719 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xC7, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:42.719 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:42.720 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:42.736 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:42.736 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:42.738 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x91] 2024-09-08 20:15:42.739 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:42.740 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:42.741 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:42.742 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0F] 2024-09-08 20:15:42.743 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:42.744 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x72] 2024-09-08 20:15:42.745 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-09-08 20:15:42.746 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:42.747 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:42.748 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xC3] 2024-09-08 20:15:42.824 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x91, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E] 2024-09-08 20:15:42.917 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x91, 0x08, 0x0C, 0xD9, 0x0F, 0x0C, 0x72, 0x10, 0x02, 0x00, 0xC3] 2024-09-08 20:15:42.917 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x91, 0x08, 0x0C, 0xD9, 0x0F, 0x0C, 0x72, 0x10, 0x02, 0x00, 0xC3] 2024-09-08 20:15:42.918 | INFO | Thread-2 | n.DalyMessageHandler:184 | Battery 2 Min/Max/Diff: 2024-09-08 20:15:42.956 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:42.956 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:42.958 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x92] 2024-09-08 20:15:42.959 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:42.960 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x47] 2024-09-08 20:15:42.961 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:42.962 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x46] 2024-09-08 20:15:42.963 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:42.964 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x72] 2024-09-08 20:15:42.965 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-09-08 20:15:42.966 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:42.967 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:42.968 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x54] 2024-09-08 20:15:43.048 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x92, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F] 2024-09-08 20:15:43.141 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x92, 0x08, 0x47, 0x01, 0x46, 0x02, 0x72, 0x10, 0x02, 0x00, 0x54] 2024-09-08 20:15:43.142 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x92, 0x08, 0x47, 0x01, 0x46, 0x02, 0x72, 0x10, 0x02, 0x00, 0x54] 2024-09-08 20:15:43.142 | INFO | Thread-2 | n.DalyMessageHandler:204 | Battery 2 Temperature: 2024-09-08 20:15:43.182 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.183 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.184 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x93] 2024-09-08 20:15:43.185 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.186 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:43.187 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.188 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.189 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:43.190 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.191 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:43.192 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x58] 2024-09-08 20:15:43.193 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.194 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x34] 2024-09-08 20:15:43.272 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x93, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80] 2024-09-08 20:15:43.365 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x93, 0x08, 0x02, 0x01, 0x01, 0x95, 0x00, 0x02, 0x58, 0x00, 0x34] 2024-09-08 20:15:43.366 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x93, 0x08, 0x02, 0x01, 0x01, 0x95, 0x00, 0x02, 0x58, 0x00, 0x34] 2024-09-08 20:15:43.366 | INFO | Thread-2 | n.DalyMessageHandler:241 | Battery 2 Dis-/Charge data: 2024-09-08 20:15:43.406 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.406 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.408 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x94] 2024-09-08 20:15:43.409 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.410 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-09-08 20:15:43.411 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:43.412 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.413 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.414 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.415 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.416 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x18] 2024-09-08 20:15:43.417 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.418 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x6C] 2024-09-08 20:15:43.496 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x94, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81] 2024-09-08 20:15:43.589 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x94, 0x08, 0x10, 0x02, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x6C] 2024-09-08 20:15:43.590 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x94, 0x08, 0x10, 0x02, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x6C] 2024-09-08 20:15:43.590 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x94 to BMS 1 successfully sent and received! 2024-09-08 20:15:43.630 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.631 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.632 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:43.633 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.634 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.635 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.636 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:43.637 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.638 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:43.639 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.640 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:43.641 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.642 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xEF] 2024-09-08 20:15:43.647 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.648 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.650 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:43.651 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.652 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:43.653 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.654 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xCD] 2024-09-08 20:15:43.655 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.656 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD3] 2024-09-08 20:15:43.657 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.658 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:43.659 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.660 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xE0] 2024-09-08 20:15:43.665 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.666 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.668 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:43.669 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.670 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x03] 2024-09-08 20:15:43.671 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.672 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD4] 2024-09-08 20:15:43.673 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.674 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:43.675 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.676 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:43.677 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.678 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xEE] 2024-09-08 20:15:43.684 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.684 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.686 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:43.687 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.688 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x04] 2024-09-08 20:15:43.689 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.690 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD6] 2024-09-08 20:15:43.691 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.692 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD6] 2024-09-08 20:15:43.693 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.694 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD6] 2024-09-08 20:15:43.695 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.696 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xED] 2024-09-08 20:15:43.701 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.703 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.704 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:43.705 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.706 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x05] 2024-09-08 20:15:43.707 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.708 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:43.709 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.710 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:43.711 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.712 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD8] 2024-09-08 20:15:43.713 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.714 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF4] 2024-09-08 20:15:43.719 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.720 | INFO | Thread-5 | verter.BmsToInverter:294 | Sending to inverter SMA_SI_CAN on can0... 2024-09-08 20:15:43.720 | DEBUG | Thread-5 | verter.core.Inverter:152 | Inverter received: Buffer (HEX): [null] 2024-09-08 20:15:43.721 | INFO | Thread-5 | InverterCANProcessor:66 | Sending SMA frame: Batt(V)=52.4, Batt(A)=-5.7, SOC=51.1 2024-09-08 20:15:43.721 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:43.721 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:43.721 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:43.722 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:43.722 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:43.722 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xC7, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:43.722 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xC7, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:43.722 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:43.723 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:43.723 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.724 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x06] 2024-09-08 20:15:43.725 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.726 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x73] 2024-09-08 20:15:43.727 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.728 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:43.729 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.730 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD8] 2024-09-08 20:15:43.731 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.732 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x91] 2024-09-08 20:15:43.813 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x01, 0x0C, 0xD7, 0x0C, 0xD7, 0x0C, 0xD9, 0x00, 0xEF] 2024-09-08 20:15:43.813 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x01, 0x0C, 0xD7, 0x0C, 0xD7, 0x0C, 0xD9, 0x00, 0xEF] 2024-09-08 20:15:43.813 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 0, Cell No: 1. 3287mV 2024-09-08 20:15:43.814 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x02, 0x0C, 0xCD, 0x0C, 0xD3, 0x0C, 0xD7, 0x00, 0xE0] 2024-09-08 20:15:43.815 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 1, Cell No: 4. 3277mV 2024-09-08 20:15:43.815 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x03, 0x0C, 0xD4, 0x0C, 0xD9, 0x0C, 0xD7, 0x00, 0xEE] 2024-09-08 20:15:43.815 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 2, Cell No: 7. 3284mV 2024-09-08 20:15:43.816 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x04, 0x0C, 0xD6, 0x0C, 0xD6, 0x0C, 0xD6, 0x00, 0xED] 2024-09-08 20:15:43.816 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 3, Cell No: 10. 3286mV 2024-09-08 20:15:43.818 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x05, 0x0C, 0xD7, 0x0C, 0xD9, 0x0C, 0xD8, 0x00, 0xF4] 2024-09-08 20:15:43.818 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x05, 0x0C, 0xD7, 0x0C, 0xD9, 0x0C, 0xD8, 0x00, 0xF4] 2024-09-08 20:15:43.818 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 4, Cell No: 13. 3287mV 2024-09-08 20:15:43.820 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x06, 0x0C, 0x73, 0x0C, 0xD9, 0x0C, 0xD8, 0x00, 0x91] 2024-09-08 20:15:43.820 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x06, 0x0C, 0x73, 0x0C, 0xD9, 0x0C, 0xD8, 0x00, 0x91] 2024-09-08 20:15:43.820 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 5, Cell No: 16. 3187mV 2024-09-08 20:15:43.822 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x95 to BMS 1 successfully sent and received! 2024-09-08 20:15:43.860 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:43.861 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.862 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x96] 2024-09-08 20:15:43.863 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:43.864 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:43.865 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x47] 2024-09-08 20:15:43.866 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x46] 2024-09-08 20:15:43.867 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.868 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:43.869 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:43.870 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD8] 2024-09-08 20:15:43.871 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:43.872 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x9B] 2024-09-08 20:15:43.948 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x96, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x83] 2024-09-08 20:15:44.041 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x96, 0x08, 0x01, 0x47, 0x46, 0x0C, 0xD9, 0x0C, 0xD8, 0x00, 0x9B] 2024-09-08 20:15:44.041 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x96, 0x08, 0x01, 0x47, 0x46, 0x0C, 0xD9, 0x0C, 0xD8, 0x00, 0x9B] 2024-09-08 20:15:44.042 | INFO | Thread-2 | n.DalyMessageHandler:327 | BMS #1, Frame No.: 1, Sensor No: 1. 31�C 2024-09-08 20:15:44.080 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:44.081 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:44.082 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x97] 2024-09-08 20:15:44.083 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:44.084 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.085 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.086 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.087 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.088 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.089 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.090 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.091 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.092 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x45] 2024-09-08 20:15:44.172 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x84] 2024-09-08 20:15:44.265 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45] 2024-09-08 20:15:44.265 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x97, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x45] 2024-09-08 20:15:44.265 | INFO | Thread-2 | n.DalyMessageHandler:378 | BMS #1, Cell Balance State: 2024-09-08 20:15:44.304 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:44.305 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:44.306 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x98] 2024-09-08 20:15:44.307 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:44.308 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.309 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.310 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.311 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.312 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.313 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.314 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.315 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:44.316 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x46] 2024-09-08 20:15:44.392 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85] 2024-09-08 20:15:44.485 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46] 2024-09-08 20:15:44.485 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x98, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46] 2024-09-08 20:15:44.485 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x98 to BMS 1 successfully sent and received! 2024-09-08 20:15:44.486 | INFO | Thread-2 | verter.BmsToInverter:390 | BMS alarms: 2024-09-08 20:15:44.724 | INFO | Thread-5 | InverterCANProcessor:66 | Sending SMA frame: Batt(V)=52.4, Batt(A)=-5.7, SOC=51.1 2024-09-08 20:15:44.726 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:44.726 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:44.726 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:44.727 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xC7, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:44.727 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0xC7, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:44.727 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:44.727 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:45.486 | INFO | Thread-2 | verter.BmsToInverter:268 | Reading BMS #1 DALY_RS485 on ttyS0... 2024-09-08 20:15:45.526 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:45.527 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:45.528 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x90] 2024-09-08 20:15:45.529 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:45.530 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:45.531 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:45.532 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:45.533 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:45.534 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x74] 2024-09-08 20:15:45.535 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x9A] 2024-09-08 20:15:45.536 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:45.537 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:45.538 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x5C] 2024-09-08 20:15:45.616 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x90, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7D] 2024-09-08 20:15:45.709 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x90, 0x08, 0x02, 0x0C, 0x00, 0x00, 0x74, 0x9A, 0x02, 0x00, 0x5C] 2024-09-08 20:15:45.709 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x90, 0x08, 0x02, 0x0C, 0x00, 0x00, 0x74, 0x9A, 0x02, 0x00, 0x5C] 2024-09-08 20:15:45.709 | INFO | Thread-2 | n.DalyMessageHandler:164 | BMS #1: 52.4V, -15.0A, 51.2SOC 2024-09-08 20:15:45.728 | INFO | Thread-5 | verter.BmsToInverter:294 | Sending to inverter SMA_SI_CAN on can0... 2024-09-08 20:15:45.728 | INFO | Thread-5 | InverterCANProcessor:66 | Sending SMA frame: Batt(V)=52.4, Batt(A)=-15.0, SOC=51.1 2024-09-08 20:15:45.729 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:45.729 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:45.729 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:45.730 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0x6A, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:45.730 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0x6A, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:45.730 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:45.730 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:45.748 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:45.749 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:45.750 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x91] 2024-09-08 20:15:45.751 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:45.752 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:45.753 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:45.754 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0E] 2024-09-08 20:15:45.755 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:45.756 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x74] 2024-09-08 20:15:45.757 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-09-08 20:15:45.758 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:45.759 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:45.760 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xC4] 2024-09-08 20:15:45.836 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x91, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7E] 2024-09-08 20:15:45.929 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x91, 0x08, 0x0C, 0xD9, 0x0E, 0x0C, 0x74, 0x10, 0x02, 0x00, 0xC4] 2024-09-08 20:15:45.930 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x91, 0x08, 0x0C, 0xD9, 0x0E, 0x0C, 0x74, 0x10, 0x02, 0x00, 0xC4] 2024-09-08 20:15:45.930 | INFO | Thread-2 | n.DalyMessageHandler:184 | Battery 2 Min/Max/Diff: 2024-09-08 20:15:45.968 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:45.969 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:45.970 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x92] 2024-09-08 20:15:45.971 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:45.972 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x47] 2024-09-08 20:15:45.973 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:45.974 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x46] 2024-09-08 20:15:45.975 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:45.976 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x74] 2024-09-08 20:15:45.977 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-09-08 20:15:45.978 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:45.979 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:45.980 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x56] 2024-09-08 20:15:46.060 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x92, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7F] 2024-09-08 20:15:46.153 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x92, 0x08, 0x47, 0x01, 0x46, 0x02, 0x74, 0x10, 0x02, 0x00, 0x56] 2024-09-08 20:15:46.154 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x92, 0x08, 0x47, 0x01, 0x46, 0x02, 0x74, 0x10, 0x02, 0x00, 0x56] 2024-09-08 20:15:46.154 | INFO | Thread-2 | n.DalyMessageHandler:204 | Battery 2 Temperature: 2024-09-08 20:15:46.194 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:46.195 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.196 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x93] 2024-09-08 20:15:46.197 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:46.198 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:46.199 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.200 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.201 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x98] 2024-09-08 20:15:46.202 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.203 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:46.204 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x58] 2024-09-08 20:15:46.205 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.206 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x37] 2024-09-08 20:15:46.284 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x93, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80] 2024-09-08 20:15:46.377 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x93, 0x08, 0x02, 0x01, 0x01, 0x98, 0x00, 0x02, 0x58, 0x00, 0x37] 2024-09-08 20:15:46.378 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x93, 0x08, 0x02, 0x01, 0x01, 0x98, 0x00, 0x02, 0x58, 0x00, 0x37] 2024-09-08 20:15:46.378 | INFO | Thread-2 | n.DalyMessageHandler:241 | Battery 2 Dis-/Charge data: 2024-09-08 20:15:46.418 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:46.419 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.420 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x94] 2024-09-08 20:15:46.421 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:46.422 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x10] 2024-09-08 20:15:46.423 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:46.424 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.425 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.426 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.427 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.428 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x18] 2024-09-08 20:15:46.429 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.430 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x6C] 2024-09-08 20:15:46.508 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x94, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81] 2024-09-08 20:15:46.601 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x94, 0x08, 0x10, 0x02, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x6C] 2024-09-08 20:15:46.602 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x94, 0x08, 0x10, 0x02, 0x00, 0x00, 0x00, 0x00, 0x18, 0x00, 0x6C] 2024-09-08 20:15:46.602 | WARN | Thread-2 | alyBmsRS485Processor:150 | Command 0x94 to BMS 1 successfully sent and received! 2024-09-08 20:15:46.640 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:46.641 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.642 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:46.643 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:46.644 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.645 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.646 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD5] 2024-09-08 20:15:46.647 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.648 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD8] 2024-09-08 20:15:46.649 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.650 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD8] 2024-09-08 20:15:46.651 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.652 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xED] 2024-09-08 20:15:46.657 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:46.659 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.660 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:46.661 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:46.662 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x02] 2024-09-08 20:15:46.663 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.664 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD3] 2024-09-08 20:15:46.665 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.666 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:46.667 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.668 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD4] 2024-09-08 20:15:46.669 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.670 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xE7] 2024-09-08 20:15:46.675 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:46.677 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.678 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:46.679 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:46.680 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x03] 2024-09-08 20:15:46.681 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.682 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD3] 2024-09-08 20:15:46.683 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.684 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:46.685 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.686 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:46.687 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.688 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xEB] 2024-09-08 20:15:46.694 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:46.695 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.696 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:46.697 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:46.698 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x04] 2024-09-08 20:15:46.699 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.700 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD8] 2024-09-08 20:15:46.701 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.702 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD9] 2024-09-08 20:15:46.703 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.704 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD5] 2024-09-08 20:15:46.705 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.706 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF1] 2024-09-08 20:15:46.711 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:46.712 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.714 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:46.715 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:46.716 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x05] 2024-09-08 20:15:46.717 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.718 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:46.719 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.720 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:46.721 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.722 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD6] 2024-09-08 20:15:46.723 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.724 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xF0] 2024-09-08 20:15:46.730 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xA5] 2024-09-08 20:15:46.731 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x01] 2024-09-08 20:15:46.731 | INFO | Thread-5 | verter.BmsToInverter:294 | Sending to inverter SMA_SI_CAN on can0... 2024-09-08 20:15:46.731 | INFO | Thread-5 | InverterCANProcessor:66 | Sending SMA frame: Batt(V)=52.4, Batt(A)=-15.0, SOC=51.1 2024-09-08 20:15:46.732 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x95] 2024-09-08 20:15:46.732 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x51, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x40, 0x02, 0xA0, 0xF6, 0xA0, 0xF6, 0x78, 0x01] 2024-09-08 20:15:46.732 | DEBUG | Thread-2 | alyBmsRS485Processor:67 | SEND: Buffer (HEX): [0xA5, 0x40, 0x95, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x82] 2024-09-08 20:15:46.732 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:46.733 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x55, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x33, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:46.733 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x08] 2024-09-08 20:15:46.733 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0x6A, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:46.733 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x56, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x78, 0x14, 0x6A, 0xFF, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:46.733 | DEBUG | Thread-5 | verter.core.Inverter:173 | Inverter send: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:46.734 | DEBUG | Thread-5 | ocol.can.JavaCANPort:113 | CAN frame sending: Buffer (HEX): [0x59, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] 2024-09-08 20:15:46.734 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x06] 2024-09-08 20:15:46.735 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.736 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x74] 2024-09-08 20:15:46.737 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.738 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD7] 2024-09-08 20:15:46.739 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x0C] 2024-09-08 20:15:46.740 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0xD6] 2024-09-08 20:15:46.741 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x00] 2024-09-08 20:15:46.742 | DEBUG | Thread-4 | s485.JSerialCommPort:200 | Received: Buffer (HEX): [0x8E] 2024-09-08 20:15:46.825 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x01, 0x0C, 0xD5, 0x0C, 0xD8, 0x0C, 0xD8, 0x00, 0xED] 2024-09-08 20:15:46.825 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x01, 0x0C, 0xD5, 0x0C, 0xD8, 0x0C, 0xD8, 0x00, 0xED] 2024-09-08 20:15:46.825 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 0, Cell No: 1. 3285mV 2024-09-08 20:15:46.826 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x02, 0x0C, 0xD3, 0x0C, 0xD7, 0x0C, 0xD4, 0x00, 0xE7] 2024-09-08 20:15:46.826 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 1, Cell No: 4. 3283mV 2024-09-08 20:15:46.827 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x03, 0x0C, 0xD3, 0x0C, 0xD7, 0x0C, 0xD7, 0x00, 0xEB] 2024-09-08 20:15:46.827 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 2, Cell No: 7. 3283mV 2024-09-08 20:15:46.827 | DEBUG | Thread-2 | alyBmsRS485Processor:85 | RECEIVED: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x04, 0x0C, 0xD8, 0x0C, 0xD9, 0x0C, 0xD5, 0x00, 0xF1] 2024-09-08 20:15:46.827 | DEBUG | Thread-2 | n.DalyMessageHandler:289 | BMS #1, Frame No.: 3, Cell No: 10. 3288mV 2024-09-08 20:15:46.828 | DEBUG | Thread-2 | s485.JSerialCommPort:149 | Next frame: Buffer (HEX): [0xA5, 0x01, 0x95, 0x08, 0x05, 0x0C, 0xD |
In an above comment I posted a good chunk of a log. Aside from a HEX [null] in the logs every now and then, I don't see any indicator what's causing my problem. Every time I try to connect the rPi to the ComSyncIn port, nothing happens, and after 60 seconds I get ExtBMSTimeout error. I've done the following: Tested continuity from the CAN H,L wires coming from the rPi to the RJ45 that plugs into the inverter. Tried flipping H and L. Tried instead using the SYNC_H and SYNC_L pins on the RJ45 that connects to the inverter. I completely deleted all of the files in my configurator folder, then I redownloaded the jar and set it up as a fresh install. I also connected the can0 ouput on the rPi to a can tool that I use to read can data for fortress batteries on my laptop. I was able to verify that it is sending can data and was able to send from the rPi and receive on my laptop, although I cannot see what the data it's sending says. I've also updated to the latest firmware on the Sunny Island inverter. |
Hi! I love what you’ve got going here. I recently built a battery pack with three Daly BMS and I am attempting to establish EXTBMS comms with SMA.
I saw your post on a forum and I have some rPi 4b’s laying around. I’m a novice in programming and raspbian. The most I’ve done on a rPi is emulation and tweak config files.
I’m also new to GitHub and I’m not even sure if this is where I post this kind of stuff.
Anyways, I’m looking for some dumbed down guidance on creating this tool. I’ll gladly support this project and I’ll send more to keep this project going and for your time.
Thanks!
The text was updated successfully, but these errors were encountered: