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
#17
(14-11-2025, 10:53 PM)thorium a écrit : 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

Bonjour,
Alors vu que tu utilises une passerelle, pas besoin de modifier le  jkbms_pathpar défaut. Mais c'est pas important.
  1. Peux-tu vérifier que tu es bien à la dernière version d'hier v3.3.3 C'est important, car j'ai amené beaucoup de modifications concernant les passerelles IP
  2. Peux-tu installer et utiliser l'application serial wifi terminal pour vérifier qu'il y a bien un dialogue régulier entre le module et la passerelle
  3. Agrandir le buffer dédié dans la configuration du Elfin. Par contre tu ne m'as pas dit si c'est un Elfin EE10 ou EW10
  4. Le debug ne montre rien dans le log ?

Hello,
Since you are using a gateway, there is no need to change the default jkbms_path. But that's not important.
  1. Can you check that you have the latest version from yesterday, v3.3.3? This is important because I have made a lot of changes concerning IP gateways.
  2. Can you install and use the serial wifi terminal application to check that there is regular communication between the module and the gateway?
  3. Enlarge the dedicated buffer in the Elfin configuration. However, you didn't tell me if it's an Elfin EE10 or EW10.
  4. Does debugging show anything in the log?
   
   
Jean-Luc
[-] The following 1 user Likes jlm's post:
  • frajar
Like Répondre


Messages dans ce sujet
RE: Launch of the JK-BMS RS485 add-on for Home Assistant - par jlm - 15-11-2025, 11:01 AM

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

Atteindre :


Utilisateur(s) parcourant ce sujet : 4 visiteur(s)
[-]
discussions récentes
Pochette Switch Personnalisabl...
Acheter son premier accessoire...gestaltenselbstdiy — 03:17 AM
Herren Hemd selbst gestalten: ...
Standardgrößen von der Stange ...gestaltenselbstdiy — 03:04 AM
Install Deye Pylontech chez u...
Hello, Il faudrait que tu j...jlm — 06:24 PM
Install Deye Pylontech chez un...
Salut, Jeudi dernier j'étai...Angelos — 03:15 PM
Intégration SynSynk/DEYE avec...
Mieux ce n'est pas possible.Anna202 — 10:57 AM
Entertainment online platform ...
I was having a chat with my br...ramsaybolt — 01:01 AM
MapleStory Classic World: Plan...
Building a reliable character ...ZeonLau — 09:23 AM
Build a Better NBA 2K27 MyTEAM...
Building a competitive MyTEAM ...ZeonLau — 08:58 AM
MapleStory Classic World Progr...
Progress in MapleStory Classic...ZeonLau — 08:50 AM
Aion 2 Budget Tips Spend Smart...
In Aion 2, steady character de...ZeonLau — 08:36 AM
Online platform with cool bonu...
I was waiting for a friend who...ramsaybolt — 01:47 PM

[-]
Rechercher








(Advanced Search)

[-]
Who's Online
There are currently 409 online users. [Complete List]
» 1 Member(s) | 408 Guest(s)
Avatar

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

[-]
Statistics
» Members: 1,114
» Latest member: ameliajordon
» Forum threads: 903
» Forum posts: 7,957

Full Statistics

[-]
Latest Threads
Pochette Switch Personnalisable : Guide ...
Last Post: gestaltenselbstdiy
Hier 03:17 AM
» Replies: 0
» Views: 41
Herren Hemd selbst gestalten: Stil & Pas...
Last Post: gestaltenselbstdiy
Hier 03:04 AM
» Replies: 0
» Views: 45
Install Deye Pylontech chez un client, e...
Last Post: jlm
27-10-2026 06:24 PM
» Replies: 1
» Views: 124
Intégration SynSynk/DEYE avec HA ou ...
Last Post: Anna202
20-10-2026 10:57 AM
» Replies: 15
» Views: 23409
Entertainment online platform in your fr...
Last Post: ramsaybolt
19-10-2026 01:01 AM
» Replies: 0
» Views: 244
MapleStory Classic World: Plan Gear Upgr...
Last Post: ZeonLau
17-10-2026 09:23 AM
» Replies: 0
» Views: 329
Build a Better NBA 2K27 MyTEAM With U4GM
Last Post: ZeonLau
17-10-2026 08:58 AM
» Replies: 0
» Views: 283
MapleStory Classic World Progress Tips F...
Last Post: ZeonLau
17-10-2026 08:50 AM
» Replies: 0
» Views: 271
Aion 2 Budget Tips Spend Smarter With U4...
Last Post: ZeonLau
17-10-2026 08:36 AM
» Replies: 0
» Views: 279
Online platform with cool bonuses
Last Post: ramsaybolt
16-10-2026 01:47 PM
» Replies: 0
» Views: 280

>