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:
1 parent
6940efb357
commit
bb071e6565
10 files changed
+23
-33
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# Updated : 2026.11.08
|
||||
# Updated : 2026.11.11
|
||||
# Version : 1.8.2
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
@@ -260,7 +260,6 @@ packages:
|
||||
# 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,4 +1,4 @@
|
||||
# Updated : 2026.11.08
|
||||
# Updated : 2026.11.11
|
||||
# Version : 1.8.2
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
@@ -260,7 +260,6 @@ packages:
|
||||
# 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 )
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.11.05
|
||||
# Version : 1.3.5
|
||||
# Updated : 2026.11.11
|
||||
# Version : 1.3.6
|
||||
# GitHub : https://github.com/txubelaxu/esphome-jk-bms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -36,7 +36,7 @@ logger:
|
||||
# +--------------------------------------+
|
||||
|
||||
external_components:
|
||||
- source: github://Sleeper85/esphome-components@main
|
||||
- source: github://Sleeper85/esphome-components@dev
|
||||
refresh: 60min
|
||||
components: [ jk_rs485_sniffer , jk_rs485_bms ]
|
||||
# - source:
|
||||
@@ -45,7 +45,6 @@ external_components:
|
||||
|
||||
jk_rs485_sniffer:
|
||||
- id: ${sniffer_id}
|
||||
protocol_version: ${sniffer_protocol}
|
||||
rx_timeout: 500ms
|
||||
uart_id: ${sniffer_uart_id}
|
||||
|
||||
@@ -58,7 +57,7 @@ switch:
|
||||
device_id: sniffer_${sniffer_uart_id}
|
||||
name: "Broadcasting BMS settings to all BMS"
|
||||
icon: "mdi:cast"
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
restore_mode: RESTORE_DEFAULT_ON
|
||||
optimistic: true
|
||||
entity_category: config
|
||||
turn_on_action:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.09.02
|
||||
# Version : 1.3.4
|
||||
# Updated : 2026.11.11
|
||||
# Version : 1.3.5
|
||||
# GitHub : https://github.com/txubelaxu/esphome-jk-bms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -45,7 +45,6 @@ external_components:
|
||||
|
||||
jk_rs485_sniffer:
|
||||
- id: ${sniffer_id}
|
||||
protocol_version: ${sniffer_protocol}
|
||||
rx_timeout: 500ms
|
||||
uart_id: ${sniffer_uart_id}
|
||||
|
||||
@@ -58,7 +57,7 @@ switch:
|
||||
device_id: sniffer_${sniffer_uart_id}
|
||||
name: "Broadcasting BMS settings to all BMS"
|
||||
icon: "mdi:cast"
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
restore_mode: RESTORE_DEFAULT_ON
|
||||
optimistic: true
|
||||
entity_category: config
|
||||
turn_on_action:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.11.05
|
||||
# Version : 1.3.4
|
||||
# Updated : 2026.11.11
|
||||
# Version : 1.3.5
|
||||
# GitHub : https://github.com/txubelaxu/esphome-jk-bms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -36,7 +36,7 @@ logger:
|
||||
# +--------------------------------------+
|
||||
|
||||
external_components:
|
||||
- source: github://Sleeper85/esphome-components@main
|
||||
- source: github://Sleeper85/esphome-components@dev
|
||||
refresh: 0s
|
||||
components: [ jk_rs485_sniffer , jk_rs485_bms ]
|
||||
# - source:
|
||||
@@ -45,7 +45,6 @@ external_components:
|
||||
|
||||
jk_rs485_sniffer:
|
||||
- id: ${sniffer_id}
|
||||
protocol_version: ${sniffer_protocol}
|
||||
rx_timeout: 500ms
|
||||
uart_id: ${sniffer_uart_id}
|
||||
talk_pin: ${sniffer_talk_pin}
|
||||
@@ -59,7 +58,7 @@ switch:
|
||||
device_id: sniffer_${sniffer_uart_id}
|
||||
name: "Broadcasting BMS settings to all BMS"
|
||||
icon: "mdi:cast"
|
||||
restore_mode: RESTORE_DEFAULT_OFF
|
||||
restore_mode: RESTORE_DEFAULT_ON
|
||||
optimistic: true
|
||||
entity_category: config
|
||||
turn_on_action:
|
||||
|
||||
Reference in new issue
Block a user