💾 Archived View for code.pfad.fr › gohmekit › hapip › characteristic › service captured on 2023-12-28 at 15:37:35. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

🚧 View Differences

-=-=-=-=-=-=-

service package - code.pfad.fr/gohmekit

import "code.pfad.fr/gohmekit/hapip/characteristic/service"

Constants

const AccessoryInformation_Type = "3E"
const AirPurifier_Type = "BB"
const AirQualitySensor_Type = "8D"
const BatteryService_Type = "96"
const CameraRTPStreamManagement_Type = "110"
const CameraRecordingManagement_Type = "204"
const CarbonDioxideSensor_Type = "97"
const CarbonMonoxideSensor_Type = "7F"
const ContactSensor_Type = "80"
const Door_Type = "81"
const Doorbell_Type = "121"
const FanV2_Type = "B7"
const Fan_Type = "40"
const Faucet_Type = "D7"
const FilterMaintenance_Type = "BA"
const GarageDoorOpener_Type = "41"
const HAPProtocolInformation_Type = "A2"
const HeaterCooler_Type = "BC"
const HumidifierDehumidifier_Type = "BD"
const HumiditySensor_Type = "82"
const InputSource_Type = "D9"
const IrrigationSystem_Type = "CF"
const LeakSensor_Type = "83"
const LightSensor_Type = "84"
const Lightbulb_Type = "43"
const LockManagement_Type = "44"
const LockMechanism_Type = "45"
const Microphone_Type = "112"
const MotionSensor_Type = "85"
const OccupancySensor_Type = "86"
const Outlet_Type = "47"
const SecuritySystem_Type = "7E"
const ServiceLabel_Type = "CC"
const Slat_Type = "B9"
const SmokeSensor_Type = "87"
const Speaker_Type = "113"
const StatelessProgrammableSwitch_Type = "89"
const Switch_Type = "49"
const Television_Type = "D8"
const TemperatureSensor_Type = "8A"
const Thermostat_Type = "4A"
const Valve_Type = "D0"
const WindowCovering_Type = "8C"
const Window_Type = "8B"

Functions

func AccessoryInformation

