Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hjdhjd/homebridge-unifi-protect
/ functions
Functions
289 in github.com/hjdhjd/homebridge-unifi-protect
⨍
Functions
289
◇
Types & classes
53
↓ 88 callers
Method
hasFeature
(option: string, device?: ProtectDeviceConfigTypes | ProtectNvrConfig)
src/protect-nvr.ts:927
↓ 13 callers
Method
getFeatureNumber
(option: string)
src/protect-nvr.ts:915
↓ 13 callers
Method
stop
(rtspEntry: RtspEntry)
src/protect-livestream.ts:336
↓ 9 callers
Method
configureInfo
()
src/devices/protect-securitysystem.ts:59
↓ 9 callers
Method
debug
(message: string, ...parameters: unknown[])
src/protect-platform.ts:126
↓ 8 callers
Method
motionEventHandler
(protectDevice: ProtectDevice, detectedObjects: string[] = [], metadata?: ProtectEventMetadata)
src/protect-events.ts:276
↓ 7 callers
Method
configureStateCharacteristics
(service: Service)
src/devices/protect-sensor.ts:433
↓ 7 callers
Method
removeHomeKitDevice
(accessory: PlatformAccessory, noRemovalDelay = false)
src/protect-nvr.ts:685
↓ 6 callers
Method
updateDevice
()
src/devices/protect-camera.ts:1502
↓ 5 callers
Method
configureHints
()
src/devices/protect-camera.ts:73
↓ 5 callers
Method
findRtsp
(width: number, height: number, options?: RtspOptions)
src/devices/protect-camera.ts:1602
↓ 5 callers
Method
getDeviceById
(deviceId: string)
src/protect-nvr.ts:902
↓ 5 callers
Method
getIndex
(rtspEntry: RtspEntry)
src/protect-livestream.ts:50
↓ 5 callers
Method
getResolution
(resolution: Resolution)
src/devices/protect-camera.ts:1678
↓ 5 callers
Method
leakDetected
(type = "leakDetectedAt")
src/devices/protect-sensor.ts:486
↓ 5 callers
Method
ledLevelToBrightness
(ledLevel: number)
src/devices/protect-light.ts:228
↓ 5 callers
Method
start
(rtspEntry: RtspEntry, segmentLength = PROTECT_SEGMENT_RESOLUTION)
src/protect-livestream.ts:256
↓ 5 callers
Method
updateDevice
()
src/devices/protect-chime.ts:222
↓ 4 callers
Method
clearBuffer
()
src/protect-timeshift.ts:212
↓ 4 callers
Method
devices
(model?: T)
src/protect-nvr.ts:896
↓ 4 callers
Method
getPhysicalChimeDuration
(physicalChimeType: ProtectReservedNames)
src/devices/protect-doorbell.ts:550
↓ 4 callers
Method
updateDevice
()
src/devices/protect-doorbell.ts:523
↓ 4 callers
Method
updateRecordingActive
(active: boolean)
src/protect-record.ts:67
↓ 3 callers
Function
acquireService
(serviceType: WithUUID<typeof Service>, name = this.accessoryName, subtype?: string, onServiceCreate?: (svc: S
src/devices/protect-device.ts:152
↓ 3 callers
Method
addHomeKitDevice
(device: ProtectDeviceConfigTypes)
src/protect-nvr.ts:494
↓ 3 callers
Method
bootstrapNvr
()
src/protect-nvr.ts:115
↓ 3 callers
Method
cleanup
()
src/devices/protect-camera.ts:210
↓ 3 callers
Method
doorbellEventHandler
(protectDevice: ProtectCamera, lastRing: Nullable<number>)
src/protect-events.ts:534
↓ 3 callers
Method
getSnapshot
(request?: SnapshotRequest)
src/protect-snapshot.ts:38
↓ 3 callers
Method
login
()
src/protect-nvr.ts:200
↓ 3 callers
Method
playTone
(name: string, endpoint: string, tone?: string)
src/devices/protect-chime.ts:148
↓ 3 callers
Method
shutdown
()
src/protect-livestream.ts:227
↓ 3 callers
Method
stopTransmitting
(reason?: HDSProtocolSpecificErrorReason)
src/protect-record.ts:468
↓ 3 callers
Method
updateDevice
(configureHandlers = false)
src/devices/protect-viewer.ts:59
↓ 2 callers
Method
acquire
(rtspEntry: RtspEntry)
src/protect-livestream.ts:60
↓ 2 callers
Method
addProtectDevice
(accessory: PlatformAccessory, device: ProtectDeviceConfigTypes)
src/protect-nvr.ts:432
↓ 2 callers
Method
configureChimeSwitch
(name: string, endpoint: string, subtype: string)
src/devices/protect-chime.ts:89
↓ 2 callers
Method
configureDoorbellLcdSwitch
()
src/devices/protect-doorbell.ts:115
↓ 2 callers
Method
configureLiveviewSwitch
(switchService: Service, configureHandlers = true)
src/devices/protect-viewer.ts:108
↓ 2 callers
Method
configurePackageCamera
()
src/devices/protect-doorbell.ts:195
↓ 2 callers
Method
configureRingtoneSwitches
()
src/devices/protect-chime.ts:68
↓ 2 callers
Method
configureTamperDetection
()
src/devices/protect-camera.ts:651
↓ 2 callers
Method
configureTimeshifting
()
src/protect-record.ts:317
↓ 2 callers
Method
configureVideoDoorbell
()
src/devices/protect-camera.ts:792
↓ 2 callers
Method
configureVideoStream
()
src/devices/protect-camera.ts:926
↓ 2 callers
Method
connect
()
src/protect-nvr.ts:125
↓ 2 callers
Method
disconnect
()
src/protect-nvr.ts:172
↓ 2 callers
Method
findRtsp
()
src/devices/protect-camera-package.ts:218
↓ 2 callers
Method
findRtspEntry
(width: number, height: number, options?: RtspOptions)
src/devices/protect-camera.ts:1564
↓ 2 callers
Method
getAudioFilters
(sampleRate?: number)
src/devices/protect-camera.ts:1738
↓ 2 callers
Method
getFeatureFloat
(option: string)
src/protect-nvr.ts:909
↓ 2 callers
Method
getInitSegment
()
src/protect-timeshift.ts:264
↓ 2 callers
Method
getLast
(duration: number)
src/protect-timeshift.ts:277
↓ 2 callers
Method
getLiveviewCameras
(liveviewName: string)
src/devices/protect-liveviews.ts:354
↓ 2 callers
Method
is4x3AspectRatio
(width: number, height: number)
src/devices/protect-camera.ts:1630
↓ 2 callers
Method
logFeature
(option: string, message: string)
src/protect-nvr.ts:933
↓ 2 callers
Method
restartLivestream
(index: string, isExternal: boolean, retryRestart = false)
src/protect-livestream.ts:104
↓ 2 callers
Method
setChimeVolume
(value: number)
src/devices/protect-doorbell.ts:874
↓ 2 callers
Method
setMessage
(payload: DeepPartial<ProtectCameraLcdMessageConfig> = {})
src/devices/protect-doorbell.ts:694
↓ 2 callers
Method
setSecurityAlarm
(value: boolean)
src/devices/protect-securitysystem.ts:441
↓ 2 callers
Method
setViewer
(newLiveview: Nullable<string>)
src/devices/protect-viewer.ts:198
↓ 2 callers
Method
snapFromFfmpeg
(ffmpegInputOptions: string[], request?: SnapshotRequest, buffer?: Buffer)
src/protect-snapshot.ts:229
↓ 2 callers
Method
snapFromRtsp
(request?: SnapshotRequest)
src/protect-snapshot.ts:193
↓ 2 callers
Method
startTransmitting
(isRestart = false)
src/protect-record.ts:372
↓ 2 callers
Method
stop
()
src/protect-timeshift.ts:172
↓ 2 callers
Method
stopStream
(sessionId: string)
src/protect-stream.ts:1070
↓ 2 callers
Method
syncDevices
()
src/protect-nvr.ts:410
↓ 2 callers
Method
transmitStop
()
src/protect-timeshift.ts:243
↓ 2 callers
Method
updateBatteryStatus
()
src/devices/protect-sensor.ts:420
↓ 2 callers
Method
updateDevice
(isInitialized = true)
src/devices/protect-sensor.ts:81
↓ 2 callers
Method
updateDevice
(configureHandler = false)
src/devices/protect-nvr-systeminfo.ts:133
↓ 2 callers
Method
updateLcdSwitch
(payload: DeepPartial<ProtectCameraLcdMessageConfig>)
src/devices/protect-doorbell.ts:643
↓ 2 callers
Method
updateLiveviewSwitchState
(configureHandlers = false)
src/devices/protect-viewer.ts:84
↓ 2 callers
Method
updateUfp
(ufp: DeviceType, payload: unknown)
src/protect-events.ts:58
↓ 2 callers
Function
validService
(serviceType: WithUUID<typeof Service>, validate: boolean, subtype?: string)
src/devices/protect-device.ts:159
↓ 1 callers
Method
#registerGetDevices
()
homebridge-ui/server.js:45
↓ 1 callers
Method
#registerGetErrorMessage
()
homebridge-ui/server.js:38
↓ 1 callers
Method
#registerGetOptions
()
homebridge-ui/server.js:112
↓ 1 callers
Method
acquireSnapshot
(request?: SnapshotRequest)
src/protect-snapshot.ts:67
↓ 1 callers
Method
addLiveviewSwitch
(newLiveviewIds: string[])
src/devices/protect-viewer.ts:166
↓ 1 callers
Method
brightnessToLedLevel
(brightness: number)
src/devices/protect-light.ts:222
↓ 1 callers
Method
cleanupDevices
()
src/protect-nvr.ts:624
↓ 1 callers
Method
configureAccessFeatures
()
src/devices/protect-camera.ts:468
↓ 1 callers
Method
configureAccessory
()
src/devices/protect-nvr-systeminfo.ts:36
↓ 1 callers
Method
configureAlarmSoundSensor
()
src/devices/protect-sensor.ts:172
↓ 1 callers
Method
configureAmbientLightSensor
()
src/devices/protect-camera.ts:365
↓ 1 callers
Method
configureAmbientLightSensor
()
src/devices/protect-sensor.ts:207
↓ 1 callers
Method
configureAuthSensor
()
src/devices/protect-doorbell.ts:382
↓ 1 callers
Method
configureBatteryService
()
src/devices/protect-sensor.ts:61
↓ 1 callers
Method
configureCameraDetails
()
src/devices/protect-camera.ts:812
↓ 1 callers
Method
configureContactSensor
()
src/devices/protect-sensor.ts:246
↓ 1 callers
Method
configureCrop
()
src/devices/protect-camera.ts:874
↓ 1 callers
Method
configureDevice
()
src/devices/protect-camera.ts:113
↓ 1 callers
Method
configureDevice
()
src/devices/protect-light.ts:29
↓ 1 callers
Method
configureDevice
()
src/devices/protect-securitysystem.ts:28
↓ 1 callers
Method
configureDevice
()
src/devices/protect-sensor.ts:32
↓ 1 callers
Method
configureDevice
()
src/devices/protect-viewer.ts:27
↓ 1 callers
Method
configureDevice
()
src/devices/protect-chime.ts:29
↓ 1 callers
Method
configureDoorbellMuteSwitch
()
src/devices/protect-camera.ts:675
↓ 1 callers
Method
configureDoorbellTrigger
()
src/devices/protect-camera.ts:716
next →
1–100 of 289, ranked by callers