## v0.3.8
- Fixed pwr flags display
+ - Added pwr fault flags to indicators
## v0.3.7
- Allow blocking error dialog for a period of time
th 21
th Fault
+ table.pwr_fault
+ tr
+ th.header(colspan=5) Power Faults
+ tr
+ th Under voltage
+ td {{state['under_voltage'] ? 'True' : 'False'}}
+ th.separator
+ th Over voltage
+ td {{state['over_voltage'] ? 'True' : 'False'}}
+ tr
+ th Over current
+ td {{state['over_current'] ? 'True' : 'False'}}
+ th.separator
+ th Measurement error
+ td {{state['measurement_error'] ? 'True' : 'False'}}
+ tr
+ th Shunt overload
+ td {{state['shunt_overload'] ? 'True' : 'False'}}
+ th.separator
+ th Motor overload
+ td {{state['motor_overload'] ? 'True' : 'False'}}
+ tr
+ th Load 1 over temp
+ td {{state['load1_overtemp'] ? 'True' : 'False'}}
+ th.separator
+ th Load 2 over temp
+ td {{state['load2_overtemp'] ? 'True' : 'False'}}
+ tr
+ th Load 1 limiting
+ td {{state['load1_limiting'] ? 'True' : 'False'}}
+ th.separator
+ th Load 2 limiting
+ td {{state['load2_limiting'] ? 'True' : 'False'}}
+
table.measurements
tr
th.header(colspan=5) Measurements
#define VOLTAGE_MAX 39
#define CURRENT_MAX 25
#define LOAD_CURRENT_MAX 10.5
-#define CURRENT_OVERTEMP 14 // Should read ~21A but over 11.86A is faulty
+#define CURRENT_OVERTEMP 19 // Should read ~21A but over 11.86A is faulty
#define LOAD_LIMIT_TICKS 10
#define VOLTAGE_SETTLE_COUNT 5
#define VOLTAGE_SETTLE_PERIOD 20 // ms