Can anyone to tell me the steps? Thank you! May 21, 2022 · I post here my WORKING Jk_Bms Ble connection with ESP-32 for all who need: Must compile with: framework: type: esp-idf version: latest. 1 I am lost trying to connect via bluetooth. Didn't work with the default pins GPIO1 and GPIO3, I guess those pins conflicted with the integr Contribute to TempAB/JK-BMS-EspHome2 development by creating an account on GitHub. The voltage shift (0V/3V to -12V/+12V or -7V/+12V) happens here. Waiting for my inverter to verify CAN and later rs485, but wondering if need it while bluetooth works ok. Some ideas: Try to reduce the cable length between the ESP and the BMS. If we change the value from 0x03 to 0x02 we simulate a communication between the BMS and a GPS device. 1. - GitHub - shvmm/jk-esp32: Polished ESP32 web server for JK-BMS using UART-TTL instead of BLE. esphome-jk-bms-can. # If you don't use Home Assistant please remove this `api` section and uncomment the `mqtt` component! All JK-BMS models with software version >=6. Hi @syssi , after starting the BMS without connecting the Bluetooth module, I tested all functions, and everything is working fine. Beeping is a good sign! The ESP is able to talk to the BMS and the log should show some traffic already. 2v @3. 3 Sleeper85 : Renumbering cells, Added “BMS Charging”, “BMS Discharging” and “JK-BMS ESP32 Restart” switches, adding Total Daily Energy sensors, set jk_bms update interval to 3s, set default log level to INFO, improvement of comments; V1. Author. esphome-jk-bms" version: 1. 20G) and ESP8266, problems with ESP32 I got it working with a Wemos D1 mini, had to change serial pins to GPIO15 (tx) and GPIO13 (rx). If the status LED of the BMS blinks: No BLE connection established. xw, sw 11. I switch esps modules with others that I have around the house and they work but the one containing esphome-jk-bms code will go offline. Esp32-Heltec-Balancer. Code dump for ESP32 monitoring a JK-BMS over Bluetooth, Steca Solarix PLI over RS232, and a bistable relay control Note Pylontech uses 15s/48v Goodwe uses 16s/51. esp32-wroom-32u substitutions: name: esphome-jkbms device_description: "Monitor a JK-BMS via UART-TTL" external_components_sou ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms Contribute to TempAB/Tx-esphome-jk-bms development by creating an account on GitHub. 3V TTL so it can be directly connected to the ESP32. - theres no need to connect the uart rx and tx pins to the esp32 when connecting via b Contribute to TempAB/JK-BMS-EspHome2 development by creating an account on GitHub. Contribute to TempAB/JK-BMS-EspHome2 development by creating an account on GitHub. It helps You to maximize the usage of self generated solar power. About. UPDATE 25/01/2023. 3V: ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms ESPHome component to monitor a Jikong Battery Management System (JK-BMS) via RS485 or BLE Supported devices All JK-BMS models with software version >=6. AT commands are only used to configure the Bluetooth module. Ich habe das jk-BMS: JK-B1A20S15P H I have designed and build a Hardware interface baord pictured below on the left. 0H Contribute to TempAB/Tx-esphome-jk-bms development by creating an account on GitHub. Sends over CAN bus to inverter: Battery Voltage. This has all the hardware needed to communicate with BMS and Inverter over CAN bus. 261. " GitHub is where people build software. X, Sw: 8. An active connection is indicated by a solid red LED. If the battery has higher voltage, do not connect the VIN terminal with the JK-BMS; The ESP32 can be powered via USB Here is my code in HA: substitutions: name: jk-bms esphome: name: jk-bms project: name: "syssi. So I tried to use : external_components: - source: github ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms Mar 7, 2023 · I have the esp32 connected via cable. Jan 9, 2023 · JK_B2A20S20P Hardware: V11. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. May 1, 2023 · Saved searches Use saved searches to filter your results more quickly Nov 16, 2021 · diybateriaslifepo4 commented on Dec 12, 2021. 17. I am using the JK02_32S protocol. My goal was to put both BMS I have (JK BMS HW v11 & v10) for a 16s setup over MQTT using the esphome-jk-bms tool. 5. A tag already exists with the provided branch name. This fork supports CAN bus communication with inverters supporting the CANBUS Protocol compatible with Pylontech V1. syssi commented on Aug 1, 2023. My guess is there is some UART data sent during boot that caused a bad state to the BMS. . JK-BD4A8S4P, hw 11. 2, sw 7. Syssi - ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - TempAB/syssi-esphome-jk-bms I have designed and build a Hardware interface baord pictured below on the left. As BLE is used for connectivity to the BMS, there are no other inputs or outputs required. The ESP32 can be powered by the JK-BMS RS485 signal, since the JK-BMS has the battery voltage on the RS485 port socket max voltage is 60V. ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms Hi, I just uploaded the ESP32ble. Jul 29, 2019 · Worked with JK-B2A24S20P (Hw: 8. Sep 29, 2023 · Hello, I do my best, but I don’t have any answer from the BMS ☹ Do you have any idea? Thank you for your help. AT commands excluding BLE. When including AT command responses, the startup time is 5 seconds. 6 on Homeassistant, esp-idf is now compatible, so can be compiled derectly from Homeassistant. Contribute to AlexParshin79/jk-bms development by creating an account on GitHub. Mar 15, 2023 · Saved searches Use saved searches to filter your results more quickly Oct 29, 2023 · esphome-jk-bms-can. The fast beeping started and I was unable to revive the BMS. 24H Version: V4. Aug 15, 2022 · The text was updated successfully, but these errors were encountered: Syssi - ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - TempAB/syssi-esphome-jk-bms A tag already exists with the provided branch name. 12500 V with 3 decimals of accuracy [sensor:127]: 'jk-bms cell voltage 2': Sending state 4. Reads serial data from a JBD BMS over BLE. In general very positive experience, thank you! cheers I have tried to connect EspHome to my JK_B2A8S20P via BLE, without success. 12500 V with 3 decimals of accuracy [sensor:127]: 'jk-bms cell voltage 3': Sending state 4. 0 are using the implemented protocol and should be supported. We aren't interested in a -12V/+12V signal so we don't use the RS485 adapter. I get continuous MQTT messages every 10s Syssi - ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - TempAB/syssi-esphome-jk-bms 2 participants. on the ESP32. To associate your repository with the jk-bms topic, visit your repo's landing page and select "manage topics. Contribute to TempAB/jk-bms-esphome3. XW Software: V11. Is there are way to decrease the 5s? Thanks a lot! Harald Sep 30, 2021 · The RS485 adapter converts the TTL signal to RS485. The 3V3, 5V (VIN) and GND go the corresponding pins. 32 (Solar Energy Manager 32) based on ESP32 controller, Soyosource Inverter, Huawei r4850g2 power supply, JK-BMS and 48V battery. If it is true, any chance of adding support for more than a o Contribute to TempAB/Tx-esphome-jk-bms development by creating an account on GitHub. If the LED is off the BMS did an emergency shutdown. yaml file. V1. Mar 23, 2024 · No issues so far, yet I tested only bluetooth connection to the jk bms BD6A20S10P and it is pretty stable, no single glitch after few days. Try to use a ESP32 just for testing. If the status LED blinks: BLE connection active! The BMS supports just one BLE connection at a time. If you have anyone you need or if you want to add them among the examples. # If you don't use Home Assistant please remove this `api` section and uncomment the `mqtt` component! I have designed and build a Hardware interface baord pictured below on the left. There a some users here which cannot communicate with the BMS using a ESP8266 but a ESP32 works flawlessly for unknown reasons. luckylinux commented on Jan 14. I have designed and build a Hardware interface baord pictured below on the left. Main features: Aug 11, 2022 · If I have 4 (or more) JK BMS devices, I assume that I would need an ESP32 for each BLE connection. The Wemos D1 mini32 board is specified in the YAML file. Weder mit einem ESP 8266 noch über ein ESP32 mit BLE bekomme ich Daten nach Home Assistent. If your ESP32 is connected to the BMS you cannot establish a connection with the Android app anymore and vice-versa. It is a plug and play device, just add power (5v USB) Hand built on a PCB and soldered to the ESP32, bulletproof design for production use. Aug 15, 2022 · The BMS beeps on every received command. Oct 3, 2023 · Polished ESP32 web server for JK-BMS using UART-TTL instead of BLE. The JK BMS is connected directly to the ESP32 as it uses 3. ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms Nov 28, 2022 · The BMS is able to handle a single BLE connection. yaml to my ESP32, I can acces from EH, it's online but I don;t know how to connect it to my JK bms via BT. 10. So I have found this code to reset the esp32 online_status: name: "status online" id: bms0_status on_release: if: condition: for: time: 2min condition: binary_sensor. yaml. If your setup requires long wires you could use the RS485 adapter plus some RS485 arduino module to shift the levels back to 3. The ESP32 then sends the required CAN bus data to the inverter via a TJA1050 CAN bus transceiver. Unfortunately the esp-idf framework does not offer this feature. 3 and Goodwe V1. Contribute to TempAB/Tx-esphome-jk-bms development by creating an account on GitHub. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects. Syssi - ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - TempAB/syssi-esphome-jk-bms Syssi - ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - TempAB/syssi-esphome-jk-bms Feb 20, 2023 · Saved searches Use saved searches to filter your results more quickly Jul 5, 2023 · Hi Syssi, I just wanted to inform you, that the BLE ESP32 configuration works with two JK-B1A8S10P BMS devices. Feb 7, 2020 · The ESP32 communicates with the JK-BMS using the RS485 port (GPS) which is in fact not RS485, it is 3. ESPHome component to monitor a Jikong Battery Management System (JK-BMS) via RS485 or BLE. Contribute to TempAB/esphome-jk-bms-ab development by creating an account on GitHub. Set publish_period to a higher value than sample_period to throttle MQTT data, while sampling BMS for accurate energy meters. The BMS startup time is 16 seconds. These pins are configured as below and match the GPIO pins in the diagram below: Don't forget the 4k7 resistor between CAN RX and ESP32. example. [sensor:127]: 'jk-bms cell voltage 1': Sending state 4. 24, using JK02_32S (reported by @austin202220 ) JK-BD6A17S6P, hw 7. substitutions: name: jk-bms. 3V rail, and the A and B pins are connected directly to the inverter. I'll add a schematic in the future. Everything worked. XW, SW ID: 11. Rename by removing . # ESP32 Serial port pins: # GPIO pins your CAN bus transceiver (TJA1050) is connected to the ESP, note! SEM. On publish Mar 6, 2023 · Hello, I would like to combine esphome-jk-bms with the web-server feature. The values are updated every 5s. 0 esp32: board: nodemcu-32s framework: I would like to say big thank you to Sebastian for providing the solution. I tried a fe different esp32 modules and all stops working after some random time. Syssi - ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - TempAB/syssi-esphome-jk-bms Jan 16, 2022 · After the short waiting period for the OTA firmware to move from flash to program memory, it bricked. Everything is fine and the values are displayed in iobroker. Oct 27, 2023 · Interestingly, also, I also use Syssi's esphome-jk-bms with the exact same ESP32 board, and it works just fine controlling JK BMS's using platform: jk_bms_ble - it's only if I use platform: heltec_balancer_ble that I get this bizzaro behaviour. 1 development by creating an account on GitHub. Jun 8, 2022 · Hallo Zusammen, ich bin etwas am verzweifeln mit meinem neuen JK BMS. HW ID: V11. csv. It's possible to BMS response differs a bit in this case. v3. To recap: 1 x ESP32 for JK BMS Battery 01 (jk-bms-bat01) 1 x ESP32 for JK BMS Battery 02 (jk-bms-bat02) I did that first for jk-bms-bat02. You will not be able to connect to the BMS from your phone anymore while the add-on is running. 12800 V with 3 decimals of accuracy [sensor:127]: 'jk-bms cell voltage 4 ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms Nov 10, 2023 · I wasted a lot of time on it and with the help of my friend Vincenzo. txt since otherwise it wouldn't attach. Further details on bulding and customising the esphome-jk-bms project are available on syssi's GitHub page. In best case the response is the same and commands we issue are executed properly (if the frame source is GPS). 3. Contribute to Psynosaur/JBD-BMS-ESP32 development by creating an account on GitHub. Other battery profiles that utilise the pylonton/goodwe protocol with differnt cell counts may also work, eg Alpha Ess Smile, BYD Battery-Box LV Flex Lite Select the correct battery profile in the inverter to match your battery pack! ESPHome component to monitor a Jikong Battery Management System (JK-BMS) via RS485 or BLE Supported devices All JK-BMS models with software version >=6. That was after a soft reset by the ESP to initialize the new firmware. With Esphome update 12. 2 MrPablo : Added function "Auto Charge/Discharge Current Control" to avoid OVP/UVP alarms I have designed and build a Hardware interface baord pictured below on the left. txt. If the LED blinks the BMS is able to pick up a new connection. I managed to read two Neey balancers with a single ESP32. is_off: Contribute to AlexParshin79/jk-bms development by creating an account on GitHub. Any ESP32 dev board that exposes GPIO16 is suitable for this project. Navigation Menu Toggle navigation On the electronics side of things, the ESP32 is connected directly to an RS485 to TTL adapter that is powered from the ESP32's board 3. 3V based signalling, so all good. Small periods generate more data points per time. ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms Add this topic to your repo. 2v/cell nominal. sample_period is the time in seconds to wait between BMS reads. Here are the steps: installed esphome on Ubuntu; had to upgrade esptools from github as merge_bin command was not available in esptool that comes with esphome ESPHome component to monitor and control a Jikong Battery Management System (JK-BMS) via UART-TTL or BLE - syssi/esphome-jk-bms I have designed and build a Hardware interface baord pictured below on the left. that work this is the yaml I used. Is this true, and if not, then how would I setup multiple in the . Hi, sometime the esp32 will lost his BT connection to the BMS. kyubozkmxsuqjjypekqh