Skip to content

Commit

Permalink
Update const.py
Browse files Browse the repository at this point in the history
Added EvChargerStatus(Enum) statuses which among resolves issue sfstar#296 (evcharger status isn't a decodable value sfstar#296)
  • Loading branch information
rolfcoder authored Feb 19, 2025
1 parent 2c61215 commit 3440f66
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion custom_components/victron/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -1883,7 +1883,16 @@ class evcharger_status(Enum):
UNDER_VOLTAGE_DETECTED = 12
OVERVOLTAGE_DETECTED = 13
OVERHEATING_DETECTED = 14

RESERVED15 = 15
RESERVED16 = 16
RESERVED17 = 17
RESERVED18 = 18
RESERVED19 = 19
CHARGING_LIMIT = 20
START_CHARGING = 21
SWITCHING_TO_3_PHASE = 22
SWITCHING_TO_1_PHASE = 23
STOP_CHARGING = 24

evcharger_registers = {
"evcharger_firmwareversion": RegisterInfo(3802, UINT32),
Expand Down

0 comments on commit 3440f66

Please sign in to comment.