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

Hello,

I've written an open source program that lets you read and write parameters for BMS from the JKong company, often referred to as jkbms or jk-bms.
You can find it on Github here
There is also a topic on my forum

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 :musical_score:

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





4 BMS:

Video:

I forgot to mention that there's also an explanatory video if you need it (in French though, sorry).

4 Likes