Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkInfo ¶
NetworkInfo represents a device on the network.
type SamsungController ¶
type SamsungController struct {
// contains filtered or unexported fields
}
SamsungController represents a controller for samsung smart tvs.
func (*SamsungController) Close ¶
func (controller *SamsungController) Close() error
Close the connection.
type SamsungTVClientConfig ¶
type SamsungTVClientConfig struct {
TVIPAddress string
}
type SamsungTVRemoteMQTTBridge ¶
type SamsungTVRemoteMQTTBridge struct { common.BaseMQTTBridge Controller *SamsungController NetworkInfo *NetworkInfo TVInfo *TVInfo // contains filtered or unexported fields }
func NewSamsungTVRemoteMQTTBridge ¶
func NewSamsungTVRemoteMQTTBridge(config SamsungTVClientConfig, mqttClient mqtt.Client, topicPrefix string) (*SamsungTVRemoteMQTTBridge, error)
func (*SamsungTVRemoteMQTTBridge) EventLoop ¶
func (bridge *SamsungTVRemoteMQTTBridge) EventLoop(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.