Added the canbus_link_timer_enabled option #268
This commit is contained in:
1 parent
9bcb4d7177
commit
a19890bc0d
22 files changed
+55
-49
No files matched your search
+2
-2
@@ -366,8 +366,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs for the ACK can_id 0x305 (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -260,8 +260,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs for the ACK can_id 0x305 (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -288,8 +288,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs for the ACK can_id 0x305 (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -309,8 +309,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -318,8 +318,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -315,8 +315,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -316,8 +316,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -325,8 +325,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -355,8 +355,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -355,8 +355,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -310,8 +310,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -308,8 +308,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -305,8 +305,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -341,8 +341,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -340,8 +340,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -323,8 +323,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
+2
-2
@@ -355,8 +355,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -253,8 +253,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -264,8 +264,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -285,8 +285,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -285,8 +285,8 @@ packages:
|
||||
canbus_name: 'CANBUS 1'
|
||||
canbus_node_id: 'canbus_inverter_1' # CAN bus node to which your inverter is connected
|
||||
canbus_status_led_id: 'esp_light' # LED used to show status; default = esp_light, comment out to disable
|
||||
# The CAN bus link will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305)
|
||||
# before the end of the `canbus_link_timer` (5s by default).
|
||||
# CAN frames sending will be paused for `30s` if the inverter does not respond with an ACK (can_id 0x305) before the end of the `canbus_link_timer` (5s by default).
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_link_timer: '5s'
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs (required for Schneider XW Pro)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Updated : 2026.06.27
|
||||
# Version : 2.5.6
|
||||
# Updated : 2026.06.28
|
||||
# Version : 2.5.7
|
||||
# GitHub : https://github.com/Sleeper85/esphome-yambms
|
||||
|
||||
# YamBMS ( Yet another multi-BMS Merging Solution )
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
substitutions:
|
||||
canbus_status_led_id: "virtual_status_light" # The ID of the LED on your board used for this component
|
||||
canbus_link_timer_enabled: 'true' # Set it to 'false' if your inverter/charger is not sending ACK (can_id 0x305) every `1s` as specified by the protocol
|
||||
canbus_extended_ack: 'false' # Set to 'true' for enable extended 29-bit IDs for the ACK can_id 0x305 (required for Schneider XW Pro)
|
||||
|
||||
esphome:
|
||||
@@ -152,9 +153,12 @@ script:
|
||||
then:
|
||||
- delay: ${canbus_link_timer}
|
||||
- lambda: |-
|
||||
id(canbus${canbus_id}_send_canbus_data) = false; // Stop sending CANBUS datas
|
||||
id(canbus${canbus_id}_status).publish_state(false); // Set CANBUS status to OFF
|
||||
id(inverter_com_status).publish_state(false); // Set Inverter com. status to OFF
|
||||
if (${canbus_link_timer_enabled} == true)
|
||||
{
|
||||
id(canbus${canbus_id}_send_canbus_data) = false; // Stop sending CANBUS frames
|
||||
id(canbus${canbus_id}_status).publish_state(false); // Set CANBUS status to OFF
|
||||
id(inverter_com_status).publish_state(false); // Set Inverter com. status to OFF
|
||||
}
|
||||
|
||||
# +--------------------------------------+
|
||||
# | Start CAN Handling |
|
||||
@@ -170,14 +174,16 @@ canbus:
|
||||
- lambda: |-
|
||||
id(canbus${canbus_id}_script_canbus_link_timer).execute(); // Restart CANBUS link timer
|
||||
|
||||
if (id(canbus${canbus_id}_status).state == false) {
|
||||
if (id(canbus${canbus_id}_status).state == false)
|
||||
{
|
||||
id(canbus${canbus_id}_send_canbus_data) = true; // Sending CANBUS frames allowed
|
||||
id(canbus${canbus_id}_status).publish_state(true); // Set CANBUS status to ON
|
||||
id(inverter_com_status).publish_state(true); // Set Inverter com. status to ON
|
||||
}
|
||||
|
||||
// Inverter ACK interval
|
||||
if (id(canbus${canbus_id}_switch_inverter_heartbeat_monitoring).state) {
|
||||
if (id(canbus${canbus_id}_switch_inverter_heartbeat_monitoring).state)
|
||||
{
|
||||
uint32_t inverter_ack_ms_current = millis();
|
||||
uint32_t inverter_ack_interval_ms = (inverter_ack_ms_current - id(canbus${canbus_id}_inverter_ack_ms_previous));
|
||||
id(canbus${canbus_id}_inverter_ack_ms_previous) = inverter_ack_ms_current;
|
||||
|
||||
Reference in new issue
Block a user