Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElgatoLightAccessory ¶
type ElgatoLightAccessory struct {
*accessory.A
Lightbulb *ElgatoLightbulb
L elgato.LightAccessory
}
func NewElgatoLightAccessory ¶
func NewElgatoLightAccessory(ctx context.Context, L elgato.LightAccessory, refreshInterval time.Duration) *ElgatoLightAccessory
NewElgatoLightAccessory creates a new ElgatoAccessory from an elgato.LightAccessory If refreshInterval=0, then it defaults to 5 seconds. Any negative value disables refreshing.
type ElgatoLightbulb ¶
type ElgatoLightbulb struct {
*service.S
On *characteristic.On
Brightness *characteristic.Brightness
ColorTemperature *characteristic.ColorTemperature
}
func NewElgatoLightbulb ¶
func NewElgatoLightbulb() *ElgatoLightbulb
Click to show internal directories.
Click to hide internal directories.