hap

package
v0.0.0-...-256a617 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL