Compliance with esphome PR_11781 (modbus_controller)
This commit is contained in:
1 parent
d60f07d5f0
commit
08cf8a0c90
5 files changed
+11
-16
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.02.19
|
||||
# Version : 1.1.8
|
||||
# Updated : 2026.07.10
|
||||
# Version : 1.1.9
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -34,9 +34,8 @@ modbus_controller:
|
||||
setup_priority: -10
|
||||
address: 10${bms_id}
|
||||
update_interval: 20s
|
||||
command_throttle: ${modbus_command_throttle}
|
||||
max_cmd_retries: 3
|
||||
# offline_skip_updates: 5
|
||||
offline_skip_updates: 5 # Fixed with PR #11781
|
||||
on_online:
|
||||
then:
|
||||
- logger.log: "Balancer ${bms_id} modbus server back online !"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.02.19
|
||||
# Version : 1.2.9
|
||||
# Updated : 2026.07.10
|
||||
# Version : 1.3.0
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -36,9 +36,8 @@ modbus_controller:
|
||||
setup_priority: -10
|
||||
address: ${bms_id}
|
||||
update_interval: ${modbus_update_interval}
|
||||
command_throttle: ${modbus_command_throttle}
|
||||
max_cmd_retries: 3
|
||||
# offline_skip_updates: 5
|
||||
offline_skip_updates: 5 # Fixed with PR #11781
|
||||
on_online:
|
||||
then:
|
||||
- logger.log: "BMS ${bms_id} modbus server back online !"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.07.10
|
||||
# Version : 1.1.3
|
||||
# Version : 1.1.4
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -27,7 +27,6 @@ substitutions:
|
||||
modbus_send_wait_time: '2000ms' # time in milliseconds before the next ModBUS command is sent if an answer from a previous command is pending (default value from ESPHome PR #11969)
|
||||
# Modbus Controller
|
||||
modbus_update_interval: '5s' # frequency with which BMS/Shunt modbus servers are queried
|
||||
modbus_command_throttle: '0ms' # minimum time in between 2 requests to the device
|
||||
|
||||
uart:
|
||||
- id: !extend ${modbus_uart_id}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.07.10
|
||||
# Version : 1.1.3
|
||||
# Version : 1.1.4
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -26,7 +26,6 @@ substitutions:
|
||||
modbus_id: '1'
|
||||
modbus_send_wait_time: '2000ms' # time in milliseconds before the next ModBUS command is sent if an answer from a previous command is pending (default value from ESPHome PR #11969) # Modbus Controller
|
||||
modbus_update_interval: '5s' # frequency with which BMS/Shunt modbus servers are queried
|
||||
modbus_command_throttle: '0ms' # minimum time in between 2 requests to the device
|
||||
|
||||
modbus:
|
||||
- uart_id: ${modbus_uart_id}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.02.19
|
||||
# Version : 1.2.1
|
||||
# Updated : 2026.07.10
|
||||
# Version : 1.2.2
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -31,9 +31,8 @@ modbus_controller:
|
||||
setup_priority: -10
|
||||
address: 20${shunt_id}
|
||||
update_interval: ${modbus_update_interval}
|
||||
command_throttle: ${modbus_command_throttle}
|
||||
max_cmd_retries: 3
|
||||
# offline_skip_updates: 5
|
||||
offline_skip_updates: 5 # Fixed with PR #11781
|
||||
on_online:
|
||||
then:
|
||||
- logger.log: "Shunt ${shunt_id} modbus server back online !"
|
||||
|
||||
Reference in new issue
Block a user