Replies: 38 comments 20 replies
-
Hi, There are some interesting points like that of temperature, I'm about to add an "Alarms Logic" section. I have a lot of requests for improvement and some will not suit everyone. I note your requests. |
Beta Was this translation helpful? Give feedback.
-
Hello, @ Sleeper85 Congratulation for the nice project you have done What is you oppinion about this? |
Beta Was this translation helpful? Give feedback.
-
I have already added an "Alarms Logic" section to address the @arzaman and @hxx balancing problem. I'm going to add temperature control to it. Thus, this section will aim to detect problems before the BMS cut-off which will prevent it from working its MOSFETs to cut a lot of amps. Here's what will be part of version 1.16.5 :
This could be based on information from the BMS or values in the script. I can take advantage of this to add some of your requests such as the temperature sent (min or max) or a new slider for the discharge current. But some of your requests are special and may not suit everyone. FYI: I'm preparing for a long 4 month trip, version 1.16.5 will be the last one I can test before leaving. |
Beta Was this translation helpful? Give feedback.
-
Didnt read all about the problems from arzaman and hxx but could imagine what problems they have and the solution sounds good. i also understand if some requests will not suite to everyone - i´ll try to implement them for personal needs then if i´m able to. I wish you a wonderful time on the trip |
Beta Was this translation helpful? Give feedback.
-
High temperature control (45°C) => stop charging and discharging, i believe is temperature of the cells measured by the two external probes, as the mosfets are not "suffering" by working at 45°C. Some question:
P.S. The inverter i have is a Deye sun 12k-sg04lp3-eu. I have seen that is already in the confirmed working inverters, but i can reconfirms that is working fine ESP32 and TJA1050. For power the ESP i have use 12V that inverter provide on CN2 pins 7, 8 and a stepdown converter. Maybe for Deye owners my be useful info spare using a 48-5V Power supply. |
Beta Was this translation helpful? Give feedback.
-
@virus100b Good point on the High temperature control But i don´t get the point of limiting the current if SoC<15%
The transistors which control the charging and discharging function of the BMS are commonly called "MOS Tubes"
these settings are only available on the JK Inverter BMS i think - but i might be wrong...there are so many different Hardware and Software Versions out there |
Beta Was this translation helpful? Give feedback.
-
@octane321 The temperature sent with ID 0x356 has an informative role. There are other parts in the code where the minimum or maximum temperature is communicated or used. So I opted to simply send the average temperature. @virus100b I added the "Discharging current max" slider. Compiled at home but haven't had time to do all the tests yet. V1.16.5 Sleeper85 : Add Preventive Alarms Logic with Balancing function, CAN ID 0x356: send average temperature of T1/T2, new "Discharging current max" slider |
Beta Was this translation helpful? Give feedback.
-
Hello, @Sleeper85 Thanks for new version, if i have time i will try it today. Enjoy and good luck in your trip! @octane321 "But i don´t get the point of limiting the current if SoC<15%. I think the idea for limiting the current close to end of the capacity is because on high loads the cell voltage drops and you may switch off the discarding before reaching desired discharge capacity. On the charging the current is limiting itself because of constant voltage charging and i see no point limiting unless poorly setup BMS command the inverter a higher voltage (or a fault in inverter) and then the current is obviously high. |
Beta Was this translation helpful? Give feedback.
-
Here is the latest version (beta) with the changelog. If you have time to test it, I would like to have your feedback before publishing it on GitHub. Thanks |
Beta Was this translation helpful? Give feedback.
-
I see that balancing current entity is missing from the wired version. BMS is not exposing that parameter on 485 port? |
Beta Was this translation helpful? Give feedback.
-
Exactly, there are differences between the information available from BLE
and Wire.
|
Beta Was this translation helpful? Give feedback.
-
Has anyone tested the code with ESP32 C3 board? I have readed that on S2 CAN is not working. How about C3? |
Beta Was this translation helpful? Give feedback.
-
S2 will not work. The ESPRESSIF docs explicitly state that it lacks support for TWAI (CAN). |
Beta Was this translation helpful? Give feedback.
-
Atom ESP32-S3 work. |
Beta Was this translation helpful? Give feedback.
-
Hi @Sleeper85 , Just spent the last couple of days to build an add-on with addressable lights to show the status and SoC - but more on that if its completely done. Have you already left? I wish you a great time on your trip |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Now is working. I just reduce the bulk voltage to force discharge and then raised to 55.2 and is working. I think is not related to esp. May be BMS was blocked some how. Strange. |
Beta Was this translation helpful? Give feedback.
-
Balancing status is purely informative. The most important feature for those with an unbalanced battery is the Auto Charge/Discharge Current Control feature. See @MrPabloUK's comment on the subject below: https://diysolarforum.com/threads/jk-bms-can-with-new-cut-off-charging-logic-open-source.79325/ |
Beta Was this translation helpful? Give feedback.
-
installed it too and working perfectly fine. what do you think? |
Beta Was this translation helpful? Give feedback.
-
For the charge to complete, the 3 conditions below must be met.
The Float status will not be replaced by Balancing. |
Beta Was this translation helpful? Give feedback.
-
@Sleeper85 Hello! I hope you are doing well on your trip. |
Beta Was this translation helpful? Give feedback.
-
Two days ago i have switched Off BMS for rearranging position, i disconnect the ESP from GPS port but i did not switched off. After i connect ESP and started BMS all worked fine. Next day i have observed that Daily charge and discharged energy was not reseted. I was expecting to be reseted today but unfortunately still going up. Today have rebooted ESP and hopefully this will solve the issue. |
Beta Was this translation helpful? Give feedback.
-
@Sleeper85 Thank you for info. All the best! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
What is the version of JK-BMS-CAN or YamBMS? Can you send the |
Beta Was this translation helpful? Give feedback.
-
I also notice that you are using the So you can also test the behavior of the current ESP32 firmware by disabling the You can also install YamBMS 1.4.2 which contains many improvements over JK-BMS-CAN 1.17.5, also works with a single BMS. |
Beta Was this translation helpful? Give feedback.
-
The graph you just sent does not show what is happening on August 2nd from 11:00 to 14:00. |
Beta Was this translation helpful? Give feedback.
-
@virus100b Do you remember what JK-BMS-CAN version was flashed on this ESP32 ? We can see that the max charge voltage requested is 55.3V which rules out a problem coming from the ESP32. This reminds me of this problem with Deye. @pentierazvanionut What is the exact model, HMI and MAIN version of your Deye ? What do you do when your solar production exceeds the load and the battery is full ? How is your Deye configured ? In % mode what are your Float/Absorption/Equalization charge voltages ? I know that the Deye inverter does not always respect the requested charging voltage depending on how it is configured, connected or not to the GRID network, exporting or not excess energy. |
Beta Was this translation helpful? Give feedback.
-
Good news! Issue was Max Solar Power being set to 11.000W when the total PV power was little over 11000W. Value was set to 12.000 and the issue magically dissappear. Fo me this setting don't make sende since the production was not over 11kW when the fluctuations occured. But i want to share our experiences and hope to help others if they have similar issues. The firmware was updated by Deye support to last version but this did not solve the fluctuation issue until we have notice and change Max solar power from 11000 to 12000. Later on we have change this value to 13500 just for safety. Inverter is working fine for 2 days now. After bulk charge finish, charge voltage is going to float making a flat line of 53.6V. |
Beta Was this translation helpful? Give feedback.
-
Cool thanks for sharing the solution with others, I'll keep that in mind. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
works great so far - i have some improvements requests
what are your thoughts about that?
THX
Beta Was this translation helpful? Give feedback.
All reactions