MCPcopy Index your code

hub / github.com/apatsufas/homebridge-tapo-p100 / functions

Functions134 in github.com/apatsufas/homebridge-tapo-p100

↓ 19 callersMethodgetDeviceInfo
(force?:boolean)
src/utils/tplinkAccessory.ts:20
↓ 19 callersMethodgetSysInfo
()
src/utils/tplinkAccessory.ts:22
↓ 18 callersMethodhandleError
(errorCode: number | string, line: string)
src/utils/p100.ts:564
↓ 15 callersMethodgetSysInfo
()
src/utils/p100.ts:560
↓ 6 callersMethoddecrypt
(data: string)
src/utils/tpLinkCipher.ts:27
↓ 6 callersMethodgetPowerConsumption
()
src/utils/tplinkAccessory.ts:26
↓ 6 callersMethodupdateState
(interval:number)
src/platformL530Accessory.ts:424
↓ 5 callersMethodencrypt
(data:string)
src/utils/tpLinkCipher.ts:20
↓ 5 callersMethodhandleKlapRequest
(payload: string)
src/utils/p100.ts:667
↓ 5 callersMethodhandleRequest
(payload: string)
src/utils/p100.ts:608
↓ 5 callersMethodreconnect
()
src/utils/p100.ts:682
↓ 5 callersMethodsendRequest
(payload: string)
src/utils/p100.ts:576
↓ 3 callersMethodraw_request
(path: string, data: Buffer, responseType: string, params?: any)
src/utils/p100.ts:248
↓ 3 callersMethodsetBrightness
(brightness:number)
src/utils/tplinkAccessory.ts:28
↓ 2 callersMethodgetColorTemp
()
src/utils/tplinkAccessory.ts:32
↓ 2 callersMethodgetEnergyUsage
()
src/utils/tplinkAccessory.ts:24
↓ 2 callersMethodgetSysInfo
()
src/utils/l520e.ts:66
↓ 2 callersMethodgetSysInfo
()
src/utils/l530.ts:58
↓ 2 callersMethodhandshake
()
src/utils/p100.ts:149
↓ 2 callersMethodhandshake_new
()
src/utils/p100.ts:314
↓ 2 callersMethodinit
(platform: TapoPlatform, updateInterval?: number)
src/platformP100Accessory.ts:36
↓ 2 callersMethodivSeqPair
()
src/utils/newTpLinkCipher.ts:95
↓ 2 callersMethodlogin
()
src/utils/p100.ts:193
↓ 2 callersMethodmime_encoder
(to_encode: string)
src/utils/tpLinkCipher.ts:15
↓ 2 callersMethodreAuthenticate
()
src/utils/p100.ts:699
↓ 2 callersMethodsetColor
(hue:number, saturation:number)
src/utils/tplinkAccessory.ts:36
↓ 2 callersMethodsetColorTemp
(color_temp:number)
src/utils/tplinkAccessory.ts:30
↓ 2 callersMethodsetSysInfo
(sysInfo: PlugSysinfo)
src/utils/p100.ts:555
↓ 2 callersMethodtoHours
(minutes: number)
src/utils/l530.ts:137
↓ 2 callersMethodtransformColorTemp
(value: number)
src/utils/l520e.ts:46
↓ 1 callersMethodcalc_auth_hash
(username: string, password: string)
src/utils/p100.ts:120
↓ 1 callersMethodcalculateColorTemp
(tapo_color_temp:number)
src/utils/l520e.ts:56
↓ 1 callersMethodcalculateColorTemp
(tapo_color_temp:number)
src/utils/tplinkAccessory.ts:34
↓ 1 callersMethodcalculateIvSeq
(local_seed: Buffer, remote_seed: Buffer, auth_hash: Buffer)
src/utils/newTpLinkCipher.ts:83
↓ 1 callersMethodcalculateKey
(local_seed: Buffer, remote_seed: Buffer, auth_hash: Buffer)
src/utils/newTpLinkCipher.ts:77
↓ 1 callersMethodcalculateSig
(local_seed: Buffer, remote_seed: Buffer, auth_hash: Buffer)
src/utils/newTpLinkCipher.ts:90
↓ 1 callersMethodcreateKeyPair
()
src/utils/p100.ts:127
↓ 1 callersMethoddecode_handshake_key
(key: string)
src/utils/p100.ts:297
↓ 1 callersMethoddiscoverDevices
* This is an example method showing how to register discovered accessories. * Accessories must only be registered once, previously created accessor
src/platform.ts:85
↓ 1 callersMethodencryptCredentials
(email: string, password: string)
src/utils/p100.ts:105
↓ 1 callersMethodgetDeviceInfo
(force?:boolean)
src/utils/p100.ts:377
↓ 1 callersMethodgetSysInfo
()
src/utils/l510e.ts:43
↓ 1 callersMethodhandshake
()
src/utils/tplinkAccessory.ts:8
↓ 1 callersMethodhandshake_new
()
src/utils/tplinkAccessory.ts:12
↓ 1 callersMethodlogin
()
src/utils/tplinkAccessory.ts:10
↓ 1 callersMethodnewReconnect
()
src/utils/p100.ts:692
↓ 1 callersFunctionparseConfig
( config: Record<string, unknown>, )
src/config.ts:94
↓ 1 callersMethodsetPowerState
(state: boolean)
src/utils/tplinkAccessory.ts:18
↓ 1 callersMethodsha_digest_username
(data: string)
src/utils/p100.ts:114
↓ 1 callersMethodturnOff
()
src/utils/p100.ts:344
↓ 1 callersMethodturnOn
()
src/utils/p100.ts:356
↓ 1 callersMethodupdateConsumption
()
src/platformP110Accessory.ts:79
↓ 1 callersMethodupdateConsumption
()
src/platformL530Accessory.ts:356
↓ 1 callersMethodupdateState
(interval:number)
src/platformL520EAccessory.ts:129
↓ 1 callersMethodupdateState
(interval:number)
src/platformL510EAccessory.ts:118
Functioncharacteristic
( Characteristic: typeof CharacteristicClass, )
src/custom-characteristics/index.ts:10
MethodconfigureAccessory
* This function is invoked when homebridge restores cached accessories from disk at startup. * It should be used to setup event handlers for charac
src/platform.ts:73
Functionconstructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformTPLinkAccessory.ts:10
Methodconstructor
( public readonly log: Logger, config: PlatformConfig, public readonly api: API, )
src/platform.ts:44
Methodconstructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformL520EAccessory.ts:13
Methodconstructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformP100Accessory.ts:13
Methodconstructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformP110Accessory.ts:15
Methodconstructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformL510EAccessory.ts:13
Methodconstructor
( public readonly log: Logger, protected readonly platform: TapoPlatform, protected readonly acces
src/platformL530Accessory.ts:16
Methodconstructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly emai
src/utils/p110.ts:10
Methodconstructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly emai
src/utils/l520e.ts:9
Methodconstructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly email: string,
src/utils/p100.ts:89
Methodconstructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly emai
src/utils/l530.ts:11
Methodconstructor
( public readonly log: Logger, public readonly ipAddress: string, public readonly emai
src/utils/l510e.ts:9
Methodconstructor
(public readonly log: Logger, b_arr: any, b_arr2: any)
src/utils/tpLinkCipher.ts:10
Methodconstructor
(localSeed: Buffer, remoteSeed: Buffer, authHash: Buffer | undefined, public readonly log: Logger)
src/utils/newTpLinkCipher.ts:15
Methodconstructor
( displayName: string, UUID: string, props?: MarkOptional<CharacteristicProps, 'format' | 'p
src/custom-characteristics/default-characteristic.ts:12
Methodconstructor
()
src/custom-characteristics/totalConsumptionCharacteristic.ts:9
Methodconstructor
()
src/custom-characteristics/resetConsumptionCharacteristic.ts:9
Methodconstructor
()
src/custom-characteristics/currentConsumptionCharacteristic.ts:9
FunctioncurrentConsumption
( DefaultCharacteristic: typeof Characteristic, )
src/custom-characteristics/currentConsumptionCharacteristic.ts:3
Methoddecrypt
(data: Buffer)
src/utils/newTpLinkCipher.ts:47
FunctiondefaultCharacteristic
( Characteristic: typeof CharacteristicClass, )
src/custom-characteristics/default-characteristic.ts:8
Methodencrypt
(data: Buffer | string)
src/utils/newTpLinkCipher.ts:23
MethodfirmwareRevision
()
src/utils/p100.ts:541
MethodgetBrightness
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL520EAccessory.ts:105
MethodgetBrightness
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL510EAccessory.ts:94
MethodgetBrightness
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:154
MethodgetColorTemp
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL520EAccessory.ts:192
MethodgetColorTemp
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:210
MethodgetColorTemp
()
src/utils/l520e.ts:50
MethodgetCurrentConsumption
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformP110Accessory.ts:102
MethodgetCurrentConsumption
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:381
MethodgetDeviceInfo
(force?:boolean)
src/utils/l520e.ts:20
MethodgetDeviceInfo
(force?:boolean)
src/utils/l530.ts:26
MethodgetDeviceInfo
(force?:boolean)
src/utils/l510e.ts:20
MethodgetEnergyUsage
()
src/utils/p110.ts:21
MethodgetEnergyUsage
()
src/utils/l530.ts:62
MethodgetHue
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:266
FunctiongetOn
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformTPLinkAccessory.ts:70
MethodgetPowerConsumption
()
src/utils/p110.ts:63
MethodgetPowerConsumption
()
src/utils/l530.ts:127
MethodgetSaturation
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:326
MethodgetTotalConsumption
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformP110Accessory.ts:121
MethodgetTotalConsumption
* Handle the "GET" requests from HomeKit * These are sent when HomeKit wants to know the current state of the accessory. *
src/platformL530Accessory.ts:396
next →1–100 of 134, ranked by callers