Versions in this module Expand all Collapse all v1 v1.3.2 Mar 10, 2020 v1.3.1 Mar 10, 2020 Changes in this version + type Accessory struct + ID uint64 + Info *service.AccessoryInformation + Services []*service.Service + Type AccessoryType + func New(info Info, typ AccessoryType) *Accessory + func (a *Accessory) AddService(s *service.Service) + func (a *Accessory) Equal(other interface{}) bool + func (a *Accessory) GetServices() []*service.Service + func (a *Accessory) Identify() + func (a *Accessory) OnIdentify(fn func()) + func (a *Accessory) UpdateIDs() + type AccessoryType uint8 + const TypeAirConditioner + const TypeAirPurifier + const TypeBridge + const TypeDehumidifier + const TypeDoor + const TypeDoorLock + const TypeFan + const TypeFaucets + const TypeGarageDoorOpener + const TypeHeater + const TypeHumidifier + const TypeIPCamera + const TypeLightbulb + const TypeOther + const TypeOutlet + const TypeProgrammableSwitch + const TypeRemoteControl + const TypeSecuritySystem + const TypeSensor + const TypeShowerSystems + const TypeSprinklers + const TypeSwitch + const TypeTelevision + const TypeThermostat + const TypeUnknown + const TypeVideoDoorbell + const TypeWindow + const TypeWindowCovering + type Bridge struct + func NewBridge(info Info) *Bridge + type Camera struct + Control *service.CameraControl + StreamManagement1 *service.CameraRTPStreamManagement + StreamManagement2 *service.CameraRTPStreamManagement + func NewCamera(info Info) *Camera + type ColoredLightbulb struct + Lightbulb *service.ColoredLightbulb + func NewColoredLightbulb(info Info) *ColoredLightbulb + type Container struct + Accessories []*Accessory + func NewContainer() *Container + func (m *Container) AccessoryType() AccessoryType + func (m *Container) AddAccessory(a *Accessory) error + func (m *Container) ContentHash() []byte + func (m *Container) Equal(other interface{}) bool + func (m *Container) RemoveAccessory(a *Accessory) + type Info struct + FirmwareRevision string + ID uint64 + Manufacturer string + Model string + Name string + SerialNumber string + type Lightbulb struct + Lightbulb *service.Lightbulb + func NewLightbulb(info Info) *Lightbulb + type Outlet struct + Outlet *service.Outlet + func NewOutlet(info Info) *Outlet + type Switch struct + Switch *service.Switch + func NewSwitch(info Info) *Switch + type Television struct + Speaker *service.Speaker + Television *service.Television + func NewTelevision(info Info) *Television + type Thermometer struct + TempSensor *service.TemperatureSensor + func NewTemperatureSensor(info Info, temp, min, max, steps float64) *Thermometer + type Thermostat struct + Thermostat *service.Thermostat + func NewThermostat(info Info, temp, min, max, steps float64) *Thermostat + type Windows struct + Window *service.Window + func NewWindow(info Info, currentState int) *Windows