diff --git a/YamBMS_LP_DEMO.yaml b/YamBMS_LP_DEMO.yaml index 1412596..17dede7 100644 --- a/YamBMS_LP_DEMO.yaml +++ b/YamBMS_LP_DEMO.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_LP_PVbrain2.yaml b/YamBMS_LP_PVbrain2.yaml index b891776..4ec7a75 100644 --- a/YamBMS_LP_PVbrain2.yaml +++ b/YamBMS_LP_PVbrain2.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -145,6 +145,12 @@ substitutions: enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS / entities + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes + # +--------------------------------------+ # | UART expander WK2168 | # +--------------------------------------+ uart0_baudrate: '2400' # uart_id : uart_${uart_hub_bus}_0 WKS {RJ45-UART0} diff --git a/YamBMS_Local_Packages_example.yaml b/YamBMS_Local_Packages_example.yaml index a27fe12..ebb35e7 100644 --- a/YamBMS_Local_Packages_example.yaml +++ b/YamBMS_Local_Packages_example.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_BASEN_RS485.yaml b/YamBMS_RP_BMS_BASEN_RS485.yaml index 689a25a..99c27a3 100644 --- a/YamBMS_RP_BMS_BASEN_RS485.yaml +++ b/YamBMS_RP_BMS_BASEN_RS485.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_DEYE_CAN.yaml b/YamBMS_RP_BMS_DEYE_CAN.yaml index 48b140f..3781f52 100644 --- a/YamBMS_RP_BMS_DEYE_CAN.yaml +++ b/YamBMS_RP_BMS_DEYE_CAN.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_EG4_RS485.yaml b/YamBMS_RP_BMS_EG4_RS485.yaml index 717c3bb..309448e 100644 --- a/YamBMS_RP_BMS_EG4_RS485.yaml +++ b/YamBMS_RP_BMS_EG4_RS485.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_Ecoworthy_RS485.yaml b/YamBMS_RP_BMS_Ecoworthy_RS485.yaml index bd2252d..efa9b21 100644 --- a/YamBMS_RP_BMS_Ecoworthy_RS485.yaml +++ b/YamBMS_RP_BMS_Ecoworthy_RS485.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_JBD.yaml b/YamBMS_RP_BMS_JBD.yaml index 3c179d3..a5d171d 100644 --- a/YamBMS_RP_BMS_JBD.yaml +++ b/YamBMS_RP_BMS_JBD.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_JK-B_RS485_Modbus.yaml b/YamBMS_RP_BMS_JK-B_RS485_Modbus.yaml index 4db34e1..6831b85 100644 --- a/YamBMS_RP_BMS_JK-B_RS485_Modbus.yaml +++ b/YamBMS_RP_BMS_JK-B_RS485_Modbus.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_JK-PB_RS485_Modbus.yaml b/YamBMS_RP_BMS_JK-PB_RS485_Modbus.yaml index 4b9fe04..ead5d46 100644 --- a/YamBMS_RP_BMS_JK-PB_RS485_Modbus.yaml +++ b/YamBMS_RP_BMS_JK-PB_RS485_Modbus.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_JK_BLE.yaml b/YamBMS_RP_BMS_JK_BLE.yaml index 6420643..098fa78 100644 --- a/YamBMS_RP_BMS_JK_BLE.yaml +++ b/YamBMS_RP_BMS_JK_BLE.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_JK_UART_4G-GPS.yaml b/YamBMS_RP_BMS_JK_UART_4G-GPS.yaml index 9dba197..d9ea743 100644 --- a/YamBMS_RP_BMS_JK_UART_4G-GPS.yaml +++ b/YamBMS_RP_BMS_JK_UART_4G-GPS.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_PACE_RS485_Modbus.yaml b/YamBMS_RP_BMS_PACE_RS485_Modbus.yaml index f425b90..b077b18 100644 --- a/YamBMS_RP_BMS_PACE_RS485_Modbus.yaml +++ b/YamBMS_RP_BMS_PACE_RS485_Modbus.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_SEPLOS_V1_V2_RS485_Modbus.yaml b/YamBMS_RP_BMS_SEPLOS_V1_V2_RS485_Modbus.yaml index ac9188f..9a9545c 100644 --- a/YamBMS_RP_BMS_SEPLOS_V1_V2_RS485_Modbus.yaml +++ b/YamBMS_RP_BMS_SEPLOS_V1_V2_RS485_Modbus.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_BMS_SEPLOS_V3_RS485_Modbus_sniffer.yaml b/YamBMS_RP_BMS_SEPLOS_V3_RS485_Modbus_sniffer.yaml index 65951f2..3a7e130 100644 --- a/YamBMS_RP_BMS_SEPLOS_V3_RS485_Modbus_sniffer.yaml +++ b/YamBMS_RP_BMS_SEPLOS_V3_RS485_Modbus_sniffer.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_Balancer.yaml b/YamBMS_RP_Balancer.yaml index 518dcc0..4899298 100644 --- a/YamBMS_RP_Balancer.yaml +++ b/YamBMS_RP_Balancer.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_DEMO.yaml b/YamBMS_RP_DEMO.yaml index adab2d2..2f546b4 100644 --- a/YamBMS_RP_DEMO.yaml +++ b/YamBMS_RP_DEMO.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_Ethernet_board.yaml b/YamBMS_RP_Ethernet_board.yaml index a56677b..8b2c900 100644 --- a/YamBMS_RP_Ethernet_board.yaml +++ b/YamBMS_RP_Ethernet_board.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_RP_HA_Display.yaml b/YamBMS_RP_HA_Display.yaml index 32e8fb8..a4271f4 100644 --- a/YamBMS_RP_HA_Display.yaml +++ b/YamBMS_RP_HA_Display.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.06.29 -# Version : 1.7.0 +# Updated : 2026.07.30 +# Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -54,6 +54,12 @@ substitutions: # This allows to group entities into logical devices that appear separately in Home Assistant. hostname: 'yambms-display' # Name of your ESPHome node registered on the IP network (DNS name must be unique) friendly_name : 'YamBMS Display' # Name of your board (prefix for board entities) + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of entities + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes # +--------------------------------------+ # | Packages | diff --git a/YamBMS_RP_PVbrain2.yaml b/YamBMS_RP_PVbrain2.yaml index ae91c46..2773fc9 100644 --- a/YamBMS_RP_PVbrain2.yaml +++ b/YamBMS_RP_PVbrain2.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -145,6 +145,12 @@ substitutions: enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS / entities + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes + # +--------------------------------------+ # | UART expander WK2168 | # +--------------------------------------+ uart0_baudrate: '2400' # uart_id : uart_${uart_hub_bus}_0 WKS {RJ45-UART0} diff --git a/YamBMS_Remote_Packages_example.yaml b/YamBMS_Remote_Packages_example.yaml index 316c907..772056d 100644 --- a/YamBMS_Remote_Packages_example.yaml +++ b/YamBMS_Remote_Packages_example.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/YamBMS_Remote_Packages_example_dev_branch.yaml b/YamBMS_Remote_Packages_example_dev_branch.yaml index 184f9e9..dfff822 100644 --- a/YamBMS_Remote_Packages_example_dev_branch.yaml +++ b/YamBMS_Remote_Packages_example_dev_branch.yaml @@ -1,4 +1,4 @@ -# Updated : 2026.07.15 +# Updated : 2026.07.30 # Version : 1.7.1 # GitHub : https://github.com/Sleeper85/esphome-yambms @@ -144,6 +144,12 @@ substitutions: # +--------------------------------------+ enable_led_logging: 'false' # Set to true to see if an led is assigned to a component correctly, logged every 60 seconds enable_health_logging: 'false' # Set to true to see if component health for all component instances, logged every 60 seconds + # +--------------------------------------+ + # | Advanced options | + # +--------------------------------------+ + # Increase the `loop_task_stack_size` value for a large number of BMS + # See https://github.com/Sleeper85/esphome-yambms/blob/main/documents/README/LOOP_TASK_STACK.md before changing + loop_task_stack_size: "8192" # 8192 / 16384 / 32768 bytes diff --git a/documents/README/LOOP_TASK_STACK.md b/documents/README/LOOP_TASK_STACK.md new file mode 100644 index 0000000..b7fb6ee --- /dev/null +++ b/documents/README/LOOP_TASK_STACK.md @@ -0,0 +1,174 @@ +# YamBMS - loop_task_stack_size + +[![Badge License: GPLv3](https://img.shields.io/badge/License-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0) +[![Badge Version](https://img.shields.io/github/v/release/Sleeper85/esphome-yambms?include_prereleases&color=yellow&logo=DocuSign&logoColor=white)](https://github.com/Sleeper85/esphome-yambms/releases/latest) +![GitHub stars](https://img.shields.io/github/stars/Sleeper85/esphome-yambms) +![GitHub forks](https://img.shields.io/github/forks/Sleeper85/esphome-yambms) +![GitHub watchers](https://img.shields.io/github/watchers/Sleeper85/esphome-yambms) + +Reference for the `loop_task_stack_size` option. Read this before changing it. + +This document covers **raising** the value. Lowering it below the ESPHome +default is not documented here and is not recommended: the gain is a few +kilobytes, and the failure mode is a rare crash on a code path you did not test. + +## Stack and heap in one minute + +An ESP32 stores data in two very different ways, and both come out of the same +pool of internal RAM. + +| | Stack | Heap | +|---|---|---| +| What it is | Scratch space for the function currently running | A reserve the program borrows from on demand | +| Reserved when | At compile time, one fixed block per task | At runtime, piece by piece | +| Holds | Local variables, return addresses | Objects whose count is not known in advance | +| In YamBMS | The local variables of `setup()` | Every sensor object, every API connection, every network buffer | +| Runs out how | Silently overwrites neighbouring memory | `malloc()` returns null | + +The **stack** is a fixed-size block. ESPHome runs `setup()` and the main loop +inside a FreeRTOS task called `loopTask`, whose stack defaults to 8192 bytes. +That block is reserved at compile time and never grows. + +The **heap** is everything left over. When YamBMS creates 1,400 sensor objects +at boot, they come from the heap. On a board with PSRAM, most of them end up in +PSRAM rather than internal RAM. + +Raising `loop_task_stack_size` enlarges the stack block, which takes internal +RAM away from the heap — byte for byte, nothing else changes. + +## Why the default is sometimes not enough + +ESPHome generates `setup()` as a single flat function. Every entity +registration adds local variables to the same stack frame, so the frame grows +in direct proportion to the number of entities. + +Measured on YamBMS with **YamBMS RS485 BMS (bms_combine_modbus_client.yaml)** packages: + +``` +setup() frame = 784 + 400 x nb_BMS bytes + + 12 BMS -> 5,584 B ~2,350 B left for everything else -> boots + 16 BMS -> 7,184 B ~760 B left for everything else -> boot loop +``` + +That frame stays alive while `App.setup()` initialises every component, so the +remaining bytes must also cover component init, NVS reads, log formatting and +CPU register spills. When they do not fit, the overflow writes past the end of +the stack and corrupts whatever sits next to it in memory. + +### Symptoms + +- Boot loops that start only after adding BMS or entities, with no hard + threshold — it scales with config size. +- `Guru Meditation Error` whose **type changes between reboots**: sometimes + `LoadProhibited`, sometimes an Interrupt WDT, sometimes a cache error. +- No stack overflow message. The FreeRTOS canary is often skipped entirely by + a large stack frame, so nothing warns you. +- Adjusting PSRAM options changes nothing, because the stack is not in PSRAM. + +If a boot loop produces **no ESPHome log output at all** and a constant +`abort()`, that is a different problem — the board ran out of internal RAM +before startup. Lower the value rather than raising it, and reduce the config. + +## Recommended values + +| BMS per node | `loop_task_stack_size` | +|---|---| +| up to 6 | `8192` (ESPHome default — leave unset) | +| 7 to 24 | `16384` | +| 25 to 64 | `32768` (maximum accepted value) | + +Values include roughly 4 KB of reserve above the measured `setup()` frame. + +**These values are for YamBMS RS485 BMS (bms_combine_modbus_client.yaml).** BLE BMS instantiate +`esp32_ble_tracker` and one `ble_client` per BMS, which gives a different fixed +cost and a different slope. The model above has not been calibrated for them. + +**The 16384 and 32768 rows assume a board with PSRAM.** Not because the stack +needs PSRAM — it never lives there — but because a config large enough to need +them will run out of heap long before it runs out of stack. On a board without +PSRAM, keep `8192` unless you have a measured reason not to. + +## How to apply it + +The value belongs in your main configuration, not in a board or PSRAM package: +it depends on how many BMS you configured, not on your hardware. + +```yaml +substitutions: + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing + +esp32: + framework: + advanced: + loop_task_stack_size: ${loop_task_stack_size} +``` + +## Check the cost before flashing + +Raising this value consumes internal RAM permanently. The size report at the end +of every compile tells you the cost, with no hardware required: + +``` +RAM: [====== ] 59.2% (used 202299 bytes from 341760 bytes) +``` + +Recompile after changing the value and compare. Going from `8192` to `16384` +should increase the used figure by exactly 8,192 bytes; `8192` to `32768` by +24,576. Anything else means something unexpected happened. + +Leave yourself comfortable margin on the free figure. If free internal RAM drops +low, you trade a boot-time crash for runtime symptoms instead: API +disconnections, WiFi failing to reconnect, entities failing to initialise. + +To confirm the value actually reached the firmware: + +```bash +NM=$(find ~/.cache/esphome/idf/tools -name '*-elf-nm' | head -1) +$NM -SC .esphome/build//build/.elf | grep loop_task_stack +``` + +The second column is the size in hex: `00002000` = 8192, `00004000` = 16384, +`00008000` = 32768. + +## Confirm on hardware + +The size report proves the cost. Only a running device proves the value is +sufficient. Add this temporarily and read the log after boot: + +```yaml +esphome: + on_boot: + priority: -100.0 + then: + - lambda: 'ESP_LOGW("mem", "loopTask HWM=%u B", uxTaskGetStackHighWaterMark(nullptr));' +``` + +`HWM` is the smallest amount of stack that was still free — the remaining +margin, in bytes. Below about 2,000, go up one step in the table. + +Note that `loopTask` also runs the main loop forever, not just `setup()`. Rare +paths such as an OTA update, an API reconnection or verbose logging can push +deeper than boot does, so keep margin rather than tuning to the exact boot +figure. + +## Calibrating for a different node type + +If your node is not a standard **YamBMS RS485 BMS (bms_combine_modbus_client.yaml)** setup, measure your own frame +size instead of using the table. Add this and compile twice with a different +number of BMS: + +```yaml +esphome: + build_flags: + - "-Wframe-larger-than=4096" +``` + +The compiler prints the frame size directly: + +``` +warning: the frame size of 7184 bytes is larger than 4096 bytes +``` + +Two data points give you the fixed cost and the cost per BMS. Add about 4 KB of +reserve and round up to the next step. diff --git a/packages/board/board_ESP32-C3_DevKitM-1.yaml b/packages/board/board_ESP32-C3_DevKitM-1.yaml index 1f2ef0d..ca7d0c6 100644 --- a/packages/board/board_ESP32-C3_DevKitM-1.yaml +++ b/packages/board/board_ESP32-C3_DevKitM-1.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.3 +# Updated : 2026.07.30 +# Version : 1.3.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -42,6 +42,8 @@ substitutions: talk_pin: '10' # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -53,6 +55,8 @@ esp32: flash_size: 4MB # ajust according to your ESP32-C3 version framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-C3_ETH01-EVO.yaml b/packages/board/board_ESP32-C3_ETH01-EVO.yaml index 51b83f5..bd7abed 100644 --- a/packages/board/board_ESP32-C3_ETH01-EVO.yaml +++ b/packages/board/board_ESP32-C3_ETH01-EVO.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.4 +# Updated : 2026.07.30 +# Version : 1.3.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -30,6 +30,8 @@ substitutions: # canbus_esp32_can tx_pin_4: '19' rx_pin_4: '18' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -38,10 +40,10 @@ packages: esp32: variant: esp32c3 - # flash_size: 2MB framework: type: esp-idf - # version: latest + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-C3_FlipC3.yaml b/packages/board/board_ESP32-C3_FlipC3.yaml index 5890e8e..a14824c 100644 --- a/packages/board/board_ESP32-C3_FlipC3.yaml +++ b/packages/board/board_ESP32-C3_FlipC3.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.5 +# Updated : 2026.07.30 +# Version : 1.1.6 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -42,6 +42,8 @@ substitutions: mcp2515_cs_pin: '5' # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -53,6 +55,8 @@ esp32: flash_size: 4MB # ajust according to your ESP32-C3 version framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-P4_M5Stack-Tab5.yaml b/packages/board/board_ESP32-P4_M5Stack-Tab5.yaml index fc20a43..e35abcd 100644 --- a/packages/board/board_ESP32-P4_M5Stack-Tab5.yaml +++ b/packages/board/board_ESP32-P4_M5Stack-Tab5.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.06.28 -# Version : 1.1.3 +# Updated : 2026.07.30 +# Version : 1.1.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -74,6 +74,8 @@ substitutions: rx_pin_2: '38' # talk_pin for RS485 flow control (directly wired on COMMU module, optional GPIO) talk_pin: '48' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -86,6 +88,7 @@ esp32: framework: type: esp-idf advanced: + loop_task_stack_size: ${loop_task_stack_size} enable_idf_experimental_features: true # WiFi via ESP32-C6 co-processor diff --git a/packages/board/board_ESP32-S3_AtomS3-Lite.yaml b/packages/board/board_ESP32-S3_AtomS3-Lite.yaml index fa636f3..17ef32a 100644 --- a/packages/board/board_ESP32-S3_AtomS3-Lite.yaml +++ b/packages/board/board_ESP32-S3_AtomS3-Lite.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.6 +# Updated : 2026.07.30 +# Version : 1.3.7 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -45,6 +45,8 @@ substitutions: talk_pin: '8' # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -56,6 +58,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_AtomS3.yaml b/packages/board/board_ESP32-S3_AtomS3.yaml index 89c93d7..48b2a30 100644 --- a/packages/board/board_ESP32-S3_AtomS3.yaml +++ b/packages/board/board_ESP32-S3_AtomS3.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.06.29 -# Version : 1.3.9 +# Updated : 2026.07.30 +# Version : 1.4.0 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -44,6 +44,8 @@ substitutions: mcp2515_cs_pin: '39' # talk_pin talk_pin: '8' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -55,6 +57,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_AtomS3R.yaml b/packages/board/board_ESP32-S3_AtomS3R.yaml index a32eb30..b663b3b 100644 --- a/packages/board/board_ESP32-S3_AtomS3R.yaml +++ b/packages/board/board_ESP32-S3_AtomS3R.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.06.29 -# Version : 1.4.0 +# Updated : 2026.07.30 +# Version : 1.4.1 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -44,6 +44,8 @@ substitutions: mcp2515_cs_pin: '39' # talk_pin talk_pin: '8' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -57,6 +59,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_DevKitC-1_LED-38.yaml b/packages/board/board_ESP32-S3_DevKitC-1_LED-38.yaml index 1817216..2f476bd 100644 --- a/packages/board/board_ESP32-S3_DevKitC-1_LED-38.yaml +++ b/packages/board/board_ESP32-S3_DevKitC-1_LED-38.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.3 +# Updated : 2026.07.30 +# Version : 1.3.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -42,6 +42,8 @@ substitutions: talk_pin: '8' # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -54,6 +56,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_DevKitC-1_LED-48.yaml b/packages/board/board_ESP32-S3_DevKitC-1_LED-48.yaml index bb3a740..a977b0b 100644 --- a/packages/board/board_ESP32-S3_DevKitC-1_LED-48.yaml +++ b/packages/board/board_ESP32-S3_DevKitC-1_LED-48.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.5 +# Updated : 2026.07.30 +# Version : 1.3.6 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -42,6 +42,8 @@ substitutions: talk_pin: '8' # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -54,6 +56,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_DevKitC-1_PVbrain2.yaml b/packages/board/board_ESP32-S3_DevKitC-1_PVbrain2.yaml index 86e22a8..cc6ad86 100644 --- a/packages/board/board_ESP32-S3_DevKitC-1_PVbrain2.yaml +++ b/packages/board/board_ESP32-S3_DevKitC-1_PVbrain2.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.6 +# Updated : 2026.07.30 +# Version : 1.3.7 # GitHub : https://github.com/SeByDocKy/pvbrain2 substitutions: @@ -39,6 +39,8 @@ substitutions: one_wire_pin: '47' # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -51,6 +53,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_Freenove.yaml b/packages/board/board_ESP32-S3_Freenove.yaml index d820322..09001a9 100644 --- a/packages/board/board_ESP32-S3_Freenove.yaml +++ b/packages/board/board_ESP32-S3_Freenove.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.4 +# Updated : 2026.07.30 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -44,6 +44,8 @@ substitutions: talk_pin: '8' # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -56,6 +58,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_Generic.yaml b/packages/board/board_ESP32-S3_Generic.yaml index a168f69..a952ce7 100644 --- a/packages/board/board_ESP32-S3_Generic.yaml +++ b/packages/board/board_ESP32-S3_Generic.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.1 +# Updated : 2026.07.30 +# Version : 1.1.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -45,6 +45,8 @@ substitutions: # LED led_pin: '48' # ajust according to your board model board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -57,6 +59,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro-Lite.yaml b/packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro-Lite.yaml index 93b4986..3db8203 100644 --- a/packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro-Lite.yaml +++ b/packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro-Lite.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.07.10 -# Version : 1.1.2 +# Updated : 2026.07.30 +# Version : 1.1.3 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -45,6 +45,8 @@ substitutions: lilygo_btn_b: '40' # relay lilygo_rly: '8' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -57,6 +59,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro.yaml b/packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro.yaml index 76714cf..8248fef 100644 --- a/packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro.yaml +++ b/packages/board/board_ESP32-S3_LilyGo-T-Connect-Pro.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.07.10 -# Version : 1.1.9 +# Updated : 2026.07.30 +# Version : 1.2.0 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -34,6 +34,8 @@ substitutions: # canbus_esp32_can: CAN tx_pin_4: '6' rx_pin_4: '7' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -47,6 +49,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_LilyGo-T-Connect.yaml b/packages/board/board_ESP32-S3_LilyGo-T-Connect.yaml index d1dcc3b..8283a99 100644 --- a/packages/board/board_ESP32-S3_LilyGo-T-Connect.yaml +++ b/packages/board/board_ESP32-S3_LilyGo-T-Connect.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.07.10 -# Version : 1.2.0 +# Updated : 2026.07.30 +# Version : 1.2.1 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -47,6 +47,8 @@ substitutions: mcp2515_cs_pin: "14" # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -59,6 +61,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_Super_Mini.yaml b/packages/board/board_ESP32-S3_Super_Mini.yaml index 5184eb8..0800306 100644 --- a/packages/board/board_ESP32-S3_Super_Mini.yaml +++ b/packages/board/board_ESP32-S3_Super_Mini.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.4 +# Updated : 2026.07.30 +# Version : 1.1.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -44,6 +44,8 @@ substitutions: talk_pin: '8' # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -56,6 +58,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_WS-ETH.yaml b/packages/board/board_ESP32-S3_WS-ETH.yaml index b597b3d..7c1abb4 100644 --- a/packages/board/board_ESP32-S3_WS-ETH.yaml +++ b/packages/board/board_ESP32-S3_WS-ETH.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.6 +# Updated : 2026.07.30 +# Version : 1.1.7 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -38,6 +38,8 @@ substitutions: spi_mosi_pin: '40' spi_miso_pin: '41' mcp2515_cs_pin: '42' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -50,6 +52,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_WS-RS485-CAN.yaml b/packages/board/board_ESP32-S3_WS-RS485-CAN.yaml index bf44a20..f349650 100644 --- a/packages/board/board_ESP32-S3_WS-RS485-CAN.yaml +++ b/packages/board/board_ESP32-S3_WS-RS485-CAN.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.9 +# Updated : 2026.07.30 +# Version : 1.2.0 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -44,6 +44,8 @@ substitutions: spi_miso_pin: '13' spi_clk_pin: '12' mcp2515_cs_pin: '10' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -56,6 +58,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_WS-Touch-LCD-4.3.yaml b/packages/board/board_ESP32-S3_WS-Touch-LCD-4.3.yaml index ccb2c08..5dd51ae 100644 --- a/packages/board/board_ESP32-S3_WS-Touch-LCD-4.3.yaml +++ b/packages/board/board_ESP32-S3_WS-Touch-LCD-4.3.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.06.28 -# Version : 1.2.1 +# Updated : 2026.07.30 +# Version : 1.2.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -40,6 +40,8 @@ substitutions: spi_clk_pin: '12' spi_miso_pin: '13' cs_pin: '4' # ch422g_hub + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -57,6 +59,8 @@ esp32: CONFIG_SPIRAM_FETCH_INSTRUCTIONS: y CONFIG_SPIRAM_RODATA: y CONFIG_ESPTOOLPY_FLASHSIZE_8MB: y + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_WS-Touch-LCD-4.3B.yaml b/packages/board/board_ESP32-S3_WS-Touch-LCD-4.3B.yaml index a4ad8d6..db66956 100644 --- a/packages/board/board_ESP32-S3_WS-Touch-LCD-4.3B.yaml +++ b/packages/board/board_ESP32-S3_WS-Touch-LCD-4.3B.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.06.28 -# Version : 1.2.1 +# Updated : 2026.07.30 +# Version : 1.2.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -37,6 +37,8 @@ substitutions: spi_clk_pin: '12' spi_miso_pin: '13' cs_pin: '4' # ch422g_hub + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -54,6 +56,8 @@ esp32: CONFIG_SPIRAM_FETCH_INSTRUCTIONS: y CONFIG_SPIRAM_RODATA: y CONFIG_ESPTOOLPY_FLASHSIZE_16MB: y + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_WS-Touch-LCD-7.yaml b/packages/board/board_ESP32-S3_WS-Touch-LCD-7.yaml index 1cc4586..d3fc409 100644 --- a/packages/board/board_ESP32-S3_WS-Touch-LCD-7.yaml +++ b/packages/board/board_ESP32-S3_WS-Touch-LCD-7.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.06.28 -# Version : 1.2.1 +# Updated : 2026.07.30 +# Version : 1.2.2 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -40,6 +40,8 @@ substitutions: spi_clk_pin: '12' spi_miso_pin: '13' cs_pin: '4' # ch422g_hub + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -57,6 +59,8 @@ esp32: CONFIG_SPIRAM_FETCH_INSTRUCTIONS: y CONFIG_SPIRAM_RODATA: y CONFIG_ESPTOOLPY_FLASHSIZE_8MB: y + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_XIAO.yaml b/packages/board/board_ESP32-S3_XIAO.yaml index 7f4c639..f75a9f7 100644 --- a/packages/board/board_ESP32-S3_XIAO.yaml +++ b/packages/board/board_ESP32-S3_XIAO.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.9 +# Updated : 2026.07.30 +# Version : 1.2.0 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -40,6 +40,8 @@ substitutions: mcp2515_cs_pin: '6' # LED board_has_rgb: "false" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -52,6 +54,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32-S3_YBoard.yaml b/packages/board/board_ESP32-S3_YBoard.yaml index c9b8129..36ab2db 100644 --- a/packages/board/board_ESP32-S3_YBoard.yaml +++ b/packages/board/board_ESP32-S3_YBoard.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.6 +# Updated : 2026.07.30 +# Version : 1.1.7 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -35,6 +35,8 @@ substitutions: rx_pin_4: '18' # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -47,6 +49,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_Atom-Lite.yaml b/packages/board/board_ESP32_Atom-Lite.yaml index c10bafc..58968dd 100644 --- a/packages/board/board_ESP32_Atom-Lite.yaml +++ b/packages/board/board_ESP32_Atom-Lite.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.4 +# Updated : 2026.07.30 +# Version : 1.3.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -45,6 +45,8 @@ substitutions: talk_pin: '33' # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -56,6 +58,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_Atom-Matrix.yaml b/packages/board/board_ESP32_Atom-Matrix.yaml index 9075c77..e8e4d90 100644 --- a/packages/board/board_ESP32_Atom-Matrix.yaml +++ b/packages/board/board_ESP32_Atom-Matrix.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.4 +# Updated : 2026.07.30 +# Version : 1.3.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -45,6 +45,8 @@ substitutions: talk_pin: '33' # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -56,6 +58,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_DevKit-V1.yaml b/packages/board/board_ESP32_DevKit-V1.yaml index c203379..9be576b 100644 --- a/packages/board/board_ESP32_DevKit-V1.yaml +++ b/packages/board/board_ESP32_DevKit-V1.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.3 +# Updated : 2026.07.30 +# Version : 1.3.4 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -42,6 +42,8 @@ substitutions: talk_pin: '4' # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 # LED board_has_rgb: "false" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -53,6 +55,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_DevKitC_espBerry_2-CH-CAN.yaml b/packages/board/board_ESP32_DevKitC_espBerry_2-CH-CAN.yaml index 579cc7c..4aba975 100644 --- a/packages/board/board_ESP32_DevKitC_espBerry_2-CH-CAN.yaml +++ b/packages/board/board_ESP32_DevKitC_espBerry_2-CH-CAN.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.8 +# Updated : 2026.07.30 +# Version : 1.1.9 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -22,6 +22,8 @@ substitutions: board_name: "espBerry 2-CH-CAN" # LED board_has_rgb: "false" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -33,6 +35,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_EVB.yaml b/packages/board/board_ESP32_EVB.yaml index dd71cc1..e8f52d8 100644 --- a/packages/board/board_ESP32_EVB.yaml +++ b/packages/board/board_ESP32_EVB.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.8 +# Updated : 2026.07.30 +# Version : 1.1.9 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -32,6 +32,8 @@ substitutions: # canbus_esp32_can tx_pin_4: '5' rx_pin_4: '35' + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -43,6 +45,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_Generic.yaml b/packages/board/board_ESP32_Generic.yaml index 18aae66..288cccb 100644 --- a/packages/board/board_ESP32_Generic.yaml +++ b/packages/board/board_ESP32_Generic.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.3.4 +# Updated : 2026.07.30 +# Version : 1.3.5 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -42,6 +42,8 @@ substitutions: talk_pin: '4' # ESP32: 4, ESP32-S3: 8, ESP32-C3: 10 # LED board_has_rgb: "false" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: @@ -54,6 +56,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_LilyGo-T-CAN485.yaml b/packages/board/board_ESP32_LilyGo-T-CAN485.yaml index 53095c6..2e443b2 100644 --- a/packages/board/board_ESP32_LilyGo-T-CAN485.yaml +++ b/packages/board/board_ESP32_LilyGo-T-CAN485.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.9 +# Updated : 2026.07.30 +# Version : 1.2.0 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -43,6 +43,8 @@ substitutions: mcp2515_cs_pin: '25' # LED board_has_rgb: "true" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -54,6 +56,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_WT32-ETH01.yaml b/packages/board/board_ESP32_WT32-ETH01.yaml index a3fc432..7d32bdb 100644 --- a/packages/board/board_ESP32_WT32-ETH01.yaml +++ b/packages/board/board_ESP32_WT32-ETH01.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.5 +# Updated : 2026.07.30 +# Version : 1.1.6 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -38,6 +38,8 @@ substitutions: rx_pin_4: '15' # to CAN transceiver CRX # LED board_has_rgb: "false" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -49,6 +51,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: diff --git a/packages/board/board_ESP32_iBMS_CAN_RS485_V3.3.yaml b/packages/board/board_ESP32_iBMS_CAN_RS485_V3.3.yaml index 3933a4d..4557638 100644 --- a/packages/board/board_ESP32_iBMS_CAN_RS485_V3.3.yaml +++ b/packages/board/board_ESP32_iBMS_CAN_RS485_V3.3.yaml @@ -1,5 +1,5 @@ -# Updated : 2026.02.15 -# Version : 1.1.5 +# Updated : 2026.07.30 +# Version : 1.1.6 # GitHub : https://github.com/Sleeper85/esphome-yambms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -60,6 +60,8 @@ substitutions: mcp2515_cs_pin: '15' # LED board_has_rgb: "false" # LED `RGB` flag to show functionality is available + # LOOP_TASK_STACK + loop_task_stack_size: "8192" # see LOOP_TASK_STACK.md before changing packages: device_base: !include ../base/device_base.yaml @@ -71,6 +73,8 @@ esp32: cpu_frequency: 240MHz framework: type: esp-idf + advanced: + loop_task_stack_size: ${loop_task_stack_size} esphome: platformio_options: