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

ping#

Pings the actor.

lvmnps ping [OPTIONS]

status#

Returns the dictionary of a specific outlet.

lvmnps status [OPTIONS] [SWITCHNAME] [PORTNUM]

Options

-o, --outlet <outlet>#

Print only the information for this outlet.

Arguments

SWITCHNAME#

Optional argument

PORTNUM#

Optional argument

switches#

Lists the available switches.

lvmnps switches [OPTIONS]

version#

Reports the version.

lvmnps version [OPTIONS]