JK RS485 - Load the components 1.2 from @dev and remove protocol_version

The sniffer packages load the JK RS485 components from the dev branch of
Sleeper85/esphome-components (JK RS485 1.2) until it is tested and merged
into main ; they will then go back to @main.

JK RS485 1.2 removes the protocol_version key of jk_rs485_sniffer (the
JK-PB RS485 protocol has only one version) and refuses it, while 1.1
requires it : both changes have to be made together. The sniffer packages
no longer pass it, and the sniffer_protocol var is removed from the JK-B
and JK-PB RS485 YAML and examples. A user YAML that still defines
sniffer_protocol keeps working, the var is simply unused.
This commit is contained in:
Sleeper85 committed 2026-11-13 08:02:20 +01:00
1 parent 6940efb357
commit bb071e6565
10 files changed
+23 -33

No files matched your search

@@ -1,5 +1,5 @@
# Updated : 2026.02.16
# Version : 1.1.5
# Updated : 2026.11.11
# Version : 1.1.6
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -32,7 +32,6 @@ packages:
sniffer1: !include
file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
@@ -1,5 +1,5 @@
# Updated : 2026.02.16
# Version : 1.1.5
# Updated : 2026.11.11
# Version : 1.1.6
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -32,7 +32,6 @@ packages:
sniffer1: !include
file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
@@ -1,5 +1,5 @@
# Updated : 2026.02.16
# Version : 1.1.5
# Updated : 2026.11.11
# Version : 1.1.6
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -32,7 +32,6 @@ packages:
sniffer1: !include
file: packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
@@ -1,5 +1,5 @@
# Updated : 2026.02.16
# Version : 1.1.5
# Updated : 2026.11.11
# Version : 1.1.6
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -34,7 +34,6 @@
# RS485 Sniffer
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml'
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# BMS 1
@@ -1,5 +1,5 @@
# Updated : 2026.02.16
# Version : 1.1.5
# Updated : 2026.11.11
# Version : 1.1.6
# GitHub : https://github.com/Sleeper85/esphome-yambms
# YamBMS ( Yet another multi-BMS Merging Solution )
@@ -34,7 +34,6 @@
# RS485 Sniffer
- path: 'packages/bms/bms_combine_JK_RS485_Modbus_sniffer.yaml'
vars:
sniffer_protocol: 'JK02_32S'
sniffer_uart_id: 'uart_esp_1'
# uart_flow_control_pin: ${talk_pin} # WS-RS485-CAN and other RS485 boards with a flow_control_pin
# BMS 1