Skip to content

Commit cd0ed24

Browse files
committed
fix: add OL CHRG LB statuscode
1 parent 8078eac commit cd0ed24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const nut = new NUT(config.NUT_PORT, config.NUT_ADDRESS);
1616
const statusses = Object.freeze({
1717
OL: 1, // online
1818
'OL CHRG': 2, // online & charging
19+
'OL CHRG LB': 2, // online low battery
1920
'OB DISCHRG': 3, // on battery
2021
LB: 4, // low battery,
2122
SD: 5 // shutdown load

0 commit comments

Comments
 (0)