Documentation ¶
Overview ¶
THIS FILE IS AUTO-GENERATED
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED ¶
THIS FILE IS AUTO-GENERATED
Index ¶
- Constants
- type AccessoryInformation
- type AccessoryRuntimeInformation
- type AirPurifier
- type AirQualitySensor
- type BatteryService
- type CameraControl
- type CameraRTPStreamManagement
- type CameraRecordingManagement
- type CarbonDioxideSensor
- type CarbonMonoxideSensor
- type ColoredLightbulb
- type ContactSensor
- type Cooler
- type Dehumidifier
- type Door
- type Doorbell
- type Fan
- type FanV2
- type Faucet
- type FilterMaintenance
- type GarageDoorOpener
- type Heater
- type HeaterCooler
- type Humidifier
- type HumidifierDehumidifier
- type HumiditySensor
- type InputSource
- type IrrigationSystem
- type LeakSensor
- type LightSensor
- type Lightbulb
- type LockManagement
- type LockMechanism
- type Microphone
- type MotionSensor
- type OccupancySensor
- type Outlet
- type S
- type SecuritySystem
- type ServiceLabel
- type Slat
- type SmokeSensor
- type Speaker
- type StatelessProgrammableSwitch
- type Switch
- type Television
- type TemperatureSensor
- type Thermostat
- type Valve
- type Window
- type WindowCovering
Constants ¶
View Source
const TypeAccessoryInformation = "3E"
View Source
const TypeAccessoryRuntimeInformation = "239"
View Source
const TypeAirPurifier = "BB"
View Source
const TypeAirQualitySensor = "8D"
View Source
const TypeBatteryService = "96"
View Source
const TypeCameraControl = "111"
View Source
const TypeCameraRTPStreamManagement = "110"
View Source
const TypeCameraRecordingManagement = "204"
View Source
const TypeCarbonDioxideSensor = "97"
View Source
const TypeCarbonMonoxideSensor = "7F"
View Source
const TypeContactSensor = "80"
View Source
const TypeDoor = "81"
View Source
const TypeDoorbell = "121"
View Source
const TypeFan = "40"
View Source
const TypeFanV2 = "B7"
View Source
const TypeFaucet = "D7"
View Source
const TypeFilterMaintenance = "BA"
View Source
const TypeGarageDoorOpener = "41"
View Source
const TypeHeaterCooler = "BC"
View Source
const TypeHumidifierDehumidifier = "BD"
View Source
const TypeHumiditySensor = "82"
View Source
const TypeInputSource = "D9"
View Source
const TypeIrrigationSystem = "CF"
View Source
const TypeLeakSensor = "83"
View Source
const TypeLightSensor = "84"
View Source
const TypeLightbulb = "43"
View Source
const TypeLockManagement = "44"
View Source
const TypeLockMechanism = "45"
View Source
const TypeMicrophone = "112"
View Source
const TypeMotionSensor = "85"
View Source
const TypeOccupancySensor = "86"
View Source
const TypeOutlet = "47"
View Source
const TypeSecuritySystem = "7E"
View Source
const TypeServiceLabel = "CC"
View Source
const TypeSlat = "B9"
View Source
const TypeSmokeSensor = "87"
View Source
const TypeSpeaker = "113"
View Source
const TypeStatelessProgrammableSwitch = "89"
View Source
const TypeSwitch = "49"
View Source
const TypeTelevision = "D8"
View Source
const TypeTemperatureSensor = "8A"
View Source
const TypeThermostat = "4A"
View Source
const TypeValve = "D0"
View Source
const TypeWindow = "8B"
View Source
const TypeWindowCovering = "8C"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessoryInformation ¶
type AccessoryInformation struct { *S Identify *characteristic.Identify Manufacturer *characteristic.Manufacturer Model *characteristic.Model Name *characteristic.Name SerialNumber *characteristic.SerialNumber FirmwareRevision *characteristic.FirmwareRevision }
func NewAccessoryInformation ¶
func NewAccessoryInformation() *AccessoryInformation
type AccessoryRuntimeInformation ¶
type AccessoryRuntimeInformation struct { *S Ping *characteristic.Ping }
func NewAccessoryRuntimeInformation ¶
func NewAccessoryRuntimeInformation() *AccessoryRuntimeInformation
type AirPurifier ¶
type AirPurifier struct { *S Active *characteristic.Active CurrentAirPurifierState *characteristic.CurrentAirPurifierState TargetAirPurifierState *characteristic.TargetAirPurifierState }
func NewAirPurifier ¶
func NewAirPurifier() *AirPurifier
type AirQualitySensor ¶
type AirQualitySensor struct { *S AirQuality *characteristic.AirQuality }
func NewAirQualitySensor ¶
func NewAirQualitySensor() *AirQualitySensor
type BatteryService ¶
type BatteryService struct { *S BatteryLevel *characteristic.BatteryLevel ChargingState *characteristic.ChargingState StatusLowBattery *characteristic.StatusLowBattery }
func NewBatteryService ¶
func NewBatteryService() *BatteryService
type CameraControl ¶
type CameraControl struct { *S On *characteristic.On }
func NewCameraControl ¶
func NewCameraControl() *CameraControl
type CameraRTPStreamManagement ¶
type CameraRTPStreamManagement struct { *S SupportedVideoStreamConfiguration *characteristic.SupportedVideoStreamConfiguration SupportedAudioStreamConfiguration *characteristic.SupportedAudioStreamConfiguration SupportedRTPConfiguration *characteristic.SupportedRTPConfiguration SelectedRTPStreamConfiguration *characteristic.SelectedRTPStreamConfiguration StreamingStatus *characteristic.StreamingStatus SetupEndpoints *characteristic.SetupEndpoints }
func NewCameraRTPStreamManagement ¶
func NewCameraRTPStreamManagement() *CameraRTPStreamManagement
type CameraRecordingManagement ¶
type CameraRecordingManagement struct { *S SupportedCameraRecordingConfiguration *characteristic.SupportedCameraRecordingConfiguration SupportedVideoRecordingConfiguration *characteristic.SupportedVideoRecordingConfiguration SupportedAudioRecordingConfiguration *characteristic.SupportedAudioRecordingConfiguration SelectedCameraRecordingConfiguration *characteristic.SelectedCameraRecordingConfiguration }
func NewCameraRecordingManagement ¶
func NewCameraRecordingManagement() *CameraRecordingManagement
type CarbonDioxideSensor ¶
type CarbonDioxideSensor struct { *S CarbonDioxideDetected *characteristic.CarbonDioxideDetected }
func NewCarbonDioxideSensor ¶
func NewCarbonDioxideSensor() *CarbonDioxideSensor
type CarbonMonoxideSensor ¶
type CarbonMonoxideSensor struct { *S CarbonMonoxideDetected *characteristic.CarbonMonoxideDetected }
func NewCarbonMonoxideSensor ¶
func NewCarbonMonoxideSensor() *CarbonMonoxideSensor
type ColoredLightbulb ¶
type ColoredLightbulb struct { *S On *characteristic.On Brightness *characteristic.Brightness Saturation *characteristic.Saturation Hue *characteristic.Hue }
func NewColoredLightbulb ¶
func NewColoredLightbulb() *ColoredLightbulb
type ContactSensor ¶
type ContactSensor struct { *S ContactSensorState *characteristic.ContactSensorState }
func NewContactSensor ¶
func NewContactSensor() *ContactSensor
type Cooler ¶
type Cooler struct { *S Active *characteristic.Active CurrentHeaterCoolerState *characteristic.CurrentHeaterCoolerState TargetHeaterCoolerState *characteristic.TargetHeaterCoolerState CurrentTemperature *characteristic.CurrentTemperature CoolingThresholdTemperature *characteristic.CoolingThresholdTemperature }
type Dehumidifier ¶
type Dehumidifier struct { *S CurrentRelativeHumidity *characteristic.CurrentRelativeHumidity CurrentHumidifierDehumidifierState *characteristic.CurrentHumidifierDehumidifierState TargetHumidifierDehumidifierState *characteristic.TargetHumidifierDehumidifierState Active *characteristic.Active RelativeHumidityDehumidifierThreshold *characteristic.RelativeHumidityDehumidifierThreshold }
func NewDehumidifier ¶
func NewDehumidifier() *Dehumidifier
type Door ¶
type Door struct { *S CurrentPosition *characteristic.CurrentPosition PositionState *characteristic.PositionState TargetPosition *characteristic.TargetPosition }
type Doorbell ¶
type Doorbell struct { *S ProgrammableSwitchEvent *characteristic.ProgrammableSwitchEvent }
func NewDoorbell ¶
func NewDoorbell() *Doorbell
type FanV2 ¶
type FanV2 struct { *S Active *characteristic.Active }
type Faucet ¶
type Faucet struct { *S Active *characteristic.Active }
type FilterMaintenance ¶
type FilterMaintenance struct { *S FilterChangeIndication *characteristic.FilterChangeIndication }
func NewFilterMaintenance ¶
func NewFilterMaintenance() *FilterMaintenance
type GarageDoorOpener ¶
type GarageDoorOpener struct { *S CurrentDoorState *characteristic.CurrentDoorState TargetDoorState *characteristic.TargetDoorState ObstructionDetected *characteristic.ObstructionDetected }
func NewGarageDoorOpener ¶
func NewGarageDoorOpener() *GarageDoorOpener
type Heater ¶
type Heater struct { *S Active *characteristic.Active CurrentHeaterCoolerState *characteristic.CurrentHeaterCoolerState TargetHeaterCoolerState *characteristic.TargetHeaterCoolerState CurrentTemperature *characteristic.CurrentTemperature HeatingThresholdTemperature *characteristic.HeatingThresholdTemperature }
type HeaterCooler ¶
type HeaterCooler struct { *S Active *characteristic.Active CurrentHeaterCoolerState *characteristic.CurrentHeaterCoolerState TargetHeaterCoolerState *characteristic.TargetHeaterCoolerState CurrentTemperature *characteristic.CurrentTemperature }
func NewHeaterCooler ¶
func NewHeaterCooler() *HeaterCooler
type Humidifier ¶
type Humidifier struct { *S CurrentRelativeHumidity *characteristic.CurrentRelativeHumidity CurrentHumidifierDehumidifierState *characteristic.CurrentHumidifierDehumidifierState TargetHumidifierDehumidifierState *characteristic.TargetHumidifierDehumidifierState Active *characteristic.Active RelativeHumidityHumidifierThreshold *characteristic.RelativeHumidityHumidifierThreshold }
func NewHumidifier ¶
func NewHumidifier() *Humidifier
type HumidifierDehumidifier ¶
type HumidifierDehumidifier struct { *S CurrentRelativeHumidity *characteristic.CurrentRelativeHumidity CurrentHumidifierDehumidifierState *characteristic.CurrentHumidifierDehumidifierState TargetHumidifierDehumidifierState *characteristic.TargetHumidifierDehumidifierState Active *characteristic.Active }
func NewHumidifierDehumidifier ¶
func NewHumidifierDehumidifier() *HumidifierDehumidifier
type HumiditySensor ¶
type HumiditySensor struct { *S CurrentRelativeHumidity *characteristic.CurrentRelativeHumidity }
func NewHumiditySensor ¶
func NewHumiditySensor() *HumiditySensor
type InputSource ¶
type InputSource struct { *S ConfiguredName *characteristic.ConfiguredName InputSourceType *characteristic.InputSourceType IsConfigured *characteristic.IsConfigured CurrentVisibilityState *characteristic.CurrentVisibilityState }
func NewInputSource ¶
func NewInputSource() *InputSource
type IrrigationSystem ¶
type IrrigationSystem struct { *S Active *characteristic.Active ProgramMode *characteristic.ProgramMode InUse *characteristic.InUse }
func NewIrrigationSystem ¶
func NewIrrigationSystem() *IrrigationSystem
type LeakSensor ¶
type LeakSensor struct { *S LeakDetected *characteristic.LeakDetected }
func NewLeakSensor ¶
func NewLeakSensor() *LeakSensor
type LightSensor ¶
type LightSensor struct { *S CurrentAmbientLightLevel *characteristic.CurrentAmbientLightLevel }
func NewLightSensor ¶
func NewLightSensor() *LightSensor
type Lightbulb ¶
type Lightbulb struct { *S On *characteristic.On }
func NewLightbulb ¶
func NewLightbulb() *Lightbulb
type LockManagement ¶
type LockManagement struct { *S LockControlPoint *characteristic.LockControlPoint Version *characteristic.Version }
func NewLockManagement ¶
func NewLockManagement() *LockManagement
type LockMechanism ¶
type LockMechanism struct { *S LockCurrentState *characteristic.LockCurrentState LockTargetState *characteristic.LockTargetState }
func NewLockMechanism ¶
func NewLockMechanism() *LockMechanism
type Microphone ¶
type Microphone struct { *S Volume *characteristic.Volume Mute *characteristic.Mute }
func NewMicrophone ¶
func NewMicrophone() *Microphone
type MotionSensor ¶
type MotionSensor struct { *S MotionDetected *characteristic.MotionDetected }
func NewMotionSensor ¶
func NewMotionSensor() *MotionSensor
type OccupancySensor ¶
type OccupancySensor struct { *S OccupancyDetected *characteristic.OccupancyDetected }
func NewOccupancySensor ¶
func NewOccupancySensor() *OccupancySensor
type Outlet ¶
type Outlet struct { *S On *characteristic.On OutletInUse *characteristic.OutletInUse }
type SecuritySystem ¶
type SecuritySystem struct { *S SecuritySystemCurrentState *characteristic.SecuritySystemCurrentState SecuritySystemTargetState *characteristic.SecuritySystemTargetState }
func NewSecuritySystem ¶
func NewSecuritySystem() *SecuritySystem
type ServiceLabel ¶
type ServiceLabel struct { *S ServiceLabelNamespace *characteristic.ServiceLabelNamespace }
func NewServiceLabel ¶
func NewServiceLabel() *ServiceLabel
type Slat ¶
type Slat struct { *S SlatType *characteristic.SlatType CurrentSlatState *characteristic.CurrentSlatState }
type SmokeSensor ¶
type SmokeSensor struct { *S SmokeDetected *characteristic.SmokeDetected }
func NewSmokeSensor ¶
func NewSmokeSensor() *SmokeSensor
type Speaker ¶
type Speaker struct { *S Mute *characteristic.Mute }
func NewSpeaker ¶
func NewSpeaker() *Speaker
type StatelessProgrammableSwitch ¶
type StatelessProgrammableSwitch struct { *S ProgrammableSwitchEvent *characteristic.ProgrammableSwitchEvent }
func NewStatelessProgrammableSwitch ¶
func NewStatelessProgrammableSwitch() *StatelessProgrammableSwitch
type Switch ¶
type Switch struct { *S On *characteristic.On }
type Television ¶
type Television struct { *S Active *characteristic.Active ActiveIdentifier *characteristic.ActiveIdentifier ConfiguredName *characteristic.ConfiguredName SleepDiscoveryMode *characteristic.SleepDiscoveryMode }
func NewTelevision ¶
func NewTelevision() *Television
type TemperatureSensor ¶
type TemperatureSensor struct { *S CurrentTemperature *characteristic.CurrentTemperature }
func NewTemperatureSensor ¶
func NewTemperatureSensor() *TemperatureSensor
type Thermostat ¶
type Thermostat struct { *S CurrentHeatingCoolingState *characteristic.CurrentHeatingCoolingState TargetHeatingCoolingState *characteristic.TargetHeatingCoolingState CurrentTemperature *characteristic.CurrentTemperature TargetTemperature *characteristic.TargetTemperature TemperatureDisplayUnits *characteristic.TemperatureDisplayUnits }
func NewThermostat ¶
func NewThermostat() *Thermostat
type Valve ¶
type Valve struct { *S Active *characteristic.Active InUse *characteristic.InUse ValveType *characteristic.ValveType }
type Window ¶
type Window struct { *S CurrentPosition *characteristic.CurrentPosition TargetPosition *characteristic.TargetPosition PositionState *characteristic.PositionState }
type WindowCovering ¶
type WindowCovering struct { *S CurrentPosition *characteristic.CurrentPosition TargetPosition *characteristic.TargetPosition PositionState *characteristic.PositionState }
func NewWindowCovering ¶
func NewWindowCovering() *WindowCovering
Source Files ¶
- accessory_information.go
- accessory_runtime_information.go
- air_purifier.go
- air_quality_sensor.go
- battery_service.go
- camera_control.go
- camera_recording_management.go
- camera_rtp_stream_management.go
- carbon_dioxide_sensor.go
- carbon_monoxide_sensor.go
- colored_lightbulb.go
- contact_sensor.go
- cooler.go
- dehumidifier.go
- door.go
- doorbell.go
- fan.go
- fan_v2.go
- faucet.go
- filter_maintenance.go
- garage_door_opener.go
- heater.go
- heater_cooler.go
- humidifier.go
- humidifier_dehumidifier.go
- humidity_sensor.go
- input_source.go
- irrigation_system.go
- leak_sensor.go
- light_sensor.go
- lightbulb.go
- lock_management.go
- lock_mechanism.go
- microphone.go
- motion_sensor.go
- occupancy_sensor.go
- outlet.go
- s.go
- security_system.go
- service_label.go
- slat.go
- smoke_sensor.go
- speaker.go
- stateless_programmable_switch.go
- switch.go
- television.go
- temperature_sensor.go
- thermostat.go
- valve.go
- window.go
- window_covering.go
Click to show internal directories.
Click to hide internal directories.