esphome-jk-bms icon indicating copy to clipboard operation
esphome-jk-bms copied to clipboard

@txubelaxu Hi! I'm trying to understand your project and if I understood correctly, you connect the inverter to the battery via rs485 via CAN bus and simultaneously receive data from the inverter also via rs485 or is it not quite like that?

Open txubelaxu opened this issue 6 months ago • 8 comments

          @txubelaxu Hi! I'm trying to understand your project and if I understood correctly, you connect the inverter to the battery via rs485 via CAN bus and simultaneously receive data from the inverter also via rs485 or is it not quite like that?

Originally posted by @vpritulin in https://github.com/syssi/esphome-jk-bms/issues/464#issuecomment-2276331029

Hi @vpritulin!!

The project was about to add to "esphome-jk-bms" original project the compatibility of JK-PB via internal RS485 ports. At the beginning, I tried to "listen (only) to" the RS485 network to sniffing information across the network. I got it. But I saw that some information was missing in the network (device info frame type 03 of the JK-BMS that was acting as MASTER 0x00) So, I changed the strategy: I tried ESP32 to acting as MASTER. So, I moved my jk-bms to address 0x01 and 0x02. The state of the project is that I have got READ & WRITE almost all paramethers (missing RCV Time and RFV Time). I have inserted the capacity to "broadcast" to all the BMSs in the RS485 network one setting when you change it. This is a "broadcast" setting that you can dissable in the config, of course.

I prefer RS485 to BT because it uses less resources, BT is free to connect with mobile...

Special mention to "esphome-jk-bms-can" project. Now, in the "development" branch there is an integration to @txubelaxu "esphome-jk-bms" project. So, with this two projects together, yes, we have an ESP32 between the Inverter and BMSs. :-)

Welcome!!

txubelaxu avatar Aug 08 '24 18:08 txubelaxu