# README
Accessory | Category |
---|---|
Unknown | 0 |
Other | 1 |
Bridge | 2 |
Fan | 3 |
Garage Door Opener | 4 |
Lightbulb | 5 |
Door Lock | 6 |
Outlet | 7 |
Switch | 8 |
Thermostat | 9 |
Sensor | 10 |
Security System | 11 |
Door | 12 |
Window | 13 |
Window Covering | 14 |
Programmable Switch | 15 |
IP Camera | 17 |
Video Doorbell | 18 |
Air Purifier | 19 |
Heater | 20 |
Air Conditioner | 21 |
Humidifier | 22 |
Dehumidifier | 23 |
Sprinklers | 28 |
Faucets | 29 |
Shower Systems | 30 |
Television | 31 |
Remote Control | 32 |
# Functions
New returns an accessory which implements model.Accessory.
NewBridge returns a bridge which implements model.Bridge.
NewCamera returns an IP camera accessory.
NewLightbulb returns an light bulb accessory which one light bulb service.
NewContainer returns a container.
NewLightbulb returns an light bulb accessory which one light bulb service.
NewOutlet returns an outlet accessory containing one outlet service.
NewSwitch returns a switch which implements model.Switch.
NewTelevision returns a television accessory.
NewTemperatureSensor returns a Thermometer which implements model.Thermometer.
NewThermostat returns a Thermostat which implements model.Thermostat.
NewWindow returns a window which implements model.NewWindow.
# Structs
Accessory is a HomeKit accessory.
Camera provides RTP video streaming.
Container manages a list of accessories.