Commands#
The lvmnps actor replies to the follwing commands.
lvmnps#
lvmnps [OPTIONS] COMMAND [ARGS]...
__commands#
lvmnps __commands [OPTIONS]
help#
Shows the help.
lvmnps help [OPTIONS] [PARSER_COMMAND]
Arguments
- PARSER_COMMAND#
Optional argument
off#
Turn off the outlet.
lvmnps off [OPTIONS] OUTLET [PORTNUM]
Options
- --switch <switch>#
Address this switch specifically. Otherwise the first switch with an outlet that matches NAME will be commanded.
Arguments
- OUTLET#
Required argument
- PORTNUM#
Optional argument
on#
Turn on the outlet.
lvmnps on [OPTIONS] OUTLET [PORTNUM]
Options
- --switch <switch>#
Address this switch specifically. Otherwise the first switch with an outlet that matches NAME will be commanded.
- --off-after <off_after>#
Turn off after X seconds.
Arguments
- OUTLET#
Required argument
- PORTNUM#
Optional argument
outlets#
Returns the list of names for each outlet on a specific power switch.
lvmnps outlets [OPTIONS] [SWITCHNAME]
Arguments
- SWITCHNAME#
Optional argument