class Sony::Displays::Bravia

Included Modules

Defined in:

sony/displays/bravia.cr

Constant Summary

COMMANDS = {ir_code: "IRCC", power: "POWR", volume: "VOLU", audio_mute: "AMUT", mute: "PMUT", channel: "CHNN", tv_input: "ISRC", input: "INPT", toggle_mute: "TPMU", pip: "PIPI", toggle_pip: "TPIP", position_pip: "TPPP", broadcast_address: "BADR", mac_address: "MADR"}

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def audio_mute? #

[View source]
def connected #

[View source]
def disconnected #

[View source]
def do_poll #

[View source]
def input? #

[View source]
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


[View source]
def mute? #

[View source]
def mute_audio(state : Bool = true) #

[View source]
def on_load #

[View source]
def power(state : Bool) #

[View source]
def power? #

[View source]
def received(data, task) #

[View source]
def switch_to(input : Input) #
Description copied from module PlaceOS::Driver::Interface::InputSelection(Sony::Displays::Bravia::Input)

Switches all outputs to the requested input Special case switch_to 0 should mute all the outputs, if supported


[View source]
def unmute #

[View source]
def unmute_audio #

[View source]
def volume(level : Int32 | Float64) #

[View source]
def volume? #

[View source]
def volume_down #

[View source]
def volume_up #

[View source]