Generic Device

class epsonprojector.devices.generic.GenericDevice(conn)
_conf = None
build_command(command, parameter)

Creates a command from Command and Parameter object

Parameters:
  • command – dict of command information from config
  • parameter – dict of parameter informations from config
Return any:

Command to send via Interface

config_file = ''
connect()
get_config_file()

Get path to configfile

Return path:String path to configfile
initialize_config()

Initialize Config Loading

parse_command(command, parameter, *args, **kwargs)

Try to parse responses from Projector

Parameters:answer – Data that returned from projector
Return ParsedResponse:
 Tuple with the parsed Information
read()
send(command)

Send command via Initialized Interface

Parameters:command – Projector Command
Returns:Parsed Projector answer