Actor Commands

The lvmecp replies to the follwing commands.

lvmecp

lvmecp [OPTIONS] COMMAND [ARGS]...

__commands

lvmecp __commands [OPTIONS]

dome

Tasks for Dome which turn on or off the roll-off dome and return the current status of the dome

lvmecp dome [OPTIONS] COMMAND [ARGS]...

enable

Turn on or off the roll-off dome of the enclosure.

lvmecp dome enable [OPTIONS]

status

return the current status of the dome

lvmecp dome status [OPTIONS]

estop

Activates the emergency status.

if the E-stop has been triggered, a contactor and power electronic will shut down.

lvmecp estop [OPTIONS]

get_schema

Returns the schema of the actor as a JSON schema.

lvmecp get_schema [OPTIONS]

help

Shows the help.

lvmecp help [OPTIONS] [PARSER_COMMAND]

Arguments

PARSER_COMMAND

Optional argument

keyword

Prints human-readable information about a keyword.

lvmecp keyword [OPTIONS] KEYWORD

Arguments

KEYWORD

Required argument

light

Tasks for lights which turn on or off the enclosure light and return the current status of the light

lvmecp light [OPTIONS] COMMAND [ARGS]...

enable

Turn on or off the enclosure light. This command required the argument essentially. You should put the proper argument according to the room you want to control.

A message is printed by the final status of the light. If message return “0”, it means “OFF”. If message return “1”, it means “ON”.

Parameters
cr

Control room.

ur

Utilities room.

sr

Spectrograph room.

uma

UMA lights.

tb

Telescope room - bright light.

tr

Telescope room - red light.

lvmecp light enable [OPTIONS] ROOM

Arguments

ROOM

Required argument

status

return the current status of the light. This command don’t require the argument essentially. You should put the proper argument according to the room you want to control. If you don’t put any argument, this returns the status of all room in the enclosure.

A message is printed by the status of the light. If message return “0”, it means “OFF”. If message return “1”, it means “ON”.

Parameters
cr

Control room.

ur

Utilities room.

sr

Spectrograph room.

uma

UMA lights.

tb

Telescope room - bright light.

tr

Telescope room - red light.

lvmecp light status [OPTIONS] [ROOM]

Arguments

ROOM

Optional argument

monitor

Returns the status of HVAC system and air purge system.

ECP should monitor the pressure in air purge system and the temperature in each room.

lvmecp monitor [OPTIONS] [ROOM]

Arguments

ROOM

Optional argument

ping

Pings the actor.

lvmecp ping [OPTIONS]

telemetry

Returns the status of the enclosure

lvmecp telemetry [OPTIONS]

version

Reports the version.

lvmecp version [OPTIONS]