Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Hi Guest this is an announcement for guests !!!

Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Launch of the JK-BMS RS485 add-on for Home Assistant
#16
Hello!
I'm trying to set it up with an Elfin IP Gateway and I cannot get it to work.
I am confident the Elfin is connected to the JK BMS (PB2A16S30P v19) and working properly, because this alternative project (https://github.com/luisgonzalezgonzalez/jkbms_mqtt) is successfully pulling the data from the Elfin (this is coming in from this alternative tool).
I wish to use your tool because I am going to have 4 parallel batteries soon with a master/slave.

{"battery_voltage": 53.753, "battery_power": 1433.369, "battery_current": 26.8, "cell_00_voltage": 3.36, "cell_01_voltage": 3.36, "cell_02_voltage": 3.357, "cell_03_voltage": 3.358, "cell_04_voltage": 3.361, "cell_05_voltage": 3.361, "cell_06_voltage": 3.362, "cell_07_voltage": 3.362, "cell_08_voltage": 3.363, "cell_09_voltage": 3.36, "cell_10_voltage": 3.36, "cell_11_voltage": 3.358, "cell_12_voltage": 3.36, "cell_13_voltage": 3.358, "cell_14_voltage": 3.36, "cell_15_voltage": 3.36, "mos_temperature": 29.6, "battery_temperature_1": 30.3, "battery_temperature_2": 30.8, "balance_current": 0, "battery_soc": 72}


My configuration file is:

jkbms_path: 192.168.1.93:502
jkbms_count: 1
use_gateway: true
gateway_ip_port: 192.168.1.93:502
communication_debug: true
bms_broadcasting: false
CAN_bus_usage: false
mqttadresse_port: 192.168.1.96:1883
mqttuser: mqtt
mqttpass: ######

The log is:

14 Nov 14:46:24 - [info] Node-RED version: v4.1.1
14 Nov 14:46:24 - [info] Node.js version: v22.16.0
14 Nov 14:46:24 - [info] Linux 6.12.51-haos x64 LE
14 Nov 14:46:25 - [info] Loading palette nodes
14 Nov 14:46:29 - [info] Settings file : /etc/node-red/config.js
14 Nov 14:46:29 - [info] Context store : 'default' [module=localfilesystem]
14 Nov 14:46:30 - [info] User directory : /config/smartphoton_jkbms/
14 Nov 14:46:30 - [warn] Projects disabled : editorTheme.projects.enabled=false
14 Nov 14:46:30 - [info] Flows file : /config/smartphoton_jkbms/flows.json
14 Nov 14:46:30 - [warn] Encrypted credentials not found
14 Nov 14:46:30 - [info] Server now running at http://127.0.0.1:1891/
14 Nov 14:46:30 - [info] Starting flows
14 Nov 14:46:30 - [info] Started flows
14 Nov 14:46:30 - [error] [serialconfig:6e1abcbcc6ebb714] serial port /dev/JKBMS-Fake error: Error: Error: No such file or directory, cannot open /dev/JKBMS-Fake
14 Nov 14:46:30 - [info] [mqtt-broker:56f7b2737cce493b] Connection failed to broker: mqtt://core-mosquitto.local.hass.io:1883
14 Nov 14:46:31 - [info] [function:traitement des variables] Champ 'gateway_ip_port' traité: 192.168.1.93:502
14 Nov 14:46:31 - [info] [function:traitement des variables] Champ 'mqttadresse_port' traité: 192.168.1.96:1883
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'path' = 192.168.1.93:502
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'nb_jkbms' = 1
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'use_gateway' = true
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'gateway_ip' = 192.168.1.93
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'gateway_port' = 502
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'communication_debug' = true
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'bms_broadcasting' = false
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'CAN_bus_usage' = false
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'mqttadresse' = 192.168.1.96
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'mqttport' = 1883
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'mqttuser' = mqtt
14 Nov 14:46:31 - [info] [function:traitement des variables] Variable globale 'mqttpass' = •••••••••
14 Nov 14:46:35 - [info] [mqtt-broker:56f7b2737cce493b] Connected to broker: mqtt://192.168.1.96:1883
Like Répondre


Messages dans ce sujet
RE: Launch of the JK-BMS RS485 add-on for Home Assistant - par thorium - 14-11-2025, 10:53 PM

Sujets apparemment similaires…
Sujet Auteur Réponses Affichages Dernier message
  Lancement du module complémentaire JK-BMS RS485 pour Home Assistant jlm 55 60,224 04-01-2026, 02:37 PM
Dernier message: jlm
  Annonces sur les mises à jour de versions du module jkbms-rs485-addon jlm 4 6,602 16-09-2025, 01:01 PM
Dernier message: jlm

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
[-]
discussions récentes
Launch of the JK-BMS RS485 ad...
thanks that all worked , i w...jlm — 01:58 PM
Launch of the JK-BMS RS485 ad...
thanks that all worked , i wen...fandtm666 — 01:52 PM
Launch of the JK-BMS RS485 ad...
I hfound you app and managed...jlm — 12:10 PM
Launch of the JK-BMS RS485 ad...
I hfound you app and managed t...fandtm666 — 11:46 AM
Optimisation énergétique et e...
Salut !  C'est une réflexion ...eden12 — 06:09 PM
Issues with Premium Dashboard ...
I had installed successfully t...Smokin'Joe — 05:15 PM
Launch of the JK-BMS RS485 ad...
sent you 2 emails now - can yo...Smokin'Joe — 06:22 PM
Launch of the JK-BMS RS485 ad...
no worries - these things happ...Smokin'Joe — 02:54 PM
Launch of the JK-BMS RS485 ad...
I haven't received anything in...jlm — 01:56 PM
Launch of the JK-BMS RS485 ad...
I sent you an email with the i...Smokin'Joe — 01:03 PM
Launch of the JK-BMS RS485 ad...
Never used Ko-fi but I am su...jlm — 10:14 PM

[-]
Rechercher








(Advanced Search)

[-]
Who's Online
There are currently no members online.

[-]
goals
79% of the way to our goal of 10,000 posts!
Only 2,096 posts left to go!

[-]
Statistics
» Members: 1,064
» Latest member: fandtm666
» Forum threads: 876
» Forum posts: 7,904

Full Statistics

[-]
Latest Threads
Launch of the JK-BMS RS485 add-on for Ho...
Last Post: jlm
19-08-2026 01:58 PM
» Replies: 52
» Views: 48267
Optimisation énergétique et et protectio...
Last Post: eden12
12-08-2026 06:09 PM
» Replies: 2
» Views: 1018
Issues with Premium Dashboard - Solved
Last Post: Smokin'Joe
07-08-2026 05:15 PM
» Replies: 0
» Views: 205
Comparaison de cartes eSIM mondiales pou...
Last Post: jlm
30-07-2026 09:17 AM
» Replies: 1
» Views: 644
Présentation Kreg
Last Post: jlm
30-07-2026 09:12 AM
» Replies: 1
» Views: 674
Double MPTT
Last Post: Sylvain
25-07-2026 03:07 PM
» Replies: 33
» Views: 29587
Voici une toute nouvelle version de Smar...
Last Post: Tapion
23-07-2026 09:12 PM
» Replies: 74
» Views: 57499
Matériel Compatible addon
Last Post: STF
19-07-2026 04:08 PM
» Replies: 16
» Views: 16685
Présentation
Last Post: eden12
14-07-2026 11:44 AM
» Replies: 1
» Views: 1537
Présentation Harrys
Last Post: eden12
11-07-2026 12:36 PM
» Replies: 1
» Views: 1553

>