class Epson::Projector::EscVp21
- Epson::Projector::EscVp21
- PlaceOS::Driver
- Reference
- Object
Included Modules
- PlaceOS::Driver::Interface::InputSelection(Epson::Projector::EscVp21::Input)
- PlaceOS::Driver::Interface::Muteable
- PlaceOS::Driver::Interface::Powerable
Defined in:
epson/projector/esc_vp21.crConstant Summary
-
COMMAND =
{power: "PWR", input: "SOURCE", volume: "VOL", av_mute: "MUTE", video_mute: "MSEL", error: "ERR", lamp: "LAMP"}
-
ERRORS =
["00: no error", "01: fan error", "03: lamp failure at power on", "04: high internal temperature", "06: lamp error", "07: lamp cover door open", "08: cinema filter error", "09: capacitor is disconnected", "0A: auto iris error", "0B: subsystem error", "0C: low air flow error", "0D: air flow sensor error", "0E: ballast power supply error", "0F: shutter error", "10: peltiert cooling error", "11: pump cooling error", "12: static iris error", "13: power supply unit error", "14: exhaust shutter error", "15: obstacle detection error", "16: IF board discernment error"]
-
RESPONSE =
COMMAND.to_h.invert
Class Method Summary
Instance Method Summary
- #connected
- #disconnected
- #do_poll
- #input?
- #inspect_error
-
#mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
When implementing muteable, these should be the preferred defaults
- #on_load
- #power(state : Bool)
- #power?(**options) : Bool
- #power_actual : Bool | Nil
- #power_stable? : Bool
- #power_target? : Bool
- #received(data, task)
-
#switch_to(input : Input)
Switches all outputs to the requested input Special case
switch_to 0
should mute all the outputs, if supported - #video_mute?
-
#volume(vol : Float64 | Int32, **options)
Volume commands are sent using the inpt command
- #volume?
Class Method Detail
Instance Method Detail
def mute(state : Bool = true, index : Int32 | String = 0, layer : MuteLayer = MuteLayer::AudioVideo)
#
Description copied from module PlaceOS::Driver::Interface::Muteable
When implementing muteable, these should be the preferred defaults
Description copied from module PlaceOS::Driver::Interface::InputSelection(Epson::Projector::EscVp21::Input)
Switches all outputs to the requested input
Special case switch_to 0
should mute all the outputs, if supported