func AccessoryInformation(identify hapip.Characteristic, manufacturer hapip.Characteristic, model hapip.Characteristic, name hapip.Characteristic, serialNumber hapip.Characteristic, firmwareRevision hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

AccessoryInformation represents a Accessory Information service (3E) Required characteristics:

Optional characteristics:

UUID: 0000003E-0000-1000-8000-0026BB765291

func AirPurifier

func AirPurifier(active hapip.Characteristic, currentAirPurifierState hapip.Characteristic, targetAirPurifierState hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

AirPurifier represents a Air Purifier service (BB) Required characteristics:

Optional characteristics:

UUID: 000000BB-0000-1000-8000-0026BB765291

func AirQualitySensor

func AirQualitySensor(airQuality hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

AirQualitySensor represents a Air Quality Sensor service (8D) Required characteristics:

Optional characteristics:

UUID: 0000008D-0000-1000-8000-0026BB765291

func BatteryService

func BatteryService(batteryLevel hapip.Characteristic, chargingState hapip.Characteristic, statusLowBattery hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

BatteryService represents a Battery Service service (96) Required characteristics:

Optional characteristics:

UUID: 00000096-0000-1000-8000-0026BB765291

func CameraRTPStreamManagement

func CameraRTPStreamManagement(supportedVideoStreamConfiguration hapip.Characteristic, supportedAudioStreamConfiguration hapip.Characteristic, supportedRTPConfiguration hapip.Characteristic, selectedRTPStreamConfiguration hapip.Characteristic, streamingStatus hapip.Characteristic, setupEndpoints hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

CameraRTPStreamManagement represents a Camera RTP Stream Management service (110) Required characteristics:

Optional characteristics:

UUID: 00000110-0000-1000-8000-0026BB765291

func CameraRecordingManagement

func CameraRecordingManagement(supportedCameraRecordingConfiguration hapip.Characteristic, supportedVideoRecordingConfiguration hapip.Characteristic, supportedAudioRecordingConfiguration hapip.Characteristic, selectedCameraRecordingConfiguration hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

CameraRecordingManagement represents a Camera Recording Management service (204) Required characteristics:

UUID: 00000204-0000-1000-8000-0026BB765291

func CarbonDioxideSensor

func CarbonDioxideSensor(carbonDioxideDetected hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

CarbonDioxideSensor represents a Carbon Dioxide Sensor service (97) Required characteristics:

Optional characteristics:

UUID: 00000097-0000-1000-8000-0026BB765291

func CarbonMonoxideSensor

func CarbonMonoxideSensor(carbonMonoxideDetected hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

CarbonMonoxideSensor represents a Carbon Monoxide Sensor service (7F) Required characteristics:

Optional characteristics:

UUID: 0000007F-0000-1000-8000-0026BB765291

func ContactSensor

func ContactSensor(contactSensorState hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

ContactSensor represents a Contact Sensor service (80) Required characteristics:

Optional characteristics:

UUID: 00000080-0000-1000-8000-0026BB765291

func Door

func Door(currentPosition hapip.Characteristic, positionState hapip.Characteristic, targetPosition hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Door represents a Door service (81) Required characteristics:

Optional characteristics:

UUID: 00000081-0000-1000-8000-0026BB765291

func Doorbell

func Doorbell(programmableSwitchEvent hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Doorbell represents a Doorbell service (121) Required characteristics:

Optional characteristics:

UUID: 00000121-0000-1000-8000-0026BB765291

func Fan

func Fan(on hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Fan represents a Fan service (40) Required characteristics:

Optional characteristics:

UUID: 00000040-0000-1000-8000-0026BB765291

func FanV2

func FanV2(active hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

FanV2 represents a Fan v2 service (B7) Required characteristics:

Optional characteristics:

UUID: 000000B7-0000-1000-8000-0026BB765291

func Faucet

func Faucet(active hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Faucet represents a Faucet service (D7) Required characteristics:

Optional characteristics:

UUID: 000000D7-0000-1000-8000-0026BB765291

func FilterMaintenance

func FilterMaintenance(filterChangeIndication hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

FilterMaintenance represents a Filter Maintenance service (BA) Required characteristics:

Optional characteristics:

UUID: 000000BA-0000-1000-8000-0026BB765291

func GarageDoorOpener

func GarageDoorOpener(currentDoorState hapip.Characteristic, targetDoorState hapip.Characteristic, obstructionDetected hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

GarageDoorOpener represents a Garage Door Opener service (41) Required characteristics:

Optional characteristics:

UUID: 00000041-0000-1000-8000-0026BB765291

func HAPProtocolInformation

func HAPProtocolInformation(version hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

HAPProtocolInformation represents a HAP Protocol Information (A2) Required characteristics:

UUID: 000000A2-0000-1000-8000-0026BB765291.

func HeaterCooler

func HeaterCooler(active hapip.Characteristic, currentHeaterCoolerState hapip.Characteristic, targetHeaterCoolerState hapip.Characteristic, currentTemperature hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

HeaterCooler represents a Heater Cooler service (BC) Required characteristics:

Optional characteristics:

UUID: 000000BC-0000-1000-8000-0026BB765291

func HumidifierDehumidifier

func HumidifierDehumidifier(currentRelativeHumidity hapip.Characteristic, currentHumidifierDehumidifierState hapip.Characteristic, targetHumidifierDehumidifierState hapip.Characteristic, active hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

HumidifierDehumidifier represents a Humidifier Dehumidifier service (BD) Required characteristics:

Optional characteristics:

UUID: 000000BD-0000-1000-8000-0026BB765291

func HumiditySensor

func HumiditySensor(currentRelativeHumidity hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

HumiditySensor represents a Humidity Sensor service (82) Required characteristics:

Optional characteristics:

UUID: 00000082-0000-1000-8000-0026BB765291

func InputSource

func InputSource(configuredName hapip.Characteristic, inputSourceType hapip.Characteristic, isConfigured hapip.Characteristic, currentVisibilityState hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

InputSource represents a Input Source service (D9) Required characteristics:

Optional characteristics:

UUID: 000000D9-0000-1000-8000-0026BB765291

func IrrigationSystem

func IrrigationSystem(active hapip.Characteristic, programMode hapip.Characteristic, inUse hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

IrrigationSystem represents a Irrigation System service (CF) Required characteristics:

Optional characteristics:

UUID: 000000CF-0000-1000-8000-0026BB765291

func LeakSensor

func LeakSensor(leakDetected hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

LeakSensor represents a Leak Sensor service (83) Required characteristics:

Optional characteristics:

UUID: 00000083-0000-1000-8000-0026BB765291

func LightSensor

func LightSensor(currentAmbientLightLevel hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

LightSensor represents a Light Sensor service (84) Required characteristics:

Optional characteristics:

UUID: 00000084-0000-1000-8000-0026BB765291

func Lightbulb

func Lightbulb(on hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Lightbulb represents a Lightbulb service (43) Required characteristics:

Optional characteristics:

UUID: 00000043-0000-1000-8000-0026BB765291

func LockManagement

func LockManagement(lockControlPoint hapip.Characteristic, version hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

LockManagement represents a Lock Management service (44) Required characteristics:

Optional characteristics:

UUID: 00000044-0000-1000-8000-0026BB765291

func LockMechanism

func LockMechanism(lockCurrentState hapip.Characteristic, lockTargetState hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

LockMechanism represents a Lock Mechanism service (45) Required characteristics:

Optional characteristics:

UUID: 00000045-0000-1000-8000-0026BB765291

func Microphone

func Microphone(volume hapip.Characteristic, mute hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Microphone represents a Microphone service (112) Required characteristics:

Optional characteristics:

UUID: 00000112-0000-1000-8000-0026BB765291

func MotionSensor

func MotionSensor(motionDetected hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

MotionSensor represents a Motion Sensor service (85) Required characteristics:

Optional characteristics:

UUID: 00000085-0000-1000-8000-0026BB765291

func OccupancySensor

func OccupancySensor(occupancyDetected hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

OccupancySensor represents a Occupancy Sensor service (86) Required characteristics:

Optional characteristics:

UUID: 00000086-0000-1000-8000-0026BB765291

func Outlet

func Outlet(on hapip.Characteristic, outletInUse hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Outlet represents a Outlet service (47) Required characteristics:

Optional characteristics:

UUID: 00000047-0000-1000-8000-0026BB765291

func SecuritySystem

func SecuritySystem(securitySystemCurrentState hapip.Characteristic, securitySystemTargetState hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

SecuritySystem represents a Security System service (7E) Required characteristics:

Optional characteristics:

UUID: 0000007E-0000-1000-8000-0026BB765291

func ServiceLabel

func ServiceLabel(serviceLabelNamespace hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

ServiceLabel represents a Service Label service (CC) Required characteristics:

Optional characteristics:

UUID: 000000CC-0000-1000-8000-0026BB765291

func Slat

func Slat(slatType hapip.Characteristic, currentSlatState hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Slat represents a Slat service (B9) Required characteristics:

Optional characteristics:

UUID: 000000B9-0000-1000-8000-0026BB765291

func SmokeSensor

func SmokeSensor(smokeDetected hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

SmokeSensor represents a Smoke Sensor service (87) Required characteristics:

Optional characteristics:

UUID: 00000087-0000-1000-8000-0026BB765291

func Speaker

func Speaker(mute hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Speaker represents a Speaker service (113) Required characteristics:

Optional characteristics:

UUID: 00000113-0000-1000-8000-0026BB765291

func StatelessProgrammableSwitch

func StatelessProgrammableSwitch(programmableSwitchEvent hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

StatelessProgrammableSwitch represents a Stateless Programmable Switch service (89) Required characteristics:

Optional characteristics:

UUID: 00000089-0000-1000-8000-0026BB765291

func Switch

func Switch(on hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Switch represents a Switch service (49) Required characteristics:

Optional characteristics:

UUID: 00000049-0000-1000-8000-0026BB765291

func Television

func Television(active hapip.Characteristic, activeIdentifier hapip.Characteristic, configuredName hapip.Characteristic, sleepDiscoveryMode hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Television represents a Television service (D8) Required characteristics:

Optional characteristics:

UUID: 000000D8-0000-1000-8000-0026BB765291

func TemperatureSensor

func TemperatureSensor(currentTemperature hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

TemperatureSensor represents a Temperature Sensor service (8A) Required characteristics:

Optional characteristics:

UUID: 0000008A-0000-1000-8000-0026BB765291

func Thermostat

func Thermostat(currentHeatingCoolingState hapip.Characteristic, targetHeatingCoolingState hapip.Characteristic, currentTemperature hapip.Characteristic, targetTemperature hapip.Characteristic, temperatureDisplayUnits hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Thermostat represents a Thermostat service (4A) Required characteristics:

Optional characteristics:

UUID: 0000004A-0000-1000-8000-0026BB765291

func Valve

func Valve(active hapip.Characteristic, inUse hapip.Characteristic, valveType hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Valve represents a Valve service (D0) Required characteristics:

Optional characteristics:

UUID: 000000D0-0000-1000-8000-0026BB765291

func Window

func Window(currentPosition hapip.Characteristic, targetPosition hapip.Characteristic, positionState hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

Window represents a Window service (8B) Required characteristics:

Optional characteristics:

UUID: 0000008B-0000-1000-8000-0026BB765291

func WindowCovering

func WindowCovering(currentPosition hapip.Characteristic, targetPosition hapip.Characteristic, positionState hapip.Characteristic, optional ...hapip.Characteristic) characteristic.Service

WindowCovering represents a Window Covering service (8C) Required characteristics:

Optional characteristics:

UUID: 0000008C-0000-1000-8000-0026BB765291

Files

apple_service_gen.go

missing_service.go

Directories

accessory

Breadcrumb

code.pfad.fr/gohmekit/hapip/characteristic

code.pfad.fr/gohmekit/hapip

code.pfad.fr/gohmekit