Replies: 8 comments 6 replies
-
I see you forked my git, maybe you want to try this JK-BMS-PB-CAN version? Replace the Atom S3 Lite board with your own board. https://github.com/Sleeper85/esphome-jk-bms-can/blob/development/ |
Beta Was this translation helpful? Give feedback.
-
I found the problem, the code below does not work with an jk_rs485_bms:
- id: bms0
rs485_address: 0x00
jk_rs485_sniffer_id: sniffer0
update_interval: 1s |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay, @Sleeper85. I have just tried to compile:
I have got an "error":
|
Beta Was this translation helpful? Give feedback.
-
Sorry again for the delay. I would like to help you to integrate my code into your project and testing my two JK-PB BMSs in a "mode 2" (so, none of the bms is acting as master, so ESP will act as master) I have a problem with my "talk_pin" because I think I am using "binary_output" incorrectly in my code. I have no inverter at this moment. I started my system from the battery. lol. But I would like to use your code in my system. Many thanks!!! |
Beta Was this translation helpful? Give feedback.
-
Hi! I have just changed the namespace of "talk pin". It now compiles OK. My TTL to RS485 converter needs it to "talk" to the network. Some other converters detects automatically. But mine's needs it. I hope to test with my BMSs soon.!! |
Beta Was this translation helpful? Give feedback.
-
Yes, at this moment they are read only.
But the technology allow to change them. Only need development. :-))
El El vie, 14 jun 2024 a las 14:30, virus100b ***@***.***>
escribió:
… I definitely will use mode 2, but new i have just one BMS and is sitting
connected to the battery bank but not connected to the inverter. I will
have another battery and inverter BMS soon and then with both connected in
parallel maybe will work different. Currently I modified the code and
address dipswitch of BMS to 01 and i see some of entities "Unknown" and i
am not able to change the state of control switches but i understand that
they are just "read only" on rs485 wired version.
—
Reply to this email directly, view it on GitHub
<#8 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFHIJMBTRBZUWNRPBRP6CHTZHLO77AVCNFSM6AAAAABH52MKO2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TONZUGI2TO>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Some of the unknown entities was fixed after i have modified in yaml code address for BMS 1 from 00 to 01 and BMS 2 to address 02. Before i had BMS1 set with address 00 and BMS 2 with address 01. The BMS had the dipswitches set to address 01, so the code was not recognizing any BMS with address 00.
|
Beta Was this translation helpful? Give feedback.
-
Hi guys, I just updated my README for the solution with the new JK-BMS PB series and @txubelaxu component. I don't really like the RS485 board used at the moment. A good RS485 board does not need a TALK PIN and is isolated. So I added in the README the RS485 board that we use with the PVbrain2 PCB. @txubelaxu or else, anyone want to test it? (I don't have a new JK-BMS). |
Beta Was this translation helpful? Give feedback.
-
Hi,
First of all, thank you for this new component.
I'm integrating your code with my JK-BMS-CAN project.
The person currently testing the code in development has 7x JK-BMS-PB and was already using your code for BMS supervision only (CAN communication between master-BMS and inverter).
This person would like to use my project, the ESP32 would therefore be the master BMS and will communicate with the BMS on the RS485 bus and with the Deye inverter on canbus.
Your code worked before with a classic 38 pin ESP32 board. The current tests are taking place with an Atom S3 Lite and strange things are happening concerning the "online status" of the BMS and probably also of the other sensors (I'm not onsite and I don't have this new model of BMS for testing).
Watch the video showing the problem
Testing is currently being carried out on a version containing only your component in order to eliminate possible problems coming from my code.
JK-BMS-PB-CAN solution (how everything is connected together)
There is an error in your schematic, TX goes to DI and RX to RO !
Where do you think this problem could come from ?
Do you connect the GND on the RS485 bus side?
Best regards and thanks for your help
Beta Was this translation helpful? Give feedback.
All reactions