diy solar

diy solar

JK-BMS-CAN with new Cut-Off Charging Logic (open-source)

There should be no limit for a multi-bms bms Master Slaves version. (still needs to be developed).

I ask the question because if you wish you could test the multi-bms version (2x JK-BMS BLE) on the same Atom S3.

The first tests could begin in a few days.
Been away - just got back from holiday....

are we saying multi-BMS yaml code is out?

and for which ESP Atom-Lite or the normal ESP 32 ?
 
Guys - Excuse my ignorance
wanting to flash V1.17.5 from V1.17.5 and I am just finding out a lot of stuff has been placed into variables (this has no manual on use case or how to deploy the codes) well I have managed to input many of the variables into my secret but lost on the below

where it was :
esp32:
board: esp32doit-devkit-v1
framework:
type: esp-idf

is now

esp32:
board: {{board}}
variant: {{variant}}
framework:
type: esp-idf


whilst I know there is a good explanation for this change - I thought this project is aimed to make it user-friendly to dummies who do not know coding, so as many as possible can rip the benefits of the hard work put in, and it's not just for geeks to use.

Anyways it is failing at that line, what am I missing?

1713996478314.png

Can we try and keep the process simplified to avoid chasing others away from this project to other projects...
 
@chaosnature

The multi-bms code (several BMS connected on the same ESP32 as with PVbrain2) will soon be ready to test. I have been very busy on another project in recent weeks and still have to code the multi-bms alarm system.

We haven't changed the part of the code you cite, it's defaulted to esp32doit-devkit-v1 and you need to change it for Atom S3 Lite see the readme and config file below.


This will be simpler in the new packaged version.
 
@chaosnature

The multi-bms code (several BMS connected on the same ESP32 as with PVbrain2) will soon be ready to test. I have been very busy on another project in recent weeks and still have to code the multi-bms alarm system.

We haven't changed the part of the code you cite, it's defaulted to esp32doit-devkit-v1 and you need to change it for Atom S3 Lite see the readme and config file below.


This will be simpler in the new packaged version.
So will this be 2 x ESP32 or batteries will be connected to just one MAster ESP?

Do you have a Diagram for connectivity mapping out the GPIO between them etc?

thanks...
 
'
Anyone know if its possible to store and how to store more than one variable in the secret.yaml

i would like to have all my MAC define in the secrets if so..

thanks
 
Last edited:
Guys - Excuse my ignorance
wanting to flash V1.17.5 from V1.17.5 and I am just finding out a lot of stuff has been placed into variables (this has no manual on use case or how to deploy the codes) well I have managed to input many of the variables into my secret but lost on the below

where it was :


is now




whilst I know there is a good explanation for this change - I thought this project is aimed to make it user-friendly to dummies who do not know coding, so as many as possible can rip the benefits of the hard work put in, and it's not just for geeks to use.

Anyways it is failing at that line, what am I missing?

View attachment 211393

Can we try and keep the process simplified to avoid chasing others away from this project to other projects...


I have documented the process in the below link:

How to Flash Atom S3 with EspHome - HA

I struggled with flashing Esp32 S3 Atom lite with the project I was actively involved for the Rs485/CAN battery Comm conversion unlike fasling Esp32 dev kit chip, its not as straightforward. but i finally found a way around it. 1. Make sure the GPIO is correct or else you will end up with a...
diysolarforum.com
diysolarforum.com

Hope it helps other HA EspHome users.
 
I have documented the process in the below link:

How to Flash Atom S3 with EspHome - HA

I struggled with flashing Esp32 S3 Atom lite with the project I was actively involved for the Rs485/CAN battery Comm conversion unlike fasling Esp32 dev kit chip, its not as straightforward. but i finally found a way around it. 1. Make sure the GPIO is correct or else you will end up with a...
diysolarforum.com
diysolarforum.com

Hope it helps other HA EspHome users.

Thank you for taking the time to document your procedure.
 
Anyone upgrading to core 2024.5.0 or 1 hold off
i think there is a bug
broke my overview and some ESPhome components

1714957349622.png

i am trying to revert back as we speak to 2020.4.4


# Edit - Multiple bug reports

1714959085366.png
 
Last edited:
@Sleeper85

small favour.

Can you write a code and update the yaml to include Screen-Display for the Esp32 S3 model please - when you get the chance?

1715092228154.png1715092287117.png


Would be nice to have a display next to the battery
 
Last edited:
and by the way, I have tested the project with :

# Models - 3kW Hybrid 5G Inverter
(Solis) SOL-3K-RHI-48ES and

# Sofar
HYD 3600-ES (G2)

......on both the Esp32 Atom S3 and Devkit

Atom speed is great - the only pitfall is the flashing process.


you can add it to your log...
 
@Sleeper85

small favour.

Can you write a code and update the yaml to include Screen-Display for the Esp32 S3 model please - when you get the chance?

View attachment 213826View attachment 213828


Would be nice to have a display next to the battery

Not having an Atom S3, I cannot develop or test anything but there is already code available and tested by @arzaman. This will be part of the new packaged version.

 
Ok, so my equipments and batteries have arrived.

I see multibms is being developed but still based on BLE / older BMSes.

Anyway we could implement this on JK Inverter BMSes variants?:

This is the most efficient way to monitor my JK Inverter BMSes so far, only 1 ESP32 for all my 7 packs.

I dont know any coding, but I guess this logic can be used to implement on this project.

I really need your CAN implementation. Builtin CAN of this inverter is fine, but it doesnt have the features I need from your project, especially the offset. I really hate the 0.5V offset of Deye inverters. BMS wont trigger float and never reach absorption stage.

I'm willing to pay.
 
Ok, so my equipments and batteries have arrived.

I see multibms is being developed but still based on BLE / older BMSes.

Anyway we could implement this on JK Inverter BMSes variants?:

This is the most efficient way to monitor my JK Inverter BMSes so far, only 1 ESP32 for all my 7 packs.

I dont know any coding, but I guess this logic can be used to implement on this project.

I really need your CAN implementation. Builtin CAN of this inverter is fine, but it doesnt have the features I need from your project, especially the offset. I really hate the 0.5V offset of Deye inverters. BMS wont trigger float and never reach absorption stage.

I'm willing to pay.

I'm currently working to finalize the multi-bms version with everything connected on a single ESP32.
This is mainly intended for the PVbrain2 card but this should therefore work with 2 or 3 BMS and a classic ESP32 (to be tested).


Thank you for the links, indeed if the project you indicated works well for you then we could use it. You can contact me privately to discuss it.
 
I'm currently working to finalize the multi-bms version with everything connected on a single ESP32.
This is mainly intended for the PVbrain2 card but this should therefore work with 2 or 3 BMS and a classic ESP32 (to be tested).


Thank you for the links, indeed if the project you indicated works well for you then we could use it. You can contact me privately to discuss it.
Sent you DM.

Yes, that project is serving my monitoring thru home assistant very well.

So maybe, datas collected using that project, can be used to implement your CAN project.

Just like the other contributor that uses MQTT instead, but this one Im suggesting is a little bit more efficient in my opinion.
 
Back
Top