New vars Communication Bus & Protocol
This commit is contained in:
1 parent
da0e5c8c23
commit
3394976529
4 files changed
+14
-14
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.08.10
|
||||
# Version : 2.5.9
|
||||
# Updated : 2026.08.13
|
||||
# Version : 2.6.0
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -196,8 +196,8 @@ interval:
|
||||
then:
|
||||
- lambda: |-
|
||||
// Save CANBUS options
|
||||
id(yambms${yambms_id}_var_inverter_bms_name) = id(canbus${canbus_id}_bms_name).current_option();
|
||||
id(yambms${yambms_id}_var_inverter_protocol) = id(canbus${canbus_id}_protocol).current_option();
|
||||
id(yambms${yambms_id}_var_communication_bus) = "CAN";
|
||||
id(yambms${yambms_id}_var_communication_protocol) = id(canbus${canbus_id}_protocol).current_option();
|
||||
|
||||
- interval: 30s
|
||||
then:
|
||||
|
||||
@@ -228,10 +228,10 @@ globals:
|
||||
type: std::string
|
||||
restore_value: no
|
||||
initial_value: '"Init"'
|
||||
- id: yambms${yambms_id}_var_inverter_bms_name
|
||||
- id: yambms${yambms_id}_var_communication_bus
|
||||
type: std::string
|
||||
restore_value: no
|
||||
- id: yambms${yambms_id}_var_inverter_protocol
|
||||
- id: yambms${yambms_id}_var_communication_protocol
|
||||
type: std::string
|
||||
restore_value: no
|
||||
- id: yambms${yambms_id}_var_cell_nominal_v
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.06.27
|
||||
# Version : 1.4.0
|
||||
# Updated : 2026.08.13
|
||||
# Version : 1.4.1
|
||||
# GitHub : https://github.com/fahmula/esphome-pylontech-rs485
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -193,8 +193,8 @@ interval:
|
||||
then:
|
||||
- lambda: |-
|
||||
// Save RS485 options
|
||||
id(yambms${yambms_id}_var_inverter_bms_name) = "RS485";
|
||||
id(yambms${yambms_id}_var_inverter_protocol) = id(rs485${rs485_id}_protocol).current_option();
|
||||
id(yambms${yambms_id}_var_communication_bus) = "RS485";
|
||||
id(yambms${yambms_id}_var_communication_protocol) = id(rs485${rs485_id}_protocol).current_option();
|
||||
|
||||
- interval: 100ms
|
||||
then:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.06.27
|
||||
# Version : 1.2.7
|
||||
# Updated : 2026.08.13
|
||||
# Version : 1.2.8
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -80,7 +80,7 @@ interval:
|
||||
root["bms_model"] = "${bms_model}";
|
||||
root["bms_protocol"] = "${bms_protocol}";
|
||||
root["bms_count"] = id(yambms${yambms_id}_var_bms_counter);
|
||||
root["canbus_name"] = id(yambms${yambms_id}_var_inverter_bms_name);
|
||||
root["canbus_protocol"] = id(yambms${yambms_id}_var_inverter_protocol);
|
||||
root["comm_bus"] = id(yambms${yambms_id}_var_communication_bus);
|
||||
root["comm_protocol"] = id(yambms${yambms_id}_var_communication_protocol);
|
||||
root["uptime"] = id(esp32_uptime).state;
|
||||
root["date_time_now"] = id(esp32_date_time_now).state;
|
||||
Reference in new issue
Block a user