Documentation ¶
Index ¶
- type Status
- type TV
- func (tv *TV) GetInput() (result int)
- func (tv *TV) GetMute()
- func (tv *TV) GetPowerStatus() (result bool)
- func (tv *TV) GetVolume() (result int)
- func (tv *TV) MuteOff()
- func (tv *TV) MuteOn()
- func (tv *TV) PowerOff()
- func (tv *TV) PowerOn()
- func (tv *TV) Prepare()
- func (tv *TV) SetInput(hdmi_input int)
- func (tv *TV) SetVolume(volume_level int)
- func (tv *TV) Status() (result Status)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TV ¶
type TV struct { WakeOnLan bool `yaml:"tv_wake_on_lan"` Brand string `yaml:"tv_brand"` IP string `yaml:"tv_ip"` MAC string `yaml:"tv_mac"` DefaultVolume int `yaml:"tv_default_volume"` DefaultInput int `yaml:"tv_default_input"` WebSocketPort string `yaml:"websocket_port"` LGClientKey string `yaml:"lg_client_key"` VizioAuthToken string `yaml:"vizio_auth_token"` TimeoutSeconds int `yaml:"timeout_seconds"` LG *lg_tv.Controller `yaml:"-"` VIZIO *vizio_tv.Controller `yaml:"-"` HDMICEC hdmi_cec.Controller `yaml:"-"` }
func New ¶
func New(config *types.ConfigFile) (result *TV)
func (*TV) GetPowerStatus ¶
Click to show internal directories.
Click to hide internal directories.