Commands

The lvmnps 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] [NAME] [PORTNUM]

Arguments

NAME

Optional argument

PORTNUM

Optional argument

on

Turn on the outlet.

lvmnps on [OPTIONS] [NAME] [PORTNUM] [OFFAFTER]

Arguments

NAME

Optional argument

PORTNUM

Optional argument

OFFAFTER

Optional argument

ping

Pings the actor.

lvmnps ping [OPTIONS]

reachable

Returns the list of reachable objects.

lvmnps reachable [OPTIONS] COMMAND [ARGS]...

outlets

Returns the list of names for each outlet on a specific power switch.

lvmnps reachable outlets [OPTIONS] SWITCHNAME [PORTNUM]

Arguments

SWITCHNAME

Required argument

PORTNUM

Optional argument

switches

Returns the list of switches which is reachable.

lvmnps reachable switches [OPTIONS]

status

Returns the dictionary of a specific outlet.

lvmnps status [OPTIONS] [SWITCHNAME] [PORTNUM]

Arguments

SWITCHNAME

Optional argument

PORTNUM

Optional argument

version

Reports the version.

lvmnps version [OPTIONS]