# Manage your jk-bms (1 to 15) with wired rs485 or with an Ip Gateway

**URL:** <https://discourse.nodered.org/t/manage-your-jk-bms-1-to-15-with-wired-rs485-or-with-an-ip-gateway/97859>\
**Category:** Share Your Projects\
**Tags:** home-assistant\
**Created:** [29 June 2025 07:02 UTC](https://discourse.nodered.org/t/manage-your-jk-bms-1-to-15-with-wired-rs485-or-with-an-ip-gateway/97859 "2025-06-29T07:02:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jean-Luc](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jean-luc/32/89996_2.png) [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Post date:** [29 June 2025 07:02 UTC](https://discourse.nodered.org/t/manage-your-jk-bms-1-to-15-with-wired-rs485-or-with-an-ip-gateway/97859/1 "2025-06-29T07:02:07Z")

</div>

Hello,

I've written an open source program that lets you read and write parameters for BMS from the [JKong](https://www.jkbms.com/products/active-balancer-bms/) company, often referred to as **jkbms** or **jk-bms**.  
You can find it on Github [here](https://github.com/jean-luc1203/jkbms-rs485-addon)  
There is also a topic on my [forum](https://domosimple.eu/forum/thread-917.html)

The kernel is written in flows node red, and runs on home assistant.  
To facilitate installation in Home assistant, I've created an _add-on module_.

Connection with the BMS(s) is via rs485 in modbus protocol.  
An RS485 / Ip gateway can also be used. Simply set it up in the module configuration.  
**Up to 15 bms** can be read / write via a single port.  
You can modify the various parameters, but this is still in the experimental phase.

Data retrieved by the flows are **sent to an mqtt broker**. This makes it possible to communicate with domotics other than HA. For example, jeedom.

All dashboard management, automation and logging is done in Home assistant.

**A bit of background:**

A few years ago I started with node red, and it was a revelation.  
Not being a programmer, I was able to realize it with this wonderful software and I was able to create a hybrid inverter management software as well as lithium battery management pylontech style.  
Named smartphoton.  
Then I discovered home assistant, which meant I didn't have to reinvent the wheel with things I'd already done.  
These 2 tools are very complementary and I use them together on a daily basis.  
The integration of node red into HAOS is perfect in my eyes.  
What one can't do with the other, the other can. In short, the magic couple for me.

To a lesser extent, I'd add grafana and influxdb, and that's the winning stack 🎼

I'd like **to thank once again the initiators of node red, as well as this forum** populated by kind-hearted people always ready to help.

_Screenshots_

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/d/5d4a8dbb9faf480e3414c65fc43228d152033e7a.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/c/4c654b77b91bdd2f8729c6a2a633db80518db335.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/5/a5a7a31ac498e0d48c41236623927c1332401e85.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/a/1abb653e25cf7c1aad16993d2f4fa5d13575dca6.png)  
**4 BMS:**  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/3/b37a1494a870c2f28beb0ac09719da6ac1a9b8ca.png)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/f/df809be42f16e948e0b2b79e9dc83d6a75bd1bc3.png)

**Video:**

I forgot to mention that there's also an explanatory [video](https://youtu.be/oNyBgNNud1A?si=8F1HLUHz24-HLG1c) if you need it (in French though, sorry).
