Documentation
¶
Index ¶
- Variables
- type BluetoothControlled
- type CenturaColorSpot
- func (c *CenturaColorSpot) Brightness() float64
- func (c *CenturaColorSpot) Color() color.Color
- func (c *CenturaColorSpot) Disconnect() error
- func (c *CenturaColorSpot) Model() string
- func (c *CenturaColorSpot) Name() string
- func (c *CenturaColorSpot) Off()
- func (c *CenturaColorSpot) On()
- func (c *CenturaColorSpot) Powered() bool
- func (c *CenturaColorSpot) SetBrightness(b float64)
- func (c *CenturaColorSpot) SetColor(colour color.Color)
- func (c *CenturaColorSpot) SetName(name string)
- func (c *CenturaColorSpot) SetTemperature(temperature uint16)
- func (c *CenturaColorSpot) Temperature() uint16
- type Gamut
- type XYPoint
Constants ¶
This section is empty.
Variables ¶
View Source
var GamutA = Gamut{XYPoint{0.704, 0.296}, XYPoint{0.2151, 0.7106}, XYPoint{0.138, 0.08}}
GamutA LivingColors Iris, Bloom, Aura, LightStrips
View Source
var GamutB = Gamut{XYPoint{0.675, 0.322}, XYPoint{0.4091, 0.518}, XYPoint{0.167, 0.04}}
GamutB Hue A19 bulbs
View Source
var GamutC = Gamut{XYPoint{0.692, 0.308}, XYPoint{0.17, 0.7}, XYPoint{0.153, 0.048}}
GamutC Hue BR30, A19 (Gen 3), Hue Go, LightStrips plus
Functions ¶
This section is empty.
Types ¶
type BluetoothControlled ¶
type BluetoothControlled interface { Disconnect() error // contains filtered or unexported methods }
type CenturaColorSpot ¶
type CenturaColorSpot struct {
// contains filtered or unexported fields
}
func NewCenturaColorSpot ¶
func NewCenturaColorSpot(device *bluetooth.Device) (*CenturaColorSpot, error)
func (*CenturaColorSpot) Brightness ¶
func (c *CenturaColorSpot) Brightness() float64
func (*CenturaColorSpot) Color ¶
func (c *CenturaColorSpot) Color() color.Color
func (*CenturaColorSpot) Disconnect ¶
func (c *CenturaColorSpot) Disconnect() error
func (*CenturaColorSpot) Model ¶
func (c *CenturaColorSpot) Model() string
func (*CenturaColorSpot) Name ¶
func (c *CenturaColorSpot) Name() string
func (*CenturaColorSpot) Off ¶
func (c *CenturaColorSpot) Off()
func (*CenturaColorSpot) On ¶
func (c *CenturaColorSpot) On()
func (*CenturaColorSpot) Powered ¶
func (c *CenturaColorSpot) Powered() bool
func (*CenturaColorSpot) SetBrightness ¶
func (c *CenturaColorSpot) SetBrightness(b float64)
func (*CenturaColorSpot) SetColor ¶
func (c *CenturaColorSpot) SetColor(colour color.Color)
func (*CenturaColorSpot) SetName ¶
func (c *CenturaColorSpot) SetName(name string)
func (*CenturaColorSpot) SetTemperature ¶
func (c *CenturaColorSpot) SetTemperature(temperature uint16)
func (*CenturaColorSpot) Temperature ¶
func (c *CenturaColorSpot) Temperature() uint16
Click to show internal directories.
Click to hide internal directories.