Skip to content

Commit

Permalink
Update esp32-example.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ThHanika authored Nov 28, 2023
1 parent 4837e3b commit 85b8243
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion esp32-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ sensor:
register_type: holding
value_type: U_WORD
unit_of_measurement: ""
state_class: measurement
accuracy_decimals: 0

# 8 Reserved

Expand All @@ -221,7 +223,9 @@ sensor:
register_type: holding
value_type: U_WORD
unit_of_measurement: ""

state_class: measurement
accuracy_decimals: 0

# 10 Protection flag 2 byte R uint16 Hex See ^2
- platform: modbus_controller
modbus_controller_id: bms0
Expand All @@ -230,6 +234,8 @@ sensor:
register_type: holding
value_type: U_WORD
unit_of_measurement: ""
state_class: measurement
accuracy_decimals: 0

# 11 Status/Fault flag 2 byte R uint16 Hex See ^3
- platform: modbus_controller
Expand All @@ -239,6 +245,8 @@ sensor:
register_type: holding
value_type: U_WORD
unit_of_measurement: ""
state_class: measurement
accuracy_decimals: 0

# 12 Balance status-bits per cell (1-16) 2 byte R uint16 Hex
- platform: modbus_controller
Expand All @@ -248,6 +256,8 @@ sensor:
register_type: holding
value_type: U_WORD
unit_of_measurement: ""
state_class: measurement
accuracy_decimals: 0

# 13 Reserved
# 14 Reserved
Expand Down Expand Up @@ -540,12 +550,16 @@ sensor:
name: "${name} min voltage cell"
update_interval: never
unit_of_measurement: ""
state_class: measurement
accuracy_decimals: 0

- platform: template
id: bms0_max_voltage_cell
name: "${name} max voltage cell"
update_interval: never
unit_of_measurement: ""
state_class: measurement
accuracy_decimals: 0

####

Expand Down

0 comments on commit 85b8243

Please sign in to comment.