From 942b7c6fbb12b2995928f8bad444cbeb798ecfc1 Mon Sep 17 00:00:00 2001 From: Sleeper85 Date: Mon, 1 Dec 2025 18:34:44 +0100 Subject: [PATCH] Added JK RS485 `talk_pin` examples --- YamBMS_RP_JK-B_RS485_Modbus.yaml | 9 ++++++++- YamBMS_RP_JK-PB_RS485_Modbus.yaml | 9 ++++++++- .../LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml | 7 ++++--- .../LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml | 7 ++++--- .../LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml | 7 ++++--- .../RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml | 11 +++++++++-- .../RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml | 11 +++++++++-- 7 files changed, 46 insertions(+), 15 deletions(-) diff --git a/YamBMS_RP_JK-B_RS485_Modbus.yaml b/YamBMS_RP_JK-B_RS485_Modbus.yaml index 0b15f5d..f0fcb18 100644 --- a/YamBMS_RP_JK-B_RS485_Modbus.yaml +++ b/YamBMS_RP_JK-B_RS485_Modbus.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.25 +# Updated : 2025.12.1 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -256,6 +256,13 @@ packages: ref: main refresh: 0s files: + # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) + # - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml' + # vars: + # sniffer_id: 'sniffer1' + # sniffer_protocol: 'JK02_32S' + # sniffer_uart_id: 'uart_esp_1' + # sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number # RS485 Sniffer - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml' vars: diff --git a/YamBMS_RP_JK-PB_RS485_Modbus.yaml b/YamBMS_RP_JK-PB_RS485_Modbus.yaml index 860a035..9e7d8c7 100644 --- a/YamBMS_RP_JK-PB_RS485_Modbus.yaml +++ b/YamBMS_RP_JK-PB_RS485_Modbus.yaml @@ -1,4 +1,4 @@ -# Updated : 2025.11.25 +# Updated : 2025.12.1 # Version : 1.6.0 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -256,6 +256,13 @@ packages: ref: main refresh: 0s files: + # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) + # - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml' + # vars: + # sniffer_id: 'sniffer1' + # sniffer_protocol: 'JK02_32S' + # sniffer_uart_id: 'uart_esp_1' + # sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number # RS485 Sniffer - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml' vars: diff --git a/examples/single-node/LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml b/examples/single-node/LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml index a65d15a..240aed1 100644 --- a/examples/single-node/LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml +++ b/examples/single-node/LP_BMS_example_JK-B_RS485_Modbus_mode2.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.07.27 -# Version : 1.1.1 +# Updated : 2025.12.1 +# Version : 1.1.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -28,13 +28,14 @@ packages: # The sniffer represents the ESP node connected to the JK-BMS PB RS485 bus # If address 0x00 is not detected on the RS485 bus, the sniffer will act directly as a master BMS (mode 2, max 15 BMS) + # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) # sniffer1: !include # file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml # vars: # sniffer_id: 'sniffer1' # sniffer_protocol: 'JK02_32S' # sniffer_uart_id: 'uart_esp_1' - # sniffer_talk_pin: 8 # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 + # sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number sniffer1: !include file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml diff --git a/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml b/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml index f2e0611..ac751c3 100644 --- a/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml +++ b/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode1.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.07.27 -# Version : 1.1.1 +# Updated : 2025.12.1 +# Version : 1.1.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -28,13 +28,14 @@ packages: # The sniffer represents the ESP node connected to the JK-BMS PB RS485 bus # If address 0x00 is not detected on the RS485 bus, the sniffer will act directly as a master BMS (mode 1, max 16 BMS) + # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) # sniffer1: !include # file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml # vars: # sniffer_id: 'sniffer1' # sniffer_protocol: 'JK02_32S' # sniffer_uart_id: 'uart_esp_1' - # sniffer_talk_pin: 8 # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 + # sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number sniffer1: !include file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml diff --git a/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml b/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml index d257d49..73fbab1 100644 --- a/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml +++ b/examples/single-node/LP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.07.27 -# Version : 1.1.1 +# Updated : 2025.12.1 +# Version : 1.1.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -28,13 +28,14 @@ packages: # The sniffer represents the ESP node connected to the JK-BMS PB RS485 bus # If address 0x00 is not detected on the RS485 bus, the sniffer will act directly as a master BMS (mode 2, max 15 BMS) + # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) # sniffer1: !include # file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml # vars: # sniffer_id: 'sniffer1' # sniffer_protocol: 'JK02_32S' # sniffer_uart_id: 'uart_esp_1' - # sniffer_talk_pin: 8 # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 + # sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number sniffer1: !include file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml diff --git a/examples/single-node/RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml b/examples/single-node/RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml index 63f01bb..6a8ec2c 100644 --- a/examples/single-node/RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml +++ b/examples/single-node/RP_BMS_example_JK-B_RS485_Modbus_mode2.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.07.27 -# Version : 1.1.1 +# Updated : 2025.12.1 +# Version : 1.1.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -33,6 +33,13 @@ packages: ref: main refresh: 0s files: + # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) + # - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml' + # vars: + # sniffer_id: 'sniffer1' + # sniffer_protocol: 'JK02_32S' + # sniffer_uart_id: 'uart_esp_1' + # sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number # RS485 Sniffer - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml' vars: diff --git a/examples/single-node/RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml b/examples/single-node/RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml index 5a54aa9..fd7c829 100644 --- a/examples/single-node/RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml +++ b/examples/single-node/RP_BMS_example_JK-PB_RS485_Modbus_mode2.yaml @@ -1,5 +1,5 @@ -# Updated : 2025.07.27 -# Version : 1.1.1 +# Updated : 2025.12.1 +# Version : 1.1.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -33,6 +33,13 @@ packages: ref: main refresh: 0s files: + # RS485 Sniffer with talk_pin (WS-RS485-CAN and other RS485 boards with a flow_control_pin) + # - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer_talk_pin.yaml' + # vars: + # sniffer_id: 'sniffer1' + # sniffer_protocol: 'JK02_32S' + # sniffer_uart_id: 'uart_esp_1' + # sniffer_talk_pin: ${talk_pin} # can be replaced by the GPIO number # RS485 Sniffer - path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml' vars: