Battery Module
The battery module allows the user to control batteries on the grid. Batteries have multiple states that can he set individually, or toggled through.
Commands
charge
Set the battery to Recharge mode.
battery/charge <Battery|Group>
Example
battery/charge "Main Battery";
discharge
Set the battery to Discharge mode.
battery/discharge <Battery|Group> [--options]
Example
battery/discharge "Main Battery";
auto
Set the battery to Auto mode.
battery/auto <Battery|Group> [--options]
Example
battery/auto "Main Battery";
toggle
Toggle the battery between Auto, Recharge and Discharge mode.
battery/toggle <Battery|Group> [--options]
Example
battery/toggle "Main Battery";